#include <OgreEdgeListBuilder.h>
Public Types | |
typedef std::vector< Vector4, AlignedAllocator< Vector4 > > | TriangleFaceNormalList |
typedef std::vector< char > | TriangleLightFacingList |
typedef std::vector< Triangle > | TriangleList |
typedef std::vector< Edge > | EdgeList |
typedef std::vector< EdgeGroup > | EdgeGroupList |
Public Member Functions | |
void | updateTriangleLightFacing (const Vector4 &lightPos) |
Calculate the light facing state of the triangles in this edge list. | |
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. | |
void | log (Log *log) |
Public Attributes | |
TriangleList | triangles |
Main triangles array, stores all triangles of this edge list. | |
TriangleFaceNormalList | triangleFaceNormals |
All triangle face normals. | |
TriangleLightFacingList | triangleLightFacings |
Triangle light facing states. | |
EdgeGroupList | edgeGroups |
All edge groups of this edge list. | |
bool | isClosed |
Flag indicate the mesh is manifold. | |
Classes | |
struct | Edge |
Edge data. More... | |
struct | EdgeGroup |
A group of edges sharing the same vertex data. More... | |
struct | Triangle |
Basic triangle structure. More... |
Definition at line 47 of file OgreEdgeListBuilder.h.
|
Definition at line 108 of file OgreEdgeListBuilder.h. |
|
Definition at line 87 of file OgreEdgeListBuilder.h. |
|
Definition at line 79 of file OgreEdgeListBuilder.h. |
|
Definition at line 84 of file OgreEdgeListBuilder.h. |
|
Definition at line 86 of file OgreEdgeListBuilder.h. |
|
|
|
Updates the face normals for this edge list based on (changed) position information, useful for animated objects.
|
|
Calculate the light facing state of the triangles in this edge list.
|
|
All edge groups of this edge list.
Definition at line 119 of file OgreEdgeListBuilder.h. |
|
Flag indicate the mesh is manifold.
Definition at line 121 of file OgreEdgeListBuilder.h. |
|
All triangle face normals. It should be 1:1 with triangles. Definition at line 115 of file OgreEdgeListBuilder.h. |
|
Triangle light facing states. It should be 1:1 with triangles. Definition at line 117 of file OgreEdgeListBuilder.h. |
|
Main triangles array, stores all triangles of this edge list. Note that triangles are grouping against edge group. Definition at line 113 of file OgreEdgeListBuilder.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Thu Mar 6 09:46:41 2008