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

#include <OgreLodInputProviderBuffer.h>

+ Inheritance diagram for Ogre::LodInputProviderBuffer:
+ Collaboration diagram for Ogre::LodInputProviderBuffer:

Public Member Functions

 LodInputProviderBuffer (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, LodIndexBuffer &indexBuffer, 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, LodVertexBuffer &vertexBuffer, 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

LodInputBuffer mBuffer
 
VertexLookupList mSharedVertexLookup
 
VertexLookupList mVertexLookup
 

Detailed Description

Definition at line 42 of file OgreLodInputProviderBuffer.h.

Member Typedef Documentation

Constructor & Destructor Documentation

Ogre::LodInputProviderBuffer::LodInputProviderBuffer ( MeshPtr  mesh)

Member Function Documentation

void Ogre::LodInputProviderBuffer::addIndexData ( LodData data,
LodIndexBuffer indexBuffer,
bool  useSharedVertexLookup,
unsigned short  submeshID 
)
protected
void Ogre::LodInputProvider::addTriangleToEdges ( LodData data,
LodData::Triangle triangle 
)
protectedinherited
void Ogre::LodInputProviderBuffer::addVertexData ( LodData data,
LodVertexBuffer vertexBuffer,
bool  useSharedVertexLookup 
)
protected
virtual void Ogre::LodInputProviderBuffer::initData ( LodData data)
virtual

Called when the data should be filled with the input.

Implements Ogre::LodInputProvider.

void Ogre::LodInputProviderBuffer::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::LodInputProviderBuffer::tuneContainerSize ( LodData data)
protected

Member Data Documentation

LodInputBuffer Ogre::LodInputProviderBuffer::mBuffer
protected

Definition at line 52 of file OgreLodInputProviderBuffer.h.

VertexLookupList Ogre::LodInputProviderBuffer::mSharedVertexLookup
protected

Definition at line 56 of file OgreLodInputProviderBuffer.h.

VertexLookupList Ogre::LodInputProviderBuffer::mVertexLookup
protected

Definition at line 57 of file OgreLodInputProviderBuffer.h.


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