a triangle of a 3D triangulation
![]() | getNeighbor (unsigned int i) const returns one of its 3D triangle neighbor from its index |
![]() | getVertex (unsigned int i) const returns a 3D triangle vertex from its index |
![]() | getZone (void) const returns the 3Dzone associated with that triangle |
![]() | getNormal () const return the current normal orientation |
![]() | setTextureCoordinate (unsigned int i, unsigned int j, double value) set textCoord j for vertex i; |
![]() | getTextureCoordinate (int i, int j) get textCoord j for vertex i; |
![]() | getArea () const returns the current triangle area |
![]() | computeNormal () compute the triangle normal and store it in normal |
![]() | firstLandmark () the first landmark attached to the triangle |
![]() | lastLandmark () the last landmark attached to the triangle |
![]() | addLandmark ( TriangulationLandmark *l) add a landmark attached to the triangle |
![]() | getTriangulation () const returns the 3D triangulation the triangle belongs to |
![]() | constructors
| ||
![]() | destructor
|
![]() | normal triangle normal |
![]() | textCoord [3][4] the texture coordinates of the three vertices |
![]() | landmarkList the list of landmark |
a triangle of a 3D triangulation
double textCoord[3][4]
std::list <TriangulationLandmark *> landmarkList
constructors
TriangulationTriangle3D(Triangulation *mesh, bool empty=false, TriangulationTriangle *n0 = 0, TriangulationTriangle *n1 = 0, TriangulationTriangle *n2 = 0, TriangulationVertex *v0 = 0, TriangulationVertex *v1 = 0, TriangulationVertex *v2 = 0, TriangulationEdge *e0 = 0, TriangulationEdge *e1 = 0, TriangulationEdge *e2 = 0, TriangulationZone *z=0)
empty - if the triangle is real or virtual
n0 - first triangle neighbor,
n1 - second triangle neighbor,
n2 - third triangle neighbor,
v0 - first vertex,
v1 - second vertex,
v2 - third vertex,
e0 - first edge,
e1 - second edge,
e2 - third edge,
z - zone the triangle belongs destructor
TriangulationTriangle3D* getNeighbor(unsigned int i) const
TriangulationVertex3D* getVertex(unsigned int i) const
TriangulationZone3D* getZone(void) const
Vec3
void setTextureCoordinate(unsigned int i, unsigned int j, double value)
double getTextureCoordinate(int i, int j)
double getArea() const
void computeNormal()
std::list <TriangulationLandmark *> ::iterator firstLandmark()
std::list <TriangulationLandmark *> ::iterator lastLandmark()
void addLandmark( TriangulationLandmark *l)
Triangulation3D* getTriangulation() const
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de