Sensors
Detailed Description
The sensors.Basic camera sensor
Sensor with one or more rays.
Stubbed out sensor
Base class for sensors
The sensor factory; the class is just for namespacing purposes.
Modules | |
Camera | |
Ray | |
Sensor Stub | |
Classes | |
class | CameraSensor |
class | RaySensor |
class | Sensor |
class | SensorFactory |
class | SensorStub |
Defines | |
#define | GZ_REGISTER_STATIC_SENSOR(name, classname) |
Define Documentation
#define GZ_REGISTER_STATIC_SENSOR | ( | name, | |||
classname | ) |
Value:
Sensor *New##classname(Body *body) \ { \ return new classname(body); \ } \ void Register##classname() \ {\ SensorFactory::RegisterSensor("static", name, New##classname);\ }
- Parameters:
-
name Sensor type name, as it appears in the world file. classname C++ class name for the sensor.