OGRE  1.8
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::ProgressiveMesh::PMTriangle Class Reference

A triangle in the progressive mesh, holds extra info like face normal. More...

#include <OgreProgressiveMesh.h>

+ Collaboration diagram for Ogre::ProgressiveMesh::PMTriangle:

Public Member Functions

 PMTriangle ()
 
void computeNormal (void)
 
PMFaceVertexgetFaceVertexFromCommon (PMVertex *commonVert)
 
bool hasCommonVertex (PMVertex *v) const
 
bool hasFaceVertex (PMFaceVertex *v) const
 
void notifyRemoved (void)
 
void replaceVertex (PMFaceVertex *vold, PMFaceVertex *vnew)
 
void setDetails (size_t index, PMFaceVertex *v0, PMFaceVertex *v1, PMFaceVertex *v2)
 

Public Attributes

Real area
 
size_t index
 
Vector3 normal
 
bool removed
 
PMFaceVertexvertex [3]
 

Detailed Description

A triangle in the progressive mesh, holds extra info like face normal.

Definition at line 249 of file OgreProgressiveMesh.h.

Constructor & Destructor Documentation

Ogre::ProgressiveMesh::PMTriangle::PMTriangle ( )

Member Function Documentation

void Ogre::ProgressiveMesh::PMTriangle::computeNormal ( void  )
PMFaceVertex* Ogre::ProgressiveMesh::PMTriangle::getFaceVertexFromCommon ( PMVertex commonVert)
bool Ogre::ProgressiveMesh::PMTriangle::hasCommonVertex ( PMVertex v) const
bool Ogre::ProgressiveMesh::PMTriangle::hasFaceVertex ( PMFaceVertex v) const
void Ogre::ProgressiveMesh::PMTriangle::notifyRemoved ( void  )
void Ogre::ProgressiveMesh::PMTriangle::replaceVertex ( PMFaceVertex vold,
PMFaceVertex vnew 
)
void Ogre::ProgressiveMesh::PMTriangle::setDetails ( size_t  index,
PMFaceVertex v0,
PMFaceVertex v1,
PMFaceVertex v2 
)

Member Data Documentation

Real Ogre::ProgressiveMesh::PMTriangle::area

Definition at line 262 of file OgreProgressiveMesh.h.

size_t Ogre::ProgressiveMesh::PMTriangle::index

Definition at line 264 of file OgreProgressiveMesh.h.

Vector3 Ogre::ProgressiveMesh::PMTriangle::normal

Definition at line 261 of file OgreProgressiveMesh.h.

bool Ogre::ProgressiveMesh::PMTriangle::removed

Definition at line 263 of file OgreProgressiveMesh.h.

PMFaceVertex* Ogre::ProgressiveMesh::PMTriangle::vertex[3]

Definition at line 260 of file OgreProgressiveMesh.h.


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