Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Ogre::EdgeData::Edge Struct Reference

Edge data. More...

#include <OgreEdgeListBuilder.h>

List of all members.

Public Attributes

size_t triIndex [2]
 The indexes of the 2 tris attached, note that tri 0 is the one where the indexes run _anti_ clockwise along the edge.

size_t vertIndex [2]
 The vertex indices for this edge.

size_t sharedVertIndex [2]
 Vertex indices as used in the shared vertex list, not exposed.

bool degenerate
 Indicates if this is a degenerate edge, ie it does not have 2 triangles.


Detailed Description

Edge data.

Definition at line 59 of file OgreEdgeListBuilder.h.


Member Data Documentation

bool Ogre::EdgeData::Edge::degenerate
 

Indicates if this is a degenerate edge, ie it does not have 2 triangles.

Definition at line 70 of file OgreEdgeListBuilder.h.

Referenced by Ogre::EdgeListBuilder::buildTrianglesEdges(), Ogre::EdgeListBuilder::connectEdges(), Ogre::ShadowCaster::generateShadowVolume(), and Ogre::EdgeData::log().

size_t Ogre::EdgeData::Edge::sharedVertIndex[2]
 

Vertex indices as used in the shared vertex list, not exposed.

Definition at line 68 of file OgreEdgeListBuilder.h.

Referenced by Ogre::EdgeListBuilder::buildTrianglesEdges(), and Ogre::EdgeListBuilder::findEdge().

size_t Ogre::EdgeData::Edge::triIndex[2]
 

The indexes of the 2 tris attached, note that tri 0 is the one where the indexes run _anti_ clockwise along the edge.

Indexes must be reversed for tri 1.

Definition at line 63 of file OgreEdgeListBuilder.h.

Referenced by Ogre::EdgeListBuilder::buildTrianglesEdges(), Ogre::EdgeListBuilder::connectEdges(), Ogre::ShadowCaster::generateShadowVolume(), and Ogre::EdgeData::log().

size_t Ogre::EdgeData::Edge::vertIndex[2]
 

The vertex indices for this edge.

Note that both vertices will be in the vertex set as specified in 'vertexSet', which will also be the same as tri 0

Definition at line 66 of file OgreEdgeListBuilder.h.

Referenced by Ogre::EdgeListBuilder::buildTrianglesEdges(), Ogre::ShadowCaster::generateShadowVolume(), and Ogre::EdgeData::log().


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

Copyright © 2002-2003 by The OGRE Team
Last modified Fri May 14 23:26:02 2004