OgreGFX::IcoSphere Class Reference

#include <DebugDrawer.h>

List of all members.

Public Member Functions

 IcoSphere ()
 ~IcoSphere ()
void create (int recursionLevel)
void addToLineIndices (int baseIndex, std::list< int > *target)
int addToVertices (std::list< VertexPair > *target, const Ogre::Vector3 &position, const Ogre::ColourValue &colour, float scale)
void addToTriangleIndices (int baseIndex, std::list< int > *target)
 IcoSphere ()
 ~IcoSphere ()
void create (int recursionLevel)
void addToLineIndices (int baseIndex, std::list< int > *target)
int addToVertices (std::list< VertexPair > *target, const Ogre::Vector3 &position, const Ogre::ColourValue &colour, float scale)
void addToTriangleIndices (int baseIndex, std::list< int > *target)
 IcoSphere ()
 ~IcoSphere ()
void create (int recursionLevel)
void addToLineIndices (int baseIndex, std::list< int > *target)
int addToVertices (std::list< VertexPair > *target, const Ogre::Vector3 &position, const Ogre::ColourValue &colour, float scale)
void addToTriangleIndices (int baseIndex, std::list< int > *target)
 IcoSphere ()
 ~IcoSphere ()
void create (int recursionLevel)
void addToLineIndices (int baseIndex, std::list< int > *target)
int addToVertices (std::list< VertexPair > *target, const Ogre::Vector3 &position, const Ogre::ColourValue &colour, float scale)
void addToTriangleIndices (int baseIndex, std::list< int > *target)
 IcoSphere ()
 ~IcoSphere ()
void create (int recursionLevel)
void addToLineIndices (int baseIndex, std::list< int > *target)
int addToVertices (std::list< VertexPair > *target, const Ogre::Vector3 &position, const Ogre::ColourValue &colour, float scale)
void addToTriangleIndices (int baseIndex, std::list< int > *target)

Private Member Functions

int addVertex (const Ogre::Vector3 &vertex)
void addLineIndices (int index0, int index1)
void addTriangleLines (int index0, int index1, int index2)
int getMiddlePoint (int index0, int index1)
void addFace (int index0, int index1, int index2)
void removeLineIndices (int index0, int index1)
int addVertex (const Ogre::Vector3 &vertex)
void addLineIndices (int index0, int index1)
void addTriangleLines (int index0, int index1, int index2)
int getMiddlePoint (int index0, int index1)
void addFace (int index0, int index1, int index2)
void removeLineIndices (int index0, int index1)
int addVertex (const Ogre::Vector3 &vertex)
void addLineIndices (int index0, int index1)
void addTriangleLines (int index0, int index1, int index2)
int getMiddlePoint (int index0, int index1)
void addFace (int index0, int index1, int index2)
void removeLineIndices (int index0, int index1)
int addVertex (const Ogre::Vector3 &vertex)
void addLineIndices (int index0, int index1)
void addTriangleLines (int index0, int index1, int index2)
int getMiddlePoint (int index0, int index1)
void addFace (int index0, int index1, int index2)
void removeLineIndices (int index0, int index1)
int addVertex (const Ogre::Vector3 &vertex)
void addLineIndices (int index0, int index1)
void addTriangleLines (int index0, int index1, int index2)
int getMiddlePoint (int index0, int index1)
void addFace (int index0, int index1, int index2)
void removeLineIndices (int index0, int index1)

Private Attributes

std::vector< Ogre::Vector3 > vertices
std::list< LineIndiceslineIndices
std::list< int > triangleIndices
std::list< TriangleIndicesfaces
std::map< long int, int > middlePointIndexCache
int index
std::vector< Ogre::Vector3 > vertices
std::list< LineIndiceslineIndices
std::list< int > triangleIndices
std::list< TriangleIndicesfaces
std::map< long int, int > middlePointIndexCache
std::vector< Ogre::Vector3 > vertices
std::list< LineIndiceslineIndices
std::list< int > triangleIndices
std::list< TriangleIndicesfaces
std::map< long int, int > middlePointIndexCache
std::vector< Ogre::Vector3 > vertices
std::list< LineIndiceslineIndices
std::list< int > triangleIndices
std::list< TriangleIndicesfaces
std::map< long int, int > middlePointIndexCache
std::vector< Ogre::Vector3 > vertices
std::list< LineIndiceslineIndices
std::list< int > triangleIndices
std::list< TriangleIndicesfaces
std::map< long int, int > middlePointIndexCache

Classes

struct  LineIndices
struct  TriangleIndices


Detailed Description

Definition at line 20 of file DebugDrawer.h.


Constructor & Destructor Documentation

IcoSphere::IcoSphere (  ) 

Definition at line 19 of file DebugDrawer.cpp.

IcoSphere::~IcoSphere (  ) 

Definition at line 24 of file DebugDrawer.cpp.

OgreGFX::IcoSphere::IcoSphere (  ) 

OgreGFX::IcoSphere::~IcoSphere (  ) 

OgreGFX::IcoSphere::IcoSphere (  ) 

OgreGFX::IcoSphere::~IcoSphere (  ) 

OgreGFX::IcoSphere::IcoSphere (  ) 

OgreGFX::IcoSphere::~IcoSphere (  ) 

OgreGFX::IcoSphere::IcoSphere (  ) 

OgreGFX::IcoSphere::~IcoSphere (  ) 


Member Function Documentation

void IcoSphere::create ( int  recursionLevel  ) 

Definition at line 28 of file DebugDrawer.cpp.

References addFace(), addLineIndices(), addTriangleLines(), addVertex(), faces, getMiddlePoint(), index, lineIndices, middlePointIndexCache, removeLineIndices(), triangleIndices, OgreGFX::IcoSphere::TriangleIndices::v1, OgreGFX::IcoSphere::TriangleIndices::v2, OgreGFX::IcoSphere::TriangleIndices::v3, and vertices.

Referenced by OgreGFX::DebugDrawer::initialise(), and OgreGFX::DebugDrawer::setIcoSphereRecursionLevel().

void IcoSphere::addToLineIndices ( int  baseIndex,
std::list< int > *  target 
)

Definition at line 193 of file DebugDrawer.cpp.

References lineIndices.

Referenced by OgreGFX::DebugDrawer::drawSphere().

int IcoSphere::addToVertices ( std::list< VertexPair > *  target,
const Ogre::Vector3 &  position,
const Ogre::ColourValue &  colour,
float  scale 
)

Definition at line 212 of file DebugDrawer.cpp.

References vertices.

Referenced by OgreGFX::DebugDrawer::drawSphere().

void IcoSphere::addToTriangleIndices ( int  baseIndex,
std::list< int > *  target 
)

Definition at line 202 of file DebugDrawer.cpp.

References faces.

Referenced by OgreGFX::DebugDrawer::drawSphere().

int IcoSphere::addVertex ( const Ogre::Vector3 &  vertex  )  [private]

Definition at line 162 of file DebugDrawer.cpp.

References index, and vertices.

Referenced by create(), and getMiddlePoint().

void IcoSphere::addLineIndices ( int  index0,
int  index1 
) [private]

Definition at line 142 of file DebugDrawer.cpp.

References lineIndices.

Referenced by addTriangleLines(), and create().

void IcoSphere::addTriangleLines ( int  index0,
int  index1,
int  index2 
) [private]

Definition at line 155 of file DebugDrawer.cpp.

References addLineIndices().

Referenced by create().

int IcoSphere::getMiddlePoint ( int  index0,
int  index1 
) [private]

Definition at line 169 of file DebugDrawer.cpp.

References addVertex(), index, middlePointIndexCache, and vertices.

Referenced by create().

void IcoSphere::addFace ( int  index0,
int  index1,
int  index2 
) [private]

Definition at line 188 of file DebugDrawer.cpp.

References faces.

Referenced by create().

void IcoSphere::removeLineIndices ( int  index0,
int  index1 
) [private]

Definition at line 147 of file DebugDrawer.cpp.

References lineIndices.

Referenced by create().

void OgreGFX::IcoSphere::create ( int  recursionLevel  ) 

void OgreGFX::IcoSphere::addToLineIndices ( int  baseIndex,
std::list< int > *  target 
)

int OgreGFX::IcoSphere::addToVertices ( std::list< VertexPair > *  target,
const Ogre::Vector3 &  position,
const Ogre::ColourValue &  colour,
float  scale 
)

void OgreGFX::IcoSphere::addToTriangleIndices ( int  baseIndex,
std::list< int > *  target 
)

int OgreGFX::IcoSphere::addVertex ( const Ogre::Vector3 &  vertex  )  [private]

void OgreGFX::IcoSphere::addLineIndices ( int  index0,
int  index1 
) [private]

void OgreGFX::IcoSphere::addTriangleLines ( int  index0,
int  index1,
int  index2 
) [private]

int OgreGFX::IcoSphere::getMiddlePoint ( int  index0,
int  index1 
) [private]

void OgreGFX::IcoSphere::addFace ( int  index0,
int  index1,
int  index2 
) [private]

void OgreGFX::IcoSphere::removeLineIndices ( int  index0,
int  index1 
) [private]

void OgreGFX::IcoSphere::create ( int  recursionLevel  ) 

void OgreGFX::IcoSphere::addToLineIndices ( int  baseIndex,
std::list< int > *  target 
)

int OgreGFX::IcoSphere::addToVertices ( std::list< VertexPair > *  target,
const Ogre::Vector3 &  position,
const Ogre::ColourValue &  colour,
float  scale 
)

void OgreGFX::IcoSphere::addToTriangleIndices ( int  baseIndex,
std::list< int > *  target 
)

int OgreGFX::IcoSphere::addVertex ( const Ogre::Vector3 &  vertex  )  [private]

void OgreGFX::IcoSphere::addLineIndices ( int  index0,
int  index1 
) [private]

void OgreGFX::IcoSphere::addTriangleLines ( int  index0,
int  index1,
int  index2 
) [private]

int OgreGFX::IcoSphere::getMiddlePoint ( int  index0,
int  index1 
) [private]

void OgreGFX::IcoSphere::addFace ( int  index0,
int  index1,
int  index2 
) [private]

void OgreGFX::IcoSphere::removeLineIndices ( int  index0,
int  index1 
) [private]

void OgreGFX::IcoSphere::create ( int  recursionLevel  ) 

void OgreGFX::IcoSphere::addToLineIndices ( int  baseIndex,
std::list< int > *  target 
)

int OgreGFX::IcoSphere::addToVertices ( std::list< VertexPair > *  target,
const Ogre::Vector3 &  position,
const Ogre::ColourValue &  colour,
float  scale 
)

void OgreGFX::IcoSphere::addToTriangleIndices ( int  baseIndex,
std::list< int > *  target 
)

int OgreGFX::IcoSphere::addVertex ( const Ogre::Vector3 &  vertex  )  [private]

void OgreGFX::IcoSphere::addLineIndices ( int  index0,
int  index1 
) [private]

void OgreGFX::IcoSphere::addTriangleLines ( int  index0,
int  index1,
int  index2 
) [private]

int OgreGFX::IcoSphere::getMiddlePoint ( int  index0,
int  index1 
) [private]

void OgreGFX::IcoSphere::addFace ( int  index0,
int  index1,
int  index2 
) [private]

void OgreGFX::IcoSphere::removeLineIndices ( int  index0,
int  index1 
) [private]

void OgreGFX::IcoSphere::create ( int  recursionLevel  ) 

void OgreGFX::IcoSphere::addToLineIndices ( int  baseIndex,
std::list< int > *  target 
)

int OgreGFX::IcoSphere::addToVertices ( std::list< VertexPair > *  target,
const Ogre::Vector3 &  position,
const Ogre::ColourValue &  colour,
float  scale 
)

void OgreGFX::IcoSphere::addToTriangleIndices ( int  baseIndex,
std::list< int > *  target 
)

int OgreGFX::IcoSphere::addVertex ( const Ogre::Vector3 &  vertex  )  [private]

void OgreGFX::IcoSphere::addLineIndices ( int  index0,
int  index1 
) [private]

void OgreGFX::IcoSphere::addTriangleLines ( int  index0,
int  index1,
int  index2 
) [private]

int OgreGFX::IcoSphere::getMiddlePoint ( int  index0,
int  index1 
) [private]

void OgreGFX::IcoSphere::addFace ( int  index0,
int  index1,
int  index2 
) [private]

void OgreGFX::IcoSphere::removeLineIndices ( int  index0,
int  index1 
) [private]


Member Data Documentation

std::vector<Ogre::Vector3> OgreGFX::IcoSphere::vertices [private]

Definition at line 61 of file DebugDrawer.h.

Referenced by addToVertices(), addVertex(), create(), and getMiddlePoint().

std::list<LineIndices> OgreGFX::IcoSphere::lineIndices [private]

Definition at line 62 of file DebugDrawer.h.

Referenced by addLineIndices(), addToLineIndices(), create(), and removeLineIndices().

std::list<int> OgreGFX::IcoSphere::triangleIndices [private]

Definition at line 63 of file DebugDrawer.h.

Referenced by create().

std::list<TriangleIndices> OgreGFX::IcoSphere::faces [private]

Definition at line 64 of file DebugDrawer.h.

Referenced by addFace(), addToTriangleIndices(), and create().

std::map<long int, int> OgreGFX::IcoSphere::middlePointIndexCache [private]

Definition at line 66 of file DebugDrawer.h.

Referenced by create(), and getMiddlePoint().

int OgreGFX::IcoSphere::index [private]

Definition at line 67 of file DebugDrawer.h.

Referenced by addVertex(), create(), and getMiddlePoint().

std::vector<Ogre::Vector3> OgreGFX::IcoSphere::vertices [private]

Definition at line 61 of file DebugDrawer.h.

std::list<LineIndices> OgreGFX::IcoSphere::lineIndices [private]

Definition at line 62 of file DebugDrawer.h.

std::list<int> OgreGFX::IcoSphere::triangleIndices [private]

Definition at line 63 of file DebugDrawer.h.

std::list<TriangleIndices> OgreGFX::IcoSphere::faces [private]

Definition at line 64 of file DebugDrawer.h.

std::map<long int, int> OgreGFX::IcoSphere::middlePointIndexCache [private]

Definition at line 66 of file DebugDrawer.h.

std::vector<Ogre::Vector3> OgreGFX::IcoSphere::vertices [private]

Definition at line 61 of file DebugDrawer.h.

std::list<LineIndices> OgreGFX::IcoSphere::lineIndices [private]

Definition at line 62 of file DebugDrawer.h.

std::list<int> OgreGFX::IcoSphere::triangleIndices [private]

Definition at line 63 of file DebugDrawer.h.

std::list<TriangleIndices> OgreGFX::IcoSphere::faces [private]

Definition at line 64 of file DebugDrawer.h.

std::map<long int, int> OgreGFX::IcoSphere::middlePointIndexCache [private]

Definition at line 66 of file DebugDrawer.h.

std::vector<Ogre::Vector3> OgreGFX::IcoSphere::vertices [private]

Definition at line 61 of file DebugDrawer.h.

std::list<LineIndices> OgreGFX::IcoSphere::lineIndices [private]

Definition at line 62 of file DebugDrawer.h.

std::list<int> OgreGFX::IcoSphere::triangleIndices [private]

Definition at line 63 of file DebugDrawer.h.

std::list<TriangleIndices> OgreGFX::IcoSphere::faces [private]

Definition at line 64 of file DebugDrawer.h.

std::map<long int, int> OgreGFX::IcoSphere::middlePointIndexCache [private]

Definition at line 66 of file DebugDrawer.h.

std::vector<Ogre::Vector3> OgreGFX::IcoSphere::vertices [private]

Definition at line 61 of file DebugDrawer.h.

std::list<LineIndices> OgreGFX::IcoSphere::lineIndices [private]

Definition at line 62 of file DebugDrawer.h.

std::list<int> OgreGFX::IcoSphere::triangleIndices [private]

Definition at line 63 of file DebugDrawer.h.

std::list<TriangleIndices> OgreGFX::IcoSphere::faces [private]

Definition at line 64 of file DebugDrawer.h.

std::map<long int, int> OgreGFX::IcoSphere::middlePointIndexCache [private]

Definition at line 66 of file DebugDrawer.h.


The documentation for this class was generated from the following files:
Generated on Fri Dec 13 14:54:22 2013 for FastECSLent by  doxygen 1.5.4