My Project
Loading...
Searching...
No Matches
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.
 

Public Attributes

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

Detailed Description

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

Constructor & Destructor Documentation

◆ cCollisionSettings()

chai3d::cCollisionSettings::cCollisionSettings ( )
inline

Member Data Documentation

◆ m_checkForNearestCollisionOnly

bool chai3d::cCollisionSettings::m_checkForNearestCollisionOnly

◆ m_returnMinimalCollisionData

bool chai3d::cCollisionSettings::m_returnMinimalCollisionData

◆ m_checkVisibleObjects

bool chai3d::cCollisionSettings::m_checkVisibleObjects

◆ m_checkHapticObjects

bool chai3d::cCollisionSettings::m_checkHapticObjects

◆ m_adjustObjectMotion

bool chai3d::cCollisionSettings::m_adjustObjectMotion

◆ m_ignoreShapes

bool chai3d::cCollisionSettings::m_ignoreShapes

◆ m_collisionRadius

double chai3d::cCollisionSettings::m_collisionRadius

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