chai3d::cCollisionSettings Struct Reference

This structure stores the collision settings that are passed to a collision detector when querying for collisions. More...

#include <CCollisionBasics.h>

Public Member Functions

 cCollisionSettings ()
 Constructor of cCollisionSettings. More...
 

Public Attributes

bool m_checkForNearestCollisionOnly
 If true, only return the nearest collision event. More...
 
bool m_returnMinimalCollisionData
 If true, return minimal amount of data about the collision. More...
 
bool m_checkVisibleObjects
 If true, then collision detector shall check for collisions on visible objects (m_showEnabled == true). More...
 
bool m_checkHapticObjects
 If true, then collision detector shall check for collisions on haptic enabled objects (m_hapticEnabled == true). More...
 
bool m_adjustObjectMotion
 If true, then adjust for object motion. (See dynamic proxy model). More...
 
bool m_ignoreShapes
 If true, collision with shape objects are ignored (e.g. cShapeSphere, cShapeCylinder, cShapeBox, etc...) More...
 
double m_collisionRadius
 Collision radius. This value typically corresponds to the radius of the virtual tool or cursor. More...
 

Detailed Description

This structure stores the collision settings that are passed to a collision detector when querying for collisions.

Constructor & Destructor Documentation

chai3d::cCollisionSettings::cCollisionSettings ( )
inline

Member Data Documentation

bool chai3d::cCollisionSettings::m_checkForNearestCollisionOnly
bool chai3d::cCollisionSettings::m_returnMinimalCollisionData
bool chai3d::cCollisionSettings::m_checkVisibleObjects
bool chai3d::cCollisionSettings::m_checkHapticObjects
bool chai3d::cCollisionSettings::m_adjustObjectMotion
bool chai3d::cCollisionSettings::m_ignoreShapes
double chai3d::cCollisionSettings::m_collisionRadius

The documentation for this struct was generated from the following file: