Triangle class of a 3D Tetrahedrisation
![]() | _do_set_vertices (TetraVertex3D* v0, TetraVertex3D* v1, TetraVertex3D* v2) set the vertices in the tetrahedron @para v0, v1, v2, v3 the vertices @orientation if the orientation of the vertices if correct |
![]() | 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; |
![]() | isReal () if the triangle is real or not |
![]() | getSurfaceZone () const returns the zone containing the tetrahedron |
![]() | setSurfaceZone (TetraSurfaceZone3D *z) set the zone containing the tetrahedron |
![]() | getTetrahedrisation () const returns the mesh containing the triangle |
![]() | getRef () const returns the triangle unique reference |
![]() | getTetrahedron (const unsigned int i) const returns the tetrahedron adjacent to the triangle |
![]() | getEdge (const unsigned int i) const returns the ith edge linking vertex[(i+1)%3] and vertex[(i+2)%3] |
![]() | setVertex (int i, TetraVertex3D* v) set the value of vertex[i] |
![]() | getVertex (const unsigned int i) const returns a vertex of the triangle |
![]() | getNormal () const returns the triangle normal |
![]() | setRef (unsigned int r) set the triangle unique reference |
![]() | vertexIndex (const TetraVertex3D *v) const get array index of a vertex in vertices array |
![]() | tetrahedronIndex (const TetraTetrahedron3D *t) const get array index of a tetrahedron in tetrahedron array |
![]() | getAreaVector () returns the normal direction with the area norm |
![]() | computeNormal (unsigned int t=2) compute and store the triangle normal |
![]() | swap () swap the triangle into an edge |
![]() | split () split triangle (neighboring tetras go to division 2 |
![]() | constructor
| ||
![]() | destructor
|
![]() | tetrahedrisation the mesh containing the triangle |
![]() | tetrahedron [2] the two adjacent tetrahedra |
![]() | ref unique reference of the triangle |
![]() | normal normal of the triangle |
![]() | zone the surface zone containing the triangle |
![]() | textCoord [3][4] the texture coordinates of the three vertices |
![]() | vertex [3] the three vertices of the triangle |
![]() | triangleListIndex an iterator pointing to this triangle in triangleList |
![]() | code called by constructors |
Triangle class of a 3D Tetrahedrisation
TetraTetrahedron3D* tetrahedron[2]
TetraVertex3D* vertex[3]
TetraTriangle3DIterator triangleListIndex
unsigned int ref
Vec3
TetraSurfaceZone3D* zone
double textCoord[3][4]
void _do_set_vertices(TetraVertex3D* v0, TetraVertex3D* v1, TetraVertex3D* v2)
constructor
destructor
inline void setTextureCoordinate(unsigned int i, unsigned int j, double value)
inline double getTextureCoordinate(int i, int j)
inline bool isReal()
inline TetraSurfaceZone3D* getSurfaceZone() const
void setSurfaceZone(TetraSurfaceZone3D *z)
inline Tetra3D* getTetrahedrisation() const
unsigned int getRef() const
inline TetraTetrahedron3D* getTetrahedron(const unsigned int i) const
inline TetraEdge3D* getEdge(const unsigned int i) const
void setVertex(int i, TetraVertex3D* v)
inline TetraVertex3D* getVertex(const unsigned int i) const
inline Vec3
void setRef(unsigned int r)
inline int vertexIndex(const TetraVertex3D *v) const
inline int tetrahedronIndex(const TetraTetrahedron3D *t) const
Vec3
void computeNormal(unsigned int t=2)
bool swap()
void split()
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