OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::LodInputProviderMesh Class Reference

#include <OgreLodInputProviderMesh.h>

+ Inheritance diagram for Ogre::LodInputProviderMesh:
+ Collaboration diagram for Ogre::LodInputProviderMesh:

Public Member Functions

 LodInputProviderMesh (MeshPtr mesh)
 
virtual void initData (LodData *data)
 Called when the data should be filled with the input. More...
 

Protected Types

typedef vector
< LodData::Vertex * >::type 
VertexLookupList
 

Protected Member Functions

void addIndexData (LodData *data, IndexData *indexData, bool useSharedVertexLookup, unsigned short submeshID)
 
template<typename IndexType >
void addIndexDataImpl (LodData *data, IndexType *iPos, const IndexType *iEnd, VertexLookupList &lookup, unsigned short submeshID)
 
void addTriangleToEdges (LodData *data, LodData::Triangle *triangle)
 
void addVertexData (LodData *data, VertexData *vertexData, bool useSharedVertexLookup)
 
void initialize (LodData *data)
 
bool isDuplicateTriangle (LodData::Triangle *triangle, LodData::Triangle *triangle2)
 
LodData::TriangleisDuplicateTriangle (LodData::Triangle *triangle)
 
void printTriangle (LodData::Triangle *triangle, stringstream &str)
 
void tuneContainerSize (LodData *data)
 

Protected Attributes

MeshPtr mMesh
 
VertexLookupList mSharedVertexLookup
 
VertexLookupList mVertexLookup
 

Detailed Description

Definition at line 42 of file OgreLodInputProviderMesh.h.

Member Typedef Documentation

Constructor & Destructor Documentation

Ogre::LodInputProviderMesh::LodInputProviderMesh ( MeshPtr  mesh)

Member Function Documentation

void Ogre::LodInputProviderMesh::addIndexData ( LodData data,
IndexData indexData,
bool  useSharedVertexLookup,
unsigned short  submeshID 
)
protected
void Ogre::LodInputProvider::addTriangleToEdges ( LodData data,
LodData::Triangle triangle 
)
protectedinherited
void Ogre::LodInputProviderMesh::addVertexData ( LodData data,
VertexData vertexData,
bool  useSharedVertexLookup 
)
protected
virtual void Ogre::LodInputProviderMesh::initData ( LodData data)
virtual

Called when the data should be filled with the input.

Implements Ogre::LodInputProvider.

void Ogre::LodInputProviderMesh::initialize ( LodData data)
protected
bool Ogre::LodInputProvider::isDuplicateTriangle ( LodData::Triangle triangle,
LodData::Triangle triangle2 
)
protectedinherited
LodData::Triangle* Ogre::LodInputProvider::isDuplicateTriangle ( LodData::Triangle triangle)
protectedinherited
void Ogre::LodInputProvider::printTriangle ( LodData::Triangle triangle,
stringstream str 
)
protectedinherited
void Ogre::LodInputProviderMesh::tuneContainerSize ( LodData data)
protected

Member Data Documentation

MeshPtr Ogre::LodInputProviderMesh::mMesh
protected

Definition at line 55 of file OgreLodInputProviderMesh.h.

VertexLookupList Ogre::LodInputProviderMesh::mSharedVertexLookup
protected

Definition at line 53 of file OgreLodInputProviderMesh.h.

VertexLookupList Ogre::LodInputProviderMesh::mVertexLookup
protected

Definition at line 54 of file OgreLodInputProviderMesh.h.


The documentation for this class was generated from the following file: