chai3d Namespace Reference

Classes

class  cAlgorithmFingerProxy
 
class  cAlgorithmPotentialField
 
class  cAudioBuffer
 
class  cAudioDevice
 
class  cAudioSource
 
class  cBackground
 
class  cBitmap
 
class  cBulletBox
 This class implements a Bullet dynamic box. More...
 
class  cBulletCylinder
 This class implements a Bullet dynamic cylinder. More...
 
class  cBulletGenericObject
 
class  cBulletMesh
 This class implements a Bullet dynamic mesh. More...
 
class  cBulletMultiMesh
 This class implements a Bullet dynamic multi-mesh. More...
 
class  cBulletSphere
 This class implements a Bullet dynamic sphere. More...
 
class  cBulletStaticPlane
 This class implements a Bullet static plane. More...
 
class  cBulletVehicle
 This class implements a Bullet vehicle. More...
 
class  cBulletWorld
 This class implements an Bullet dynamic world. More...
 
class  cCamera
 
class  cCollisionAABB
 
class  cCollisionAABBBox
 
class  cCollisionAABBNode
 
class  cCollisionBrute
 
struct  cCollisionEvent
 
class  cCollisionRecorder
 
struct  cCollisionSettings
 
struct  cColorb
 
struct  cColorf
 
class  cDeltaDevice
 
class  cDial
 
class  cDirectionalLight
 
class  cDisplayList
 
class  cEffectMagnet
 
class  cEffectStickSlip
 
class  cEffectSurface
 
class  cEffectVibration
 
class  cEffectViscosity
 
class  cFileXML
 
class  cFog
 
class  cFont
 
class  cFrameBuffer
 
class  cFrequencyCounter
 
class  cGenericArray
 
class  cGenericCollision
 
class  cGenericDevice
 
class  cGenericEffect
 
class  cGenericForceAlgorithm
 
class  cGenericHapticDevice
 
class  cGenericLight
 
class  cGenericObject
 
class  cGenericTexture
 
class  cGenericTool
 
class  cGenericType
 
class  cGenericWidget
 
class  cHapticDeviceHandler
 
struct  cHapticDeviceInfo
 
class  cHapticPoint
 
class  cImage
 
struct  cInteractionEvent
 
class  cInteractionRecorder
 
class  cLabel
 
class  cLeapDevice
 
class  cLevel
 
struct  cMarchingCubeGridCell
 
struct  cMarchingCubeTriangle
 
class  cMaterial
 
struct  cMatrix3d
 
class  cMesh
 
class  cMultiImage
 
class  cMultiMesh
 
class  cMultiPoint
 
class  cMultiSegment
 
class  cMutex
 
class  cMyCustomDevice
 
class  cNormalMap
 
class  cPanel
 
class  cPhantomDevice
 
class  cPointArray
 
class  cPositionalLight
 
class  cPrecisionClock
 
struct  cQuaternion
 
struct  cRenderOptions
 
class  cScope
 
class  cSegmentArray
 
class  cShader
 
class  cShaderProgram
 
class  cShadowMap
 
class  cShapeBox
 
class  cShapeCylinder
 
class  cShapeEllipsoid
 
class  cShapeLine
 
class  cShapeSphere
 
class  cShapeTorus
 
class  cSixenseDevice
 
class  cSpotLight
 
class  cTexture1d
 
class  cTexture2d
 
class  cTexture3d
 
class  cTextureVideo
 
class  cThread
 
class  cToolCursor
 
class  cToolGripper
 
struct  cTransform
 
class  cTriangleArray
 
struct  cVector3d
 
class  cVertexArray
 
struct  cVertexArrayOptions
 
class  cVideo
 
class  cViewPanel
 
class  cVoxelObject
 
class  cWorld
 

Typedefs

typedef std::shared_ptr< cDeltaDevice > cDeltaDevicePtr
 
typedef std::shared_ptr< cGenericHapticDevice > cGenericHapticDevicePtr
 
typedef std::shared_ptr< cLeapDevice > cLeapDevicePtr
 
typedef std::shared_ptr< cMyCustomDevice > cMyCustomDevicePtr
 
typedef std::shared_ptr< cPhantomDevice > cPhantomDevicePtr
 
typedef std::shared_ptr< cSixenseDevice > cSixenseDevicePtr
 
typedef std::shared_ptr< cFrameBuffer > cFrameBufferPtr
 
typedef std::shared_ptr< cFont > cFontPtr
 
typedef std::shared_ptr< cGenericArray > cGenericArrayPtr
 
typedef std::shared_ptr< cImage > cImagePtr
 
typedef std::shared_ptr< cMultiImage > cMultiImagePtr
 
typedef std::shared_ptr< cPointArray > cPointArrayPtr
 
typedef std::shared_ptr< cSegmentArray > cSegmentArrayPtr
 
typedef std::shared_ptr< cTriangleArray > cTriangleArrayPtr
 
typedef std::shared_ptr< cVertexArray > cVertexArrayPtr
 
typedef std::shared_ptr< cVideo > cVideoPtr
 
typedef std::shared_ptr< cGenericTexture > cGenericTexturePtr
 
typedef std::shared_ptr< cMaterial > cMaterialPtr
 
typedef std::shared_ptr< cNormalMap > cNormalMapPtr
 
typedef std::shared_ptr< cTexture1d > cTexture1dPtr
 
typedef std::shared_ptr< cTexture2d > cTexture2dPtr
 
typedef std::shared_ptr< cTexture3d > cTexture3dPtr
 
typedef std::shared_ptr< cTextureVideo > cTextureVideoPtr
 
typedef std::shared_ptr< cShader > cShaderPtr
 
typedef std::shared_ptr< cShaderProgram > cShaderProgramPtr
 

Enumerations

enum  cAABBNodeType
 
enum  cCollisionType
 
enum  cHapticDeviceModel
 
enum  cStereoMode
 
enum  cEyeMode
 
enum  cEulerOrder
 
enum  cShaderType
 
enum  CThreadPriority
 
enum  cBulletDynamicModelType {
  BULLET_MODEL_BOX, BULLET_MODEL_SPHERE, BULLET_MODEL_CYLINDER, BULLET_MODEL_PLANE,
  BULLET_MODEL_TRIMESH
}
 Bullet geometry used for dynamic collision computation. More...
 

Functions

bool cLoadFileWAV (const std::string &a_filename, unsigned char *&a_data, int *a_size, int *a_frequency, bool *a_stereo, unsigned short *a_bitsPerSample)
 
bool cLoadFileBMP (cImage *a_image, const std::string &a_filename)
 
bool cSaveFileBMP (cImage *a_image, const std::string &a_filename)
 
bool cLoadFileGIF (cImage *a_image, const std::string &a_filename)
 
bool cSaveFileGIF (cImage *a_image, const std::string &a_filename)
 
bool cLoadFileJPG (cImage *a_image, const std::string &a_filename)
 
bool cLoadJPG (cImage *a_image, const unsigned char *a_buffer, unsigned int a_len)
 
bool cSaveFileJPG (cImage *a_image, const std::string &a_filename)
 
bool cSaveJPG (cImage *a_image, unsigned char **a_buffer, unsigned int *a_len)
 
bool cLoadFilePNG (cImage *a_image, const std::string &a_filename)
 
bool cLoadPNG (cImage *a_image, const unsigned char *a_buffer, unsigned int a_len)
 
bool cSaveFilePNG (cImage *a_image, const std::string &a_filename)
 
bool cSavePNG (cImage *a_image, unsigned char **a_buffer, unsigned int *a_len)
 
bool cLoadFilePPM (cImage *a_image, const std::string &a_filename)
 
bool cSaveFilePPM (cImage *a_image, const std::string &a_filename)
 
bool cLoadFileRAW (cImage *a_image, const std::string &a_filename)
 
bool cSaveFileRAW (cImage *a_image, const std::string &a_filename)
 
bool cLoadFile3DS (cMultiMesh *a_object, const std::string &a_filename)
 
bool cSaveFile3DS (cMultiMesh *a_object, const std::string &a_filename)
 
bool cLoadFileOBJ (cMultiMesh *a_object, const std::string &a_filename)
 
bool cSaveFileOBJ (cMultiMesh *a_object, const std::string &a_filename)
 
bool cLoadFileSTL (cMultiMesh *a_object, const std::string &a_filename)
 
bool cSaveFileSTL (cMultiMesh *a_object, const std::string &a_filename)
 
GLubyte cColorFtoB (GLfloat a_value)
 
GLfloat cColorBtoF (GLubyte a_value)
 
void cLookAt (const cVector3d &a_eye, const cVector3d &a_at, const cVector3d &a_up)
 
void cDrawFrame (const double &a_scale=1.0)
 
void cDrawFrame (const double &a_axisLengthScale, const double &a_axisThicknessScale)
 
void cDrawWireBox (const double &a_xMin, const double &a_xMax, const double &a_yMin, const double &a_yMax, const double &a_zMin, const double &a_zMax)
 
void cDrawSphere (const double &a_radius, const unsigned int a_numSlices=10, const unsigned int a_numStacks=10)
 
void cDrawArrow (const cVector3d &a_arrowStart, const cVector3d &a_arrowTip, const double a_width=0.05)
 
void cDrawSolidTorus (const double &a_innerRadius, const double &a_outerRadius, const int a_sides, const int a_rings)
 
void cCreatePlane (cMesh *a_mesh, const double &a_lengthX, const double &a_lengthY, const cVector3d &a_pos=cVector3d(0, 0, 0), const cMatrix3d &a_rot=cIdentity3d(), const cColorf &a_color=cColorf(1.0, 1.0, 1.0, 1.0))
 
void cCreatePlane2 (cMesh *a_mesh, const double &a_lengthX, const double &a_lengthY, const cVector3d &a_pos=cVector3d(0, 0, 0), const cMatrix3d &a_rot=cIdentity3d(), const cColorf &a_colorTopLeft=cColorf(1.0, 1.0, 1.0, 1.0), const cColorf &a_colorTopRight=cColorf(1.0, 1.0, 1.0, 1.0), const cColorf &a_colorBottomLeft=cColorf(1.0, 1.0, 1.0, 1.0), const cColorf &a_colorBottomRight=cColorf(1.0, 1.0, 1.0, 1.0))
 
void cCreateMap (cMesh *a_mesh, const double &a_lengthX, const double &a_lengthY, const unsigned int a_numSidesX=10, const unsigned int a_numSidesY=10, const cVector3d &a_pos=cVector3d(0, 0, 0), const cMatrix3d &a_rot=cIdentity3d(), const cColorf &a_color=cColorf(1.0, 1.0, 1.0, 1.0))
 
void cCreateDisk (cMesh *a_mesh, const double &a_radiusX, const double &a_radiusY, const unsigned int a_numSlices=36, const cVector3d &a_pos=cVector3d(0, 0, 0), const cMatrix3d &a_rot=cIdentity3d(), const cColorf &a_color=cColorf(1.0, 1.0, 1.0, 1.0))
 
void cCreatePanel (cMesh *a_mesh, const double &a_lengthX, const double &a_lengthY, const double &a_radiusCorners=0, const int &a_numSegmentsPerCorner=8, const cVector3d &a_pos=cVector3d(0, 0, 0), const cMatrix3d &a_rot=cIdentity3d(), const cColorf &a_color=cColorf(1.0, 1.0, 1.0, 1.0))
 
void cCreatePanel2 (cMesh *a_mesh, const double &a_lengthX, const double &a_lengthY, const double &a_cornerTopLeftRadius=0, const double &a_cornerTopRightRadius=0, const double &a_cornerBottomLeftRadius=0, const double &a_cornerBottomRightRadius=0, const int &a_numSegmentsPerCorner=8, const cVector3d &a_pos=cVector3d(0, 0, 0), const cMatrix3d &a_rot=cIdentity3d(), const cColorf &a_colorTopLeft=cColorf(0.5f, 0.5f, 0.5f, 1.0f), const cColorf &a_colorTopRight=cColorf(0.5f, 0.5f, 0.5f, 1.0f), const cColorf &a_colorBottomLeft=cColorf(0.3f, 0.3f, 0.3f, 1.0f), const cColorf &a_colorBottomRight=cColorf(0.3f, 0.3f, 0.3f, 1.0f))
 
void cCreateBox (cMesh *a_mesh, const double &a_lengthX, const double &a_lengthY, const double &a_lengthZ, const cVector3d &a_pos=cVector3d(0, 0, 0), const cMatrix3d &a_rot=cIdentity3d(), const cColorf &a_color=cColorf(1.0, 1.0, 1.0, 1.0))
 
void cCreateCylinder (cMesh *a_mesh, const double &a_height, const double &a_radius, const unsigned int a_numSides=32, const unsigned int a_numHeightSegments=1, const unsigned int a_numRings=1, const bool a_includeTop=true, const bool a_includeBottom=true, const cVector3d &a_pos=cVector3d(0, 0, 0), const cMatrix3d &a_rot=cIdentity3d(), const cColorf &a_color=cColorf(1.0, 1.0, 1.0, 1.0))
 
void cCreateCone (cMesh *a_mesh, const double &a_height, const double &a_radiusBottom, const double &a_radiusTop=0.0, const unsigned int a_numSides=32, const unsigned int a_numHeightSegments=1, const unsigned int a_numRings=1, const bool a_includeBottom=true, const bool a_includeTop=true, const cVector3d &a_pos=cVector3d(0, 0, 0), const cMatrix3d &a_rot=cIdentity3d(), const cColorf &a_color=cColorf(1.0, 1.0, 1.0, 1.0))
 
void cCreatePipe (cMesh *a_mesh, const double &a_height, const double &a_innerRadius, const double &a_outerRadius, const unsigned int a_numSides=32, const unsigned int a_numHeightSegments=1, const cVector3d &a_pos=cVector3d(0, 0, 0), const cMatrix3d &a_rot=cIdentity3d(), const cColorf &a_color=cColorf(1.0, 1.0, 1.0, 1.0))
 
void cCreateSphere (cMesh *a_mesh, const double &a_radius, const unsigned int a_numSlices=32, const unsigned int a_numStacks=32, const cVector3d &a_pos=cVector3d(0, 0, 0), const cMatrix3d &a_rot=cIdentity3d(), const cColorf &a_color=cColorf(1.0, 1.0, 1.0, 1.0))
 
void cCreateEllipsoid (cMesh *a_mesh, const double &a_radiusX, const double &a_radiusY, const double &a_radiusZ, const unsigned int a_numSlices=32, const unsigned int a_numStacks=32, const cVector3d &a_pos=cVector3d(0, 0, 0), const cMatrix3d &a_rot=cIdentity3d(), const cColorf &a_color=cColorf(1.0, 1.0, 1.0, 1.0))
 
void cCreateRing (cMesh *a_mesh, const double &a_innerRadius, const double &a_outerRadius, const unsigned int a_numSides=32, const unsigned int a_numRings=32, const cVector3d &a_pos=cVector3d(0, 0, 0), const cMatrix3d &a_rot=cIdentity3d(), const cColorf &a_color=cColorf(1.0, 1.0, 1.0, 1.0))
 
void cCreateRingSection (cMesh *a_mesh, const double &a_innerRadius0, const double &a_innerRadius1, const double &a_outerRadius, const double &a_coverageAngleDEG=360, const bool a_includeExtremityFaces=true, const unsigned int a_numSides=32, const unsigned int a_numRings=32, const cVector3d &a_pos=cVector3d(0, 0, 0), const cMatrix3d &a_rot=cIdentity3d(), const cColorf &a_color=cColorf(1.0, 1.0, 1.0, 1.0))
 
void cCreateSquarePyramid (cMesh *a_mesh, const double &a_height, const double &a_baseSize, const bool a_includeBottom=true, const cVector3d &a_pos=cVector3d(0, 0, 0), const cMatrix3d &a_rot=cIdentity3d(), const cColorf &a_color=cColorf(1.0, 1.0, 1.0, 1.0))
 
void cCreateTeaPot (cMesh *a_mesh, const double &a_size, const int &a_quality=4, const cVector3d &a_pos=cVector3d(0, 0, 0), const cMatrix3d &a_rot=cIdentity3d(), const cColorf &a_color=cColorf(1.0, 1.0, 1.0, 1.0))
 
void cCreateArrow (cMesh *a_mesh, const double &a_length=0.4, const double &a_radiusShaft=0.01, const double &a_lengthTip=0.1, const double &a_radiusTip=0.03, const bool a_includeTipsAtBothExtremities=false, const unsigned int a_numSides=32, const cVector3d &a_direction=cVector3d(0, 0, 1), const cVector3d &a_pos=cVector3d(0, 0, 0), const cColorf &a_color=cColorf(1.0, 1.0, 1.0, 1.0))
 
void cCreateCircularArrow (cMesh *a_mesh, const double &a_innerRadius0=0.05, const double &a_innerRadius1=0.05, const double &a_outerRadius=0.3, const double &a_lengthTip=0.2, const double &a_radiusTip=0.1, const double &a_coverageAngleDEG=270, const bool a_includeTipsAtBothExtremities=false, const unsigned int a_numSides=32, const unsigned int a_numRings=32, const cVector3d &a_direction=cVector3d(0, 0, 1), const cVector3d &a_pos=cVector3d(0, 0, 0), const cColorf &a_color=cColorf(1.0, 1.0, 1.0, 1.0))
 
void cCreateBezierPatch (cMesh *a_mesh, const cVector3d *a_controlPoints, const int a_numDivisions=8, const cVector3d &a_pos=cVector3d(0, 0, 0), const cMatrix3d &a_rot=cIdentity3d(), const cColorf &a_color=cColorf(1.0, 1.0, 1.0, 1.0))
 
void cCreateTeaPot (cMesh *a_mesh, const double &a_size, const cVector3d &a_pos=cVector3d(0, 0, 0), const cMatrix3d &a_rot=cIdentity3d(), const cColorf &a_color=cColorf(1.0, 1.0, 1.0, 1.0))
 
bool SECTION_RENDER_PARTS_WITH_MATERIALS (cRenderOptions a_options, bool a_useTransparency)
 
bool SECTION_RENDER_OPAQUE_PARTS_ONLY (cRenderOptions a_options)
 
cVector3d cEvalBezierCurve (const cVector3d *a_controlPoints, double a_t)
 
cVector3d cEvalBezierPatch (const cVector3d *a_controlPoints, double a_u, double a_v)
 
cVector3d cDerivBezier (const cVector3d *a_controlPoints, double a_t)
 
cVector3d cDerivUBezier (const cVector3d *a_controlPoints, double a_u, double a_v)
 
cVector3d cDerivVBezier (const cVector3d *a_controlPoints, double a_u, double a_v)
 
cVector3d cSurfaceNormalBezier (const cVector3d *a_controlPoints, double a_u, double a_v)
 
double cTriangleArea (const cVector3d &a_vertex0, const cVector3d &a_vertex1, const cVector3d &a_vertex2)
 
cVector3d cProjectPointOnPlane (const cVector3d &a_point, const cVector3d &a_planePoint, const cVector3d &a_planeNormal)
 
cVector3d cProjectPointOnPlane (const cVector3d &a_point, const cVector3d &a_planePoint0, const cVector3d &a_planePoint1, const cVector3d &a_planePoint2)
 
void cProjectPointOnPlane (const cVector3d &a_point, const cVector3d &a_planePoint0, const cVector3d &a_planePoint1, const cVector3d &a_planePoint2, double &a_r01, double &a_r02)
 
cVector3d cProjectPointOnLine (const cVector3d &a_point, const cVector3d &a_pointOnLine, const cVector3d &a_directionOfLine)
 
cVector3d cProjectPointOnSegment (const cVector3d &a_point, const cVector3d &a_segmentPointA, const cVector3d &a_segmentPointB)
 
cVector3d cProjectPointOnDiskXY (const cVector3d &a_point, const double &a_height, const double &a_radius)
 
cVector3d cProjectPointOnTriangle (const cVector3d &a_point, const cVector3d &a_vertex0, const cVector3d &a_vertex1, const cVector3d &a_vertex2)
 
cVector3d cProject (const cVector3d &a_vector0, const cVector3d &a_vector1)
 
double cDistanceToLine (const cVector3d &a_point, const cVector3d &a_linePoint1, const cVector3d &a_linePoint2)
 
cVector3d cComputeSurfaceNormal (const cVector3d &a_surfacePoint0, const cVector3d &a_surfacePoint1, const cVector3d &a_surfacePoint2)
 
bool cBoxContains (const cVector3d &a_point, const cVector3d &a_boxMin, const cVector3d &a_boxMax)
 
int cIntersectionSegmentPlane (const cVector3d &a_segmentPointA, const cVector3d &a_segmentPointB, const cVector3d &a_planePos, const cVector3d &a_planeNormal, cVector3d &a_collisionPoint, cVector3d &a_collisionNormal)
 
int cIntersectionSegmentDisk (const cVector3d &a_segmentPointA, const cVector3d &a_segmentPointB, const cVector3d &a_diskPos, const cVector3d &a_diskNormal, const double &a_diskRadius, cVector3d &a_collisionPoint, cVector3d &a_collisionNormal)
 
int cIntersectionSegmentSphere (const cVector3d &a_segmentPointA, const cVector3d &a_segmentPointB, const cVector3d &a_spherePos, const double &a_sphereRadius, cVector3d &a_collisionPoint0, cVector3d &a_collisionNormal0, cVector3d &a_collisionPoint1, cVector3d &a_collisionNormal1)
 
int cIntersectionSegmentEllipsoid (const cVector3d &a_segmentPointA, const cVector3d &a_segmentPointB, const cVector3d &a_pos, const double &a_radiusX, const double &a_radiusY, const double &a_radiusZ, cVector3d &a_collisionPoint0, cVector3d &a_collisionNormal0, cVector3d &a_collisionPoint1, cVector3d &a_collisionNormal1)
 
int cIntersectionSegmentToplessCylinder (const cVector3d &a_segmentPointA, const cVector3d &a_segmentPointB, const cVector3d &a_cylinderPointA, const cVector3d &a_cylinderPointB, const double &a_cylinderRadius, cVector3d &a_collisionPoint0, cVector3d &a_collisionNormal0, double &a_collisionPointRelPosAB0, cVector3d &a_collisionPoint1, cVector3d &a_collisionNormal1, double &a_collisionPointRelPosAB1)
 
int cIntersectionSegmentCylinder (const cVector3d &a_segmentPointA, const cVector3d &a_segmentPointB, const double &a_baseRadius, const double &a_topRadius, const double &a_height, cVector3d &a_collisionPoint, cVector3d &a_collisionNormal)
 
int cIntersectionSegmentBox (const cVector3d &a_segmentPointA, const cVector3d &a_segmentPointB, const cVector3d &a_boxMin, const cVector3d &a_boxMax, cVector3d &a_collisionPoint, cVector3d &a_collisionNormal)
 
int cIntersectionSegmentTorus (const cVector3d &a_segmentPointA, const cVector3d &a_segmentPointB, const double &a_innerRadius, const double &a_outerRadius, cVector3d &a_collisionPoint, cVector3d &a_collisionNormal)
 
bool cIntersectionSegmentTriangle (const cVector3d &a_segmentPointA, const cVector3d &a_segmentPointB, const cVector3d &a_triangleVertex0, const cVector3d &a_triangleVertex1, const cVector3d &a_triangleVertex2, const bool a_reportFrontSideCollision, const bool a_reportBackSideCollision, cVector3d &a_collisionPoint, cVector3d &a_collisionNormal, double &a_collisionPosVertex01, double &a_collisionPosVertex02)
 
cVector3d cVertexInterpolation (double a_isolevel, cVector3d a_p1, cVector3d a_p2, double a_valp1, double a_valp2)
 
int cPolygonize (cMarchingCubeGridCell a_grid, double a_isolevel, cMarchingCubeTriangle *a_triangles)
 
bool cCheckBit (const unsigned int &a_value, const unsigned int &a_bitPosition)
 
unsigned int cSetBit (const unsigned int &a_data, const unsigned int &a_bitPosition, const bool a_value)
 
bool cZero (const double &a_value)
 
T cAbs (const T &a_value)
 
double cSign (const T &a_value)
 
T cMax (const T &a_value1, const T &a_value2)
 
T cMin (const T &a_value1, const T &a_value2)
 
T cMax3 (const T &a_value1, const T &a_value2, const T &a_value3)
 
T cMin3 (const T &a_value1, const T &a_value2, const T &a_value3)
 
void cSwap (T &a_value1, T &a_value2)
 
T cLerp (const double &a_level, const T &a_value1, const T &a_value2)
 
T cClamp (const T &a_value, const T &a_low, const T &a_high)
 
T cClamp0 (const T &a_value)
 
double cClamp01 (const double &a_value)
 
bool cContains (const T &a_value, const V &a_low, const V &a_high)
 
double cSqr (const double &a_value)
 
double cSqrt (const double &a_value)
 
double cCbrt (const double &a_value)
 
double cCosDeg (const double &a_angleDeg)
 
double cSinDeg (const double &a_angleDeg)
 
double cTanDeg (const double &a_angleDeg)
 
double cCosRad (const double &a_angleRad)
 
double cSinRad (const double &a_angleRad)
 
double cTanRad (const double &a_angleRad)
 
double cDegToRad (const double &a_angleDeg)
 
double cRadToDeg (const double &a_angleRad)
 
int cNumDigits (int a_value)
 
cVector3d cAdd (const cVector3d &a_vector1, const cVector3d &a_vector2)
 
cVector3d cAdd (const cVector3d &a_vector1, const cVector3d &a_vector2, const cVector3d &a_vector3)
 
cVector3d cSub (const cVector3d &a_vector1, const cVector3d &a_vector2)
 
cVector3d cNegate (const cVector3d &a_vector)
 
cVector3d cMul (const double &a_value, const cVector3d &a_vector)
 
cVector3d cDiv (const double &a_value, const cVector3d &a_vector)
 
cVector3d cCross (const cVector3d &a_vector1, const cVector3d &a_vector2)
 
double cDot (const cVector3d &a_vector1, const cVector3d &a_vector2)
 
cVector3d cNormalize (const cVector3d &a_vector)
 
double cDistance (const cVector3d &a_point1, const cVector3d &a_point2)
 
double cDistanceSq (const cVector3d &a_point1, const cVector3d &a_point2)
 
bool cEqualPoints (const cVector3d &a_point1, const cVector3d &a_point2, const double a_epsilon=C_SMALL)
 
cMatrix3d cIdentity3d (void)
 
cMatrix3d cAdd (const cMatrix3d &a_matrix1, const cMatrix3d &a_matrix2)
 
cMatrix3d cSub (const cMatrix3d &a_matrix1, const cMatrix3d &a_matrix2)
 
cMatrix3d cRotEulerRad (const double &a_angleRad1, const double &a_angleRad2, const double &a_angleRad3, const cEulerOrder a_eulerOrder, const bool a_useIntrinsicEulerModel=true)
 
cMatrix3d cRotEulerDeg (const double &a_angleDeg1, const double &a_angleDeg2, const double &a_angleDeg3, const cEulerOrder a_eulerOrder, const bool a_useIntrinsicEulerModel=true)
 
cMatrix3d cRotAxisAngleRad (const double &a_axisX, const double &a_axisY, const double &a_axisZ, const double &a_angleRad)
 
cMatrix3d cRotAxisAngleDeg (const double &a_axisX, const double &a_axisY, const double &a_axisZ, const double &a_angleDeg)
 
cMatrix3d cMul (const cMatrix3d &a_matrix1, const cMatrix3d &a_matrix2)
 
cVector3d cMul (const cMatrix3d &a_matrix, const cVector3d &a_vector)
 
cMatrix3d cTranspose (const cMatrix3d &a_matrix)
 
cMatrix3d cInverse (const cMatrix3d &a_matrix)
 
double cAngle (const cVector3d &a_vector1, const cVector3d &a_vector2)
 
double cCosAngle (const cVector3d &a_vector1, const cVector3d &a_vector2)
 
cVector3d operator* (const cMatrix3d &a_matrix, const cVector3d &a_vector)
 
cMatrix3d operator* (const cMatrix3d &a_matrix1, const cMatrix3d &a_matrix2)
 
int cSolveLinear (double a_coefficient[2], double a_solution[1])
 
int cSolveQuadric (double a_coefficient[3], double a_solution[2])
 
int cSolveCubic (double a_coefficient[4], double a_solution[3])
 
int cSolveQuartic (double a_coefficient[5], double a_solution[4])
 
cQuaternion operator* (const cQuaternion &a_quaternion, const double a_scale)
 
cQuaternion operator* (const double a_scale, const cQuaternion &a_quaternion)
 
cQuaternion operator* (const cQuaternion &a_quaternion0, const cQuaternion &a_quaternion1)
 
cQuaternion operator+ (const cQuaternion &a_quaternion0, const cQuaternion &a_quaternion1)
 
cQuaternion operator- (const cQuaternion &a_quaternion0, const cQuaternion &a_quaternion1)
 
cTransform operator* (const cTransform &a_matrix1, const cTransform &a_matrix2)
 
cVector3d operator* (const cTransform &a_matrix, const cVector3d &a_vector)
 
cVector3d operator* (const cVector3d &a_vector, const double a_scale)
 
cVector3d operator* (const double a_scale, const cVector3d &a_vector)
 
cVector3d operator/ (const cVector3d &a_vector, const double a_scale)
 
cVector3d operator+ (const cVector3d &a_vector0, const cVector3d &a_vector1)
 
cVector3d operator- (const cVector3d &a_vector0, const cVector3d &a_vector1)
 
cVector3d operator- (const cVector3d &a_vector0)
 
double operator* (const cVector3d &a_vector0, const cVector3d &a_vector1)
 
cBitmap * NEW_CHAI3D_WHITE_LOGO ()
 
cBitmap * NEW_CHAI3D_BLACK_LOGO ()
 
cFontPtr NEW_CFONTCALIBRI144 ()
 
cFontPtr NEW_CFONTCALIBRI16 ()
 
cFontPtr NEW_CFONTCALIBRI18 ()
 
cFontPtr NEW_CFONTCALIBRI20 ()
 
cFontPtr NEW_CFONTCALIBRI22 ()
 
cFontPtr NEW_CFONTCALIBRI24 ()
 
cFontPtr NEW_CFONTCALIBRI26 ()
 
cFontPtr NEW_CFONTCALIBRI28 ()
 
cFontPtr NEW_CFONTCALIBRI32 ()
 
cFontPtr NEW_CFONTCALIBRI36 ()
 
cFontPtr NEW_CFONTCALIBRI40 ()
 
cFontPtr NEW_CFONTCALIBRI72 ()
 
void cSleepMs (const unsigned int a_interval)
 
int cStrLength (const char *a_input)
 
std::string cGetFilename (const std::string &a_input, const bool a_includeFileExtension=true)
 
std::string cGetFileExtension (const std::string &a_input, const bool a_includeDot=false)
 
std::string cGetDirectory (const std::string &a_input)
 
std::string cReplaceFileExtension (const std::string &a_input, const std::string &a_extension)
 
std::string cStr (const bool a_value)
 
std::string cStr (const int a_value)
 
std::string cStr (const unsigned int a_value)
 
std::string cStr (const float a_value, const unsigned int a_precision=2)
 
std::string cStr (const double a_value, const unsigned int a_precision=2)
 
std::string cStrToLower (const std::string &a_input)
 

Variables

 C_AABB_NODE_INTERNAL
 
 C_AABB_NODE_LEAF
 
 C_AABB_NOT_DEFINED
 
 C_COL_NOT_DEFINED
 
 C_COL_SHAPE
 
 C_COL_POINT
 
 C_COL_SEGMENT
 
 C_COL_TRIANGLE
 
 C_COL_VOXEL
 
 C_HAPTIC_DEVICE_VIRTUAL
 
 C_HAPTIC_DEVICE_DELTA_3
 
 C_HAPTIC_DEVICE_DELTA_6
 
 C_HAPTIC_DEVICE_OMEGA_3
 
 C_HAPTIC_DEVICE_OMEGA_6
 
 C_HAPTIC_DEVICE_OMEGA_7
 
 C_HAPTIC_DEVICE_SIGMA_6P
 
 C_HAPTIC_DEVICE_SIGMA_7
 
 C_HAPTIC_DEVICE_FALCON
 
 C_HAPTIC_DEVICE_XTH_1
 
 C_HAPTIC_DEVICE_XTH_2
 
 C_HAPTIC_DEVICE_MPR
 
 C_HAPTIC_DEVICE_KSD_1
 
 C_HAPTIC_DEVICE_VIC_1
 
 C_HAPTIC_DEVICE_PHANTOM_TOUCH
 
 C_HAPTIC_DEVICE_PHANTOM_OMNI
 
 C_HAPTIC_DEVICE_PHANTOM_DESKTOP
 
 C_HAPTIC_DEVICE_PHANTOM_15_6DOF
 
 C_HAPTIC_DEVICE_PHANTOM_30_6DOF
 
 C_HAPTIC_DEVICE_PHANTOM_OTHER
 
 C_TRACKER_DEVICE_SIXENSE
 
 C_TRACKER_DEVICE_LEAP
 
 C_HAPTIC_DEVICE_CUSTOM
 
 C_STEREO_DISABLED
 
 C_STEREO_ACTIVE
 
 C_STEREO_PASSIVE_LEFT_RIGHT
 
 C_STEREO_PASSIVE_TOP_BOTTOM
 
 C_STEREO_PASSIVE_DUAL_DISPLAY
 
 C_STEREO_LEFT_EYE
 
 C_STEREO_RIGHT_EYE
 
 C_EULER_ORDER_XYZ
 
 C_EULER_ORDER_XYX
 
 C_EULER_ORDER_XZY
 
 C_EULER_ORDER_XZX
 
 C_EULER_ORDER_YZX
 
 C_EULER_ORDER_YZY
 
 C_EULER_ORDER_YXZ
 
 C_EULER_ORDER_YXY
 
 C_EULER_ORDER_ZXY
 
 C_EULER_ORDER_ZXZ
 
 C_EULER_ORDER_ZYX
 
 C_EULER_ORDER_ZYZ
 
 C_VERTEX_SHADER
 
 C_FRAGMENT_SHADER
 
 C_GEOMETRY_SHADER
 
 CTHREAD_PRIORITY_GRAPHICS
 
 CTHREAD_PRIORITY_HAPTICS
 
const unsigned int C_MAX_DEVICES
 
const int C_DEVICE_HISTORY_SIZE
 
const double C_DEVICE_MIN_ACQUISITION_TIME
 
const int C_MAX_DOF
 
const unsigned int C_MAX_HAPTIC_DEVICES
 
const int C_EFFECT_MAX_IDN
 
bool g_objLoaderShouldGenerateExtraVertices
 
const bool C_ERROR
 
const bool C_SUCCESS
 
const double C_TWO_PI
 
const double C_PI
 
const double C_PI_DIV_2
 
const double C_DEG2RAD
 
const double C_RAD2DEG
 
const double C_TINY
 
const double C_SMALL
 
const double C_LARGE
 
const double C_LARGE_FLOAT
 
const unsigned char CHAI3D_LOGO_WHITE_BYTEARRAY []
 
const unsigned char CHAI3D_LOGO_BLACK_BYTEARRAY []
 
const unsigned int CFONTCALIBRI144_WIDTH
 
const unsigned int CFONTCALIBRI144_HEIGHT
 
const unsigned int CFONTCALIBRI144_CHARSET_BASE
 
const unsigned int CFONTCALIBRI144_CHARSET_LINEHEIGHT
 
const unsigned int CFONTCALIBRI144_CHARSET_PAGES
 
const int CFONTCALIBRI144_CHARSET []
 
const unsigned char CFONTCALIBRI144_BYTEARRAY []
 
const unsigned int CFONTCALIBRI16_WIDTH
 
const unsigned int CFONTCALIBRI16_HEIGHT
 
const unsigned int CFONTCALIBRI16_CHARSET_BASE
 
const unsigned int CFONTCALIBRI16_CHARSET_LINEHEIGHT
 
const unsigned int CFONTCALIBRI16_CHARSET_PAGES
 
const int CFONTCALIBRI16_CHARSET []
 
const unsigned char CFONTCALIBRI16_BYTEARRAY []
 
const unsigned int CFONTCALIBRI18_WIDTH
 
const unsigned int CFONTCALIBRI18_HEIGHT
 
const unsigned int CFONTCALIBRI18_CHARSET_BASE
 
const unsigned int CFONTCALIBRI18_CHARSET_LINEHEIGHT
 
const unsigned int CFONTCALIBRI18_CHARSET_PAGES
 
const int CFONTCALIBRI18_CHARSET []
 
const unsigned char CFONTCALIBRI18_BYTEARRAY []
 
const unsigned int CFONTCALIBRI20_WIDTH
 
const unsigned int CFONTCALIBRI20_HEIGHT
 
const unsigned int CFONTCALIBRI20_CHARSET_BASE
 
const unsigned int CFONTCALIBRI20_CHARSET_LINEHEIGHT
 
const unsigned int CFONTCALIBRI20_CHARSET_PAGES
 
const int CFONTCALIBRI20_CHARSET []
 
const unsigned char CFONTCALIBRI20_BYTEARRAY []
 
const unsigned int CFONTCALIBRI22_WIDTH
 
const unsigned int CFONTCALIBRI22_HEIGHT
 
const unsigned int CFONTCALIBRI22_CHARSET_BASE
 
const unsigned int CFONTCALIBRI22_CHARSET_LINEHEIGHT
 
const unsigned int CFONTCALIBRI22_CHARSET_PAGES
 
const int CFONTCALIBRI22_CHARSET []
 
const unsigned char CFONTCALIBRI22_BYTEARRAY []
 
const unsigned int CFONTCALIBRI24_WIDTH
 
const unsigned int CFONTCALIBRI24_HEIGHT
 
const unsigned int CFONTCALIBRI24_CHARSET_BASE
 
const unsigned int CFONTCALIBRI24_CHARSET_LINEHEIGHT
 
const unsigned int CFONTCALIBRI24_CHARSET_PAGES
 
const int CFONTCALIBRI24_CHARSET []
 
const unsigned char CFONTCALIBRI24_BYTEARRAY []
 
const unsigned int CFONTCALIBRI26_WIDTH
 
const unsigned int CFONTCALIBRI26_HEIGHT
 
const unsigned int CFONTCALIBRI26_CHARSET_BASE
 
const unsigned int CFONTCALIBRI26_CHARSET_LINEHEIGHT
 
const unsigned int CFONTCALIBRI26_CHARSET_PAGES
 
const int CFONTCALIBRI26_CHARSET []
 
const unsigned char CFONTCALIBRI26_BYTEARRAY []
 
const unsigned int CFONTCALIBRI28_WIDTH
 
const unsigned int CFONTCALIBRI28_HEIGHT
 
const unsigned int CFONTCALIBRI28_CHARSET_BASE
 
const unsigned int CFONTCALIBRI28_CHARSET_LINEHEIGHT
 
const unsigned int CFONTCALIBRI28_CHARSET_PAGES
 
const int CFONTCALIBRI28_CHARSET []
 
const unsigned char CFONTCALIBRI28_BYTEARRAY []
 
const unsigned int CFONTCALIBRI32_WIDTH
 
const unsigned int CFONTCALIBRI32_HEIGHT
 
const unsigned int CFONTCALIBRI32_CHARSET_BASE
 
const unsigned int CFONTCALIBRI32_CHARSET_LINEHEIGHT
 
const unsigned int CFONTCALIBRI32_CHARSET_PAGES
 
const int CFONTCALIBRI32_CHARSET []
 
const unsigned char CFONTCALIBRI32_BYTEARRAY []
 
const unsigned int CFONTCALIBRI36_WIDTH
 
const unsigned int CFONTCALIBRI36_HEIGHT
 
const unsigned int CFONTCALIBRI36_CHARSET_BASE
 
const unsigned int CFONTCALIBRI36_CHARSET_LINEHEIGHT
 
const unsigned int CFONTCALIBRI36_CHARSET_PAGES
 
const int CFONTCALIBRI36_CHARSET []
 
const unsigned char CFONTCALIBRI36_BYTEARRAY []
 
const unsigned int CFONTCALIBRI40_WIDTH
 
const unsigned int CFONTCALIBRI40_HEIGHT
 
const unsigned int CFONTCALIBRI40_CHARSET_BASE
 
const unsigned int CFONTCALIBRI40_CHARSET_LINEHEIGHT
 
const unsigned int CFONTCALIBRI40_CHARSET_PAGES
 
const int CFONTCALIBRI40_CHARSET []
 
const unsigned char CFONTCALIBRI40_BYTEARRAY []
 
const unsigned int CFONTCALIBRI72_WIDTH
 
const unsigned int CFONTCALIBRI72_HEIGHT
 
const unsigned int CFONTCALIBRI72_CHARSET_BASE
 
const unsigned int CFONTCALIBRI72_CHARSET_LINEHEIGHT
 
const unsigned int CFONTCALIBRI72_CHARSET_PAGES
 
const int CFONTCALIBRI72_CHARSET []
 
const unsigned char CFONTCALIBRI72_BYTEARRAY []
 
const std::string C_SHADER_BASIC_VOXEL_LUT8_VERT
 
const std::string C_SHADER_BASIC_VOXEL_LUT8_FRAG
 
const std::string C_SHADER_BASIC_VOXEL_RGBA8_VERT
 
const std::string C_SHADER_BASIC_VOXEL_RGBA8_FRAG
 
const std::string C_SHADER_DVR_LUT8_VERT
 
const std::string C_SHADER_DVR_LUT8_FRAG
 
const std::string C_SHADER_FONG_VERT
 
const std::string C_SHADER_FONG_FRAG
 
const std::string C_SHADER_ISOSURFACE_L8_VERT
 
const std::string C_SHADER_ISOSURFACE_L8_FRAG
 
const std::string C_SHADER_ISOSURFACE_RGBA8_VERT
 
const std::string C_SHADER_ISOSURFACE_RGBA8_FRAG
 
const std::string C_SHADER_ISOSURFACE_COLOR_L8_VERT
 
const std::string C_SHADER_ISOSURFACE_COLOR_L8_FRAG
 
const std::string C_SHADER_ISOSURFACE_COLOR_LUT8_VERT
 
const std::string C_SHADER_ISOSURFACE_COLOR_LUT8_FRAG
 
const std::string C_SHADER_ISOSURFACE_COLOR_RGBA8_VERT
 
const std::string C_SHADER_ISOSURFACE_COLOR_RGBA8_FRAG
 
const int C_SCOPE_MAX_SAMPLES
 
const int C_NUM_VOXEL_RENDERING_MODES
 

Enumeration Type Documentation

Enumerator
BULLET_MODEL_BOX 
BULLET_MODEL_SPHERE 
BULLET_MODEL_CYLINDER 
BULLET_MODEL_PLANE 
BULLET_MODEL_TRIMESH