a triangle of a 3D triangulation
![]() | getNeighbor (unsigned int i) const returns one of its 3D triangle neighbor from its index |
![]() | getCotangentAlpha (const unsigned int i) const returns the cotangent of angle alpha i |
![]() | getCosineAlpha (const unsigned int i) const returns the cosine of angle alpha i at rest position |
![]() | getSineProduct () const returns the sine product divided by the area |
![]() | getVertex (unsigned int i) const returns a 3D active triangle vertex from its index |
![]() | getEdge (unsigned int i) const returns a 3D active triangle edge from its index |
![]() | getZone (void) const returns the 3D active zone associated with that triangle |
![]() | getTriangulation () const returns the 3D triangulation the triangle belongs to |
![]() | storeDotProductRestVertex () store the dot product of the triangle vectors in its rest position |
![]() | getLambda () const returns the first Lamé coefficient of the triangle |
![]() | getMu () const returns the second Lamé coefficient of the triangle |
![]() | setLambda (const double l) set the first Lamé coefficient of the triangle |
![]() | setMu (const double m) set the first Lamé coefficient of the triangle |
![]() | storeRestArea () compute and store the square Area of the triangle in its rest position |
![]() | getRestArea () returns the square Rest Area |
![]() | getDotProductRestVertex (const unsigned int i) const get the dot product of the triangle vectors in its rest position |
![]() | computeCotangentAlpha () compute the 3 cotangent of the 3 angles at rest position necessary for the mean curvature force |
![]() | getCotangentAlpha (double cotangentArray[3]) get the 3 cotangent of the 3 angles of the current triangle shape necessary for the mean curvature force |
![]() | storeCosineAlpha () store the 3 cosine of the 3 angles necessary for the quadratic membrane force |
![]() | storeSineProduct () store the sine product constant for the quadratic membrane force |
![]() | setMeanCurvatureTexture (TriangulationTriangle3D *t, double c[3]) set the texture coordinate as a function of mean curevature */ |
![]() | setGaussianCurvatureTexture (TriangulationTriangle3D *t, double c[3]) set the texture coordinate as a function of gaussian curvature */ |
![]() | constructors
| ||
![]() | destructor
|
a triangle of a 3D triangulation
double dotProductRestVertex[3]
double cotangentAlpha[3]
double cosineAlpha[3]
double sineProduct
double lambda
double mu
constructors
ActiveTriangulationTriangle3D(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
ActiveTriangulationTriangle3D* getNeighbor(unsigned int i) const
double getCotangentAlpha(const unsigned int i) const
double getCosineAlpha(const unsigned int i) const
double getSineProduct() const
ActiveTriangulationVertex3D* getVertex(unsigned int i) const
ActiveTriangulationEdge3D* getEdge(unsigned int i) const
ActiveTriangulationZone3D* getZone(void) const
ActiveTriangulation3D* getTriangulation() const
void storeDotProductRestVertex()
double getLambda() const
double getMu() const
void setLambda(const double l)
void setMu(const double m)
void storeRestArea()
double getRestArea()
double getDotProductRestVertex(const unsigned int i) const
void computeCotangentAlpha()
void getCotangentAlpha(double cotangentArray[3])
void storeCosineAlpha()
void storeSineProduct()
static void setMeanCurvatureTexture(TriangulationTriangle3D *t, double c[3])
static void setGaussianCurvatureTexture(TriangulationTriangle3D *t, double c[3])
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