#include <RaycastSensorData.h>
Inheritance diagram for opal::RaycastSensorData:
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 |
Definition at line 37 of file RaycastSensorData.h.
|
Definition at line 40 of file RaycastSensorData.h. References opal::defaults::shape::contactGroup, contactGroup, opal::SensorData::mType, and opal::RAYCAST_SENSOR. |
|
Copy constructor.
Definition at line 49 of file RaycastSensorData.h. |
|
Definition at line 54 of file RaycastSensorData.h. |
|
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. |
|
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(). |
|
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(). |