#include <OgreEdgeListBuilder.h>
Public Methods | |
EdgeListBuilder () | |
virtual | ~EdgeListBuilder () |
void | addVertexData (const VertexData *vertexData) |
Add a set of vertex geometry data to the edge builder. | |
void | addIndexData (const IndexData *indexData, size_t vertexSet=0, RenderOperation::OperationType opType=RenderOperation::OT_TRIANGLE_LIST) |
Add a set of index geometry data to the edge builder. | |
EdgeData * | build (void) |
Builds the edge information based on the information built up so far. | |
void | log (Log *l) |
Debugging method. | |
Protected Types | |
typedef std::vector< const VertexData * > | VertexDataList |
typedef std::vector< const IndexData * > | IndexDataList |
typedef std::vector< CommonVertex > | CommonVertexList |
typedef std::vector< RenderOperation::OperationType > | OperationTypeList |
Protected Methods | |
void | buildTrianglesEdges (size_t indexSet, size_t vertexSet) |
void | connectEdges (void) |
EdgeData::Edge * | findEdge (size_t sharedIndex1, size_t sharedIndex2) |
size_t | findOrCreateCommonVertex (const Vector3 &vec, size_t vertexSet) |
Finds an existing common vertex, or inserts a new one. | |
Protected Attributes | |
IndexDataList | mIndexDataList |
OperationTypeList | mOperationTypeList |
std::vector< size_t > | mIndexDataVertexDataSetList |
VertexDataList | mVertexDataList |
CommonVertexList | mVertices |
EdgeData * | mEdgeData |
Definition at line 125 of file OgreEdgeListBuilder.h.
|
Definition at line 173 of file OgreEdgeListBuilder.h. |
|
Definition at line 172 of file OgreEdgeListBuilder.h. |
|
Definition at line 174 of file OgreEdgeListBuilder.h. |
|
Definition at line 171 of file OgreEdgeListBuilder.h. |
|
Definition at line 73 of file OgreEdgeListBuilder.cpp. |
|
Definition at line 77 of file OgreEdgeListBuilder.cpp. |
|
Add a set of index geometry data to the edge builder.
Definition at line 86 of file OgreEdgeListBuilder.cpp. References mIndexDataList, mIndexDataVertexDataSetList, and mOperationTypeList. Referenced by Ogre::Mesh::buildEdgeList(). |
|
Add a set of vertex geometry data to the edge builder.
Definition at line 81 of file OgreEdgeListBuilder.cpp. References mVertexDataList. Referenced by Ogre::Mesh::buildEdgeList(). |
|
Builds the edge information based on the information built up so far.
Definition at line 94 of file OgreEdgeListBuilder.cpp. References buildTrianglesEdges(), connectEdges(), Ogre::EdgeData::edgeGroups, mEdgeData, mIndexDataList, mIndexDataVertexDataSetList, and mVertexDataList. Referenced by Ogre::Mesh::buildEdgeList(). |
|
|
Definition at line 361 of file OgreEdgeListBuilder.cpp. References Ogre::EdgeData::Edge::degenerate, findEdge(), mEdgeData, Ogre::EdgeData::Triangle::sharedVertIndex, Ogre::EdgeData::triangles, and Ogre::EdgeData::Edge::triIndex. Referenced by build(). |
|
Definition at line 405 of file OgreEdgeListBuilder.cpp. References Ogre::EdgeData::edgeGroups, mEdgeData, and Ogre::EdgeData::Edge::sharedVertIndex. Referenced by connectEdges(). |
|
Finds an existing common vertex, or inserts a new one.
Definition at line 334 of file OgreEdgeListBuilder.cpp. References Ogre::EdgeListBuilder::CommonVertex::index, mVertices, Ogre::EdgeListBuilder::CommonVertex::position, Ogre::EdgeListBuilder::CommonVertex::vertexSet, Ogre::Vector3::x, Ogre::Vector3::y, and Ogre::Vector3::z. Referenced by buildTrianglesEdges(). |
|
|
Definition at line 181 of file OgreEdgeListBuilder.h. Referenced by build(), buildTrianglesEdges(), connectEdges(), and findEdge(). |
|
Definition at line 176 of file OgreEdgeListBuilder.h. Referenced by addIndexData(), build(), buildTrianglesEdges(), and log(). |
|
Definition at line 178 of file OgreEdgeListBuilder.h. Referenced by addIndexData(), build(), and log(). |
|
Definition at line 177 of file OgreEdgeListBuilder.h. Referenced by addIndexData(), buildTrianglesEdges(), and log(). |
|
Definition at line 179 of file OgreEdgeListBuilder.h. Referenced by addVertexData(), build(), buildTrianglesEdges(), and log(). |
|
Definition at line 180 of file OgreEdgeListBuilder.h. Referenced by findOrCreateCommonVertex(), and log(). |
Copyright © 2002-2003 by The OGRE Team
Last modified Fri May 14 23:26:02 2004