This class contains the information required to describe the edge connectivity of a given set of vertices and indexes. More...
#include <OgreEdgeListBuilder.h>
Classes | |
struct | Edge |
Edge data. More... | |
struct | EdgeGroup |
A group of edges sharing the same vertex data. More... | |
struct | Triangle |
Basic triangle structure. More... | |
Public Types | |
typedef vector< EdgeGroup >::type | EdgeGroupList |
typedef vector< Edge >::type | EdgeList |
typedef std::vector< Vector4, STLAllocator< Vector4, CategorisedAlignAllocPolicy < MEMCATEGORY_GEOMETRY > > > | TriangleFaceNormalList |
typedef vector< char >::type | TriangleLightFacingList |
typedef vector< Triangle >::type | TriangleList |
Public Member Functions | |
void | log (Log *log) |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info More... | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *ptr) |
placement operator new More... | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info More... | |
void * | operator new[] (size_t sz) |
void | updateFaceNormals (size_t vertexSet, const HardwareVertexBufferSharedPtr &positionBuffer) |
Updates the face normals for this edge list based on (changed) position information, useful for animated objects. More... | |
void | updateTriangleLightFacing (const Vector4 &lightPos) |
Calculate the light facing state of the triangles in this edge list. More... | |
Public Attributes | |
EdgeGroupList | edgeGroups |
All edge groups of this edge list. More... | |
bool | isClosed |
Flag indicate the mesh is manifold. More... | |
TriangleFaceNormalList | triangleFaceNormals |
All triangle face normals. More... | |
TriangleLightFacingList | triangleLightFacings |
Triangle light facing states. More... | |
TriangleList | triangles |
Main triangles array, stores all triangles of this edge list. More... | |
This class contains the information required to describe the edge connectivity of a given set of vertices and indexes.
Definition at line 51 of file OgreEdgeListBuilder.h.
typedef vector<EdgeGroup>::type Ogre::EdgeData::EdgeGroupList |
Definition at line 114 of file OgreEdgeListBuilder.h.
typedef vector<Edge>::type Ogre::EdgeData::EdgeList |
Definition at line 93 of file OgreEdgeListBuilder.h.
typedef std::vector<Vector4, STLAllocator<Vector4, CategorisedAlignAllocPolicy<MEMCATEGORY_GEOMETRY> > > Ogre::EdgeData::TriangleFaceNormalList |
Definition at line 85 of file OgreEdgeListBuilder.h.
typedef vector<char>::type Ogre::EdgeData::TriangleLightFacingList |
Definition at line 90 of file OgreEdgeListBuilder.h.
typedef vector<Triangle>::type Ogre::EdgeData::TriangleList |
Definition at line 92 of file OgreEdgeListBuilder.h.
void Ogre::EdgeData::log | ( | Log * | log | ) |
|
inlineinherited |
Definition at line 95 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 101 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 107 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 112 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 118 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
operator new, with debug line info
Definition at line 67 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 72 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
placement operator new
Definition at line 78 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
array operator new, with debug line info
Definition at line 85 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 90 of file OgreMemoryAllocatedObject.h.
void Ogre::EdgeData::updateFaceNormals | ( | size_t | vertexSet, |
const HardwareVertexBufferSharedPtr & | positionBuffer | ||
) |
Updates the face normals for this edge list based on (changed) position information, useful for animated objects.
vertexSet | The vertex set we are updating |
positionBuffer | The updated position buffer, must contain ONLY xyz |
void Ogre::EdgeData::updateTriangleLightFacing | ( | const Vector4 & | lightPos | ) |
Calculate the light facing state of the triangles in this edge list.
lightPos | 4D position of the light in object space, note that for directional lights (which have no position), the w component is 0 and the x/y/z position are the direction. |
EdgeGroupList Ogre::EdgeData::edgeGroups |
All edge groups of this edge list.
Definition at line 125 of file OgreEdgeListBuilder.h.
bool Ogre::EdgeData::isClosed |
Flag indicate the mesh is manifold.
Definition at line 127 of file OgreEdgeListBuilder.h.
TriangleFaceNormalList Ogre::EdgeData::triangleFaceNormals |
All triangle face normals.
It should be 1:1 with triangles.
Definition at line 121 of file OgreEdgeListBuilder.h.
TriangleLightFacingList Ogre::EdgeData::triangleLightFacings |
Triangle light facing states.
It should be 1:1 with triangles.
Definition at line 123 of file OgreEdgeListBuilder.h.
TriangleList Ogre::EdgeData::triangles |
Main triangles array, stores all triangles of this edge list.
Note that triangles are grouping against edge group.
Definition at line 119 of file OgreEdgeListBuilder.h.