opal::RaycastSensorData Class Reference

A data structure describing a RaycastSensor. More...

#include <RaycastSensorData.h>

Inheritance diagram for opal::RaycastSensorData:

opal::SensorData List of all members.

Public Member Functions

OPAL_DECL RaycastSensorData ()
OPAL_DECL RaycastSensorData (const RaycastSensorData &data)
virtual OPAL_DECL ~RaycastSensorData ()
virtual OPAL_DECL void OPAL_CALL operator= (const RaycastSensorData &data)

Public Attributes

Rayr ray
unsigned int contactGroup

Detailed Description

A data structure describing a RaycastSensor.

Definition at line 37 of file RaycastSensorData.h.

Constructor & Destructor Documentation

OPAL_DECL opal::RaycastSensorData::RaycastSensorData  )  [inline]

Definition at line 40 of file RaycastSensorData.h.

References opal::defaults::shape::contactGroup, contactGroup, opal::SensorData::mType, and opal::RAYCAST_SENSOR.

OPAL_DECL opal::RaycastSensorData::RaycastSensorData const RaycastSensorData data  )  [inline]

Copy constructor.

Definition at line 49 of file RaycastSensorData.h.

virtual OPAL_DECL opal::RaycastSensorData::~RaycastSensorData  )  [inline, virtual]

Definition at line 54 of file RaycastSensorData.h.

Member Function Documentation

virtual OPAL_DECL void OPAL_CALL opal::RaycastSensorData::operator= const RaycastSensorData data  )  [inline, virtual]

Makes a deep copy.

Definition at line 59 of file RaycastSensorData.h.

References contactGroup, opal::SensorData::enabled, opal::SensorData::internal_solidIndex, opal::SensorData::mType, opal::SensorData::name, ray, opal::SensorData::solid, opal::SensorData::solidBlueprintRefName, and opal::SensorData::transform.

Member Data Documentation

unsigned int opal::RaycastSensorData::contactGroup

The ray's contact group. This can be used to limit which objects the ray collides with. If this exceeds 31, bad things might happen since there are only 32 groups.

Definition at line 82 of file RaycastSensorData.h.

Referenced by opal::RaycastSensor::firePiercingRay(), opal::RaycastSensor::fireRay(), operator=(), and RaycastSensorData().

Rayr opal::RaycastSensorData::ray

The ray used by this Sensor for ray casting. The length of the ray is important; objects beyond the length of the ray will not be intersected. Keep in mind that the Sensor's transform may affect the ray's final origin and direction.

Definition at line 77 of file RaycastSensorData.h.

Referenced by opal::RaycastSensor::firePiercingRay(), opal::RaycastSensor::fireRay(), opal::RaycastSensor::getRay(), operator=(), and opal::RaycastSensor::setRay().

The documentation for this class was generated from the following file:
Generated on Tue May 16 17:49:57 2006 for OPAL by  doxygen 1.4.6-NO