#include <sspt_triangle.h>
Public Member Functions | |
| sspt_Triangle () | |
| sspt_Triangle (sspt_Vector3 a, sspt_Vector3 b, sspt_Vector3 c, int color) | |
| sspt_Triangle (const sspt_Triangle &) | |
| int | hasVertex (const sspt_RegisteredVertex &p) const |
| sspt_RegisteredVertex | nonSharedVertex (const sspt_Triangle &) const |
| std::list< sspt_RegisteredVertex > | vertexOrder (const sspt_RegisteredVertex &) const |
| std::list< sspt_RegisteredVertex > | vertexOrder (void) const |
| sspt_Vector3 | normal (void) |
| sspt_Vector3 | center (void) |
| void | print (void) |
| void | flipNormal (void) |
| void | draw (const sspt_HomogeneousMatrix &transform, const sspt_Material &m) |
| sspt_Vector3 & | operator[] (int i) |
| sspt_Vector3 | operator[] (int i) const |
| sspt_Vector3 & | operator() (int i) |
| sspt_Vector3 | operator() (int i) const |
| void | transform (const sspt_HomogeneousMatrix &m) |
| sspt_HomogeneousVector | flatNormal () |
| double | area () |
Static Public Member Functions | |
| static int | adjacent (const sspt_Triangle &, const sspt_Triangle &) |
| sspt_Triangle::sspt_Triangle | ( | ) |
| sspt_Triangle::sspt_Triangle | ( | sspt_Vector3 | a, | |
| sspt_Vector3 | b, | |||
| sspt_Vector3 | c, | |||
| int | color | |||
| ) |
| sspt_Triangle::sspt_Triangle | ( | const sspt_Triangle & | ) |
| static int sspt_Triangle::adjacent | ( | const sspt_Triangle & | , | |
| const sspt_Triangle & | ||||
| ) | [static] |
| double sspt_Triangle::area | ( | ) |
| sspt_Vector3 sspt_Triangle::center | ( | void | ) |
| void sspt_Triangle::draw | ( | const sspt_HomogeneousMatrix & | transform, | |
| const sspt_Material & | m | |||
| ) |
| sspt_HomogeneousVector sspt_Triangle::flatNormal | ( | ) |
| void sspt_Triangle::flipNormal | ( | void | ) |
| int sspt_Triangle::hasVertex | ( | const sspt_RegisteredVertex & | p | ) | const |
| sspt_RegisteredVertex sspt_Triangle::nonSharedVertex | ( | const sspt_Triangle & | ) | const |
| sspt_Vector3 sspt_Triangle::normal | ( | void | ) |
| sspt_Vector3 sspt_Triangle::operator() | ( | int | i | ) | const [inline] |
| sspt_Vector3& sspt_Triangle::operator() | ( | int | i | ) | [inline] |
| sspt_Vector3 sspt_Triangle::operator[] | ( | int | i | ) | const [inline] |
| sspt_Vector3& sspt_Triangle::operator[] | ( | int | i | ) | [inline] |
| void sspt_Triangle::print | ( | void | ) |
| void sspt_Triangle::transform | ( | const sspt_HomogeneousMatrix & | m | ) |
| std::list<sspt_RegisteredVertex> sspt_Triangle::vertexOrder | ( | void | ) | const |
| std::list<sspt_RegisteredVertex> sspt_Triangle::vertexOrder | ( | const sspt_RegisteredVertex & | ) | const |