sspt_Triangle Class Reference

#include <sspt_triangle.h>

List of all members.

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_RegisteredVertexvertexOrder (const sspt_RegisteredVertex &) const
std::list< sspt_RegisteredVertexvertexOrder (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_Vector3operator[] (int i)
sspt_Vector3 operator[] (int i) const
sspt_Vector3operator() (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 &)


Constructor & Destructor Documentation

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  ) 


Member Function Documentation

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


doxygen