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

#include <OgreLodData.h>

+ Collaboration diagram for Ogre::LodData:

Classes

struct  Edge
 
struct  IndexBufferInfo
 
union  IndexBufferPointer
 
struct  Triangle
 
struct  Vertex
 
struct  VertexEqual
 
struct  VertexHash
 

Public Types

typedef multimap< Real, Vertex * >
::type 
CollapseCostHeap
 
typedef vector
< IndexBufferInfo >::type 
IndexBufferInfoList
 
typedef vector< Triangle >::type TriangleList
 
typedef HashSet< Vertex
*, VertexHash, VertexEqual
UniqueVertexSet
 
typedef VectorSet< Edge, 8 > VEdges
 
typedef vector< Vertex >::type VertexList
 
typedef VectorSet< Triangle *, 7 > VTriangles
 

Public Member Functions

 LodData ()
 

Static Public Member Functions

template<typename T , typename A >
static size_t getVectorIDFromPointer (const std::vector< T, A > &vec, const T *pointer)
 

Public Attributes

CollapseCostHeap mCollapseCostHeap
 Makes possible to get the vertices with the smallest collapse cost. More...
 
IndexBufferInfoList mIndexBufferInfoList
 
Real mMeshBoundingSphereRadius
 
TriangleList mTriangleList
 
UniqueVertexSet mUniqueVertexSet
 Provides position based vertex lookup. Position is the real identifier of a vertex. More...
 
bool mUseVertexNormals
 
VertexList mVertexList
 

Static Public Attributes

static const Real NEVER_COLLAPSE_COST
 
static const Real UNINITIALIZED_COLLAPSE_COST
 

Detailed Description

Definition at line 47 of file OgreLodData.h.

Member Typedef Documentation

Definition at line 61 of file OgreLodData.h.

Definition at line 133 of file OgreLodData.h.

Definition at line 59 of file OgreLodData.h.

Definition at line 63 of file OgreLodData.h.

Definition at line 56 of file OgreLodData.h.

Definition at line 64 of file OgreLodData.h.

Constructor & Destructor Documentation

Ogre::LodData::LodData ( )
inline

Definition at line 162 of file OgreLodData.h.

Member Function Documentation

template<typename T , typename A >
static size_t Ogre::LodData::getVectorIDFromPointer ( const std::vector< T, A > &  vec,
const T *  pointer 
)
inlinestatic

Member Data Documentation

CollapseCostHeap Ogre::LodData::mCollapseCostHeap

Makes possible to get the vertices with the smallest collapse cost.

Definition at line 142 of file OgreLodData.h.

IndexBufferInfoList Ogre::LodData::mIndexBufferInfoList
Real Ogre::LodData::mMeshBoundingSphereRadius

Definition at line 152 of file OgreLodData.h.

TriangleList Ogre::LodData::mTriangleList
UniqueVertexSet Ogre::LodData::mUniqueVertexSet

Provides position based vertex lookup. Position is the real identifier of a vertex.

Definition at line 136 of file OgreLodData.h.

bool Ogre::LodData::mUseVertexNormals

Definition at line 153 of file OgreLodData.h.

VertexList Ogre::LodData::mVertexList

Definition at line 138 of file OgreLodData.h.

const Real Ogre::LodData::NEVER_COLLAPSE_COST
static

Definition at line 49 of file OgreLodData.h.

const Real Ogre::LodData::UNINITIALIZED_COLLAPSE_COST
static

Definition at line 50 of file OgreLodData.h.


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