#include <Geometry.h>
Public Member Functions | |
Tetra (const id_t &id) | |
bool | intersect (const Ray< CoordType > &r, isect_info_t *isectData) const |
template<typename TCoord > | |
BBox3D | BoundingBox (const fvmath::Vec3< TCoord > *v) |
Static Public Member Functions | |
template<typename T > | |
static BBox3D | BoundingBox (const fvmath::Vec3< T > *elCoords) |
template<typename T > | |
static fvmath::CVec3< T > | Centrum (const fvmath::Vec3< T > *elCoords) |
Protected Member Functions | |
void | calculateNormals () |
int | setCoordinates () |
Protected Attributes | |
Vec4< CoordType > | normals [NUM_TETRA_FACES] |
FemViewer::Tetra::Tetra | ( | const id_t & | id | ) |
BBox3D FemViewer::Tetra::BoundingBox | ( | const fvmath::Vec3< TCoord > * | v | ) | [inline] |
static BBox3D FemViewer::Tetra::BoundingBox | ( | const fvmath::Vec3< T > * | elCoords | ) | [inline, static] |
void FemViewer::Tetra::calculateNormals | ( | ) | [protected, virtual] |
Implements FemViewer::mfvBaseObject.
fvmath::CVec3< T > FemViewer::Tetra::Centrum | ( | const fvmath::Vec3< T > * | elCoords | ) | [inline, static] |
bool FemViewer::Tetra::intersect | ( | const Ray< CoordType > & | r, | |
isect_info_t * | isectData | |||
) | const [inline, virtual] |
Implements FemViewer::mfvBaseObject.
int FemViewer::Tetra::setCoordinates | ( | ) | [inline, protected] |
Vec4<CoordType> FemViewer::Tetra::normals[NUM_TETRA_FACES] [protected] |