My Project
Public Member Functions | Public Attributes | List of all members
ParametrizedClosestRotationAndTranslation Class Reference

#include <rayGroup.h>

Inheritance diagram for ParametrizedClosestRotationAndTranslation:
ParametrizedRayGroup RayGroup RayShape

Public Member Functions

Matrix4D getMatrix (void)
- Public Member Functions inherited from ParametrizedRayGroup
Matrix4D getInverseMatrix (void)
Matrix4D getNormalMatrix (void)
void writeBegin (int indent, FILE *fp=stdout)
void writeEnd (int indent, FILE *fp=stdout)
int isStatic (void)
- Public Member Functions inherited from RayGroup
void addShape (RayShape *shape)
int shapeNum (void)
void write (int indent, FILE *fp=stdout)
BoundingBox3D setBoundingBox (void)
double intersect (Ray3D ray, struct RayIntersectionInfo &iInfo, double mx=-1)
void setUpOpenGL (int cplx)
int drawOpenGL (int materialIndex)

Public Attributes

- Public Attributes inherited from ParametrizedRayGroup
char pName [100]
- Public Attributes inherited from RayGroup
int sNum
RayShape ** shapes
class RayShapeHithits
- Public Attributes inherited from RayShape
BoundingBox3D bBox
int openGLComplexity

Detailed Description

This class represents a parametrizable transformation that stores a pointer to the 3x3 matrix approximating the rotation and a pointer to the translation vector. When it returns a transformation, it computes the closest 3x3 rotation matrix to the matrix pointed to.

Member Function Documentation

Matrix4D ParametrizedClosestRotationAndTranslation::getMatrix ( void  )

This method returns the transformation associated with the group.

Implements ParametrizedRayGroup.

The documentation for this class was generated from the following files: