![]() |
VR-Forces 4.8 Class Documentation
|
JRM SenSim sensor module implementation. More...

Public Types | |
| enum | ModelType { ModelTypeDefault, ModelTypeDiGuy, ModelTypeEntity } |
| used by the lighting shader to know which adjustment to use based on model type More... | |
Public Member Functions | |
| DtSenSimSensorModule (DtDe &de) | |
| CTOR. More... | |
| virtual | ~DtSenSimSensorModule () |
| DTOR. More... | |
| virtual std::string | name () const |
| Unique name of the sensor module. More... | |
| virtual std::string | displayName () const |
| Get the user interface display name for this module. More... | |
| virtual void | enableSensor (DtSensor &sensor, DtChannel &channel) |
| Apply the sensor to the specified channel. More... | |
| virtual void | disableSensor (DtSensor &sensor, DtChannel &channel) |
| Stop using the sensor on the specified channel. More... | |
| virtual void | defaultSensorConfiguration (makArchives::DtSensorRecord &rec) |
| Fill a sensor record with defaults for this sensor module. More... | |
| virtual DtSenSim * | senSim (DtOsgChannel *osgChannel) |
| Get the internal sensim object. More... | |
| virtual void | initModel (DtModelInstance &model) |
| slot for the signal_modelCreated signal so we can set the model type in a uniform More... | |
Public Member Functions inherited from makVrv::DtSensorModule | |
| virtual | ~DtSensorModule () |
| DTOR. More... | |
| virtual bool | pendingObjectInitialization () const |
| used by the SensorFX module to provide information about if the objects are initialized yet. More... | |
Protected Types | |
| typedef std::map< DtChannel *, DtSenSim * > | ChannelToSenSim |
| Map of channels to DtSenSim objects. More... | |
| typedef std::map< DtChannel *, DtSignalConnectionManager * > | ChannelToSignalManager |
| typedef std::map < DtOsgModelInstance *, DtUniqueID > | ModelInstanceIdMap |
Protected Member Functions | |
| virtual void | slot_postInit () |
| slot for the post initialization signal, initialize the rest of the signal connections here. More... | |
| void | updateCameraUniforms (const DtSensor *sensor, DtOsgChannel *osgChannel) |
| sets up the camera uniforms based on the sensor settings for the lighting override values More... | |
| virtual void | cleanupChannel (DtChannel &channel) |
| helper function for cleaning up a channel when it is no longer attached to a sensor used when a sensor mode is disabled or when the channel is destroyed. More... | |
| virtual void | modelToBeDestroyed (DtModelInstance &model) |
| slot for the model to be destroyed signal. More... | |
| virtual void | initInstance (DtUniqueID id, DtModel *model) |
| slot for instance created from the instance manager save off the model and id so we can update active regions More... | |
| virtual void | updateActiveRegion (DtOsgModelInstance *model, const std::string ®ionName, bool value) |
| slot for the active region signal from the model instance send the value of the active region to the instance manager/model More... | |
| virtual void | slot_attributeChangedBool (DtSenSim *sensim, const std::string &attributeName, bool val, const DtSensor *sensor, DtOsgChannel *osgChannel) |
| virtual void | slot_attributeChangedFloat (DtSenSim *sensim, const std::string &attributeName, float val, const DtSensor *sensor, DtOsgChannel *osgChannel) |
| virtual void | slot_setFromRecord (const DtSensor *sensor, DtOsgChannel *osgChannel) |
| virtual void | slot_channelToBeDestroyed (DtChannel *channel) |
Protected Attributes | |
| ChannelToSenSim | mySenSimChannels |
| ChannelToSignalManager | myChannelToSignalMap |
| DtDe & | myDe |
| DtSignalConnectionManager | mySignalManager |
| ModelInstanceIdMap | myModelInstanceToInstanceId |
JRM SenSim sensor module implementation.
Limited to one channel per window
|
protected |
Map of channels to DtSenSim objects.
|
protected |
|
protected |
| makVrv::DtSenSimSensorModule::DtSenSimSensorModule | ( | DtDe & | de | ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
|
virtual |
Get the user interface display name for this module.
Returns "CameraFX"
Implements makVrv::DtSensorModule.
|
virtual |
Apply the sensor to the specified channel.
Implements makVrv::DtSensorModule.
|
virtual |
Stop using the sensor on the specified channel.
Implements makVrv::DtSensorModule.
|
virtual |
Fill a sensor record with defaults for this sensor module.
Implements makVrv::DtSensorModule.
|
virtual |
Get the internal sensim object.
|
virtual |
slot for the signal_modelCreated signal so we can set the model type in a uniform
|
protectedvirtual |
slot for the post initialization signal, initialize the rest of the signal connections here.
|
protected |
sets up the camera uniforms based on the sensor settings for the lighting override values
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
helper function for cleaning up a channel when it is no longer attached to a sensor used when a sensor mode is disabled or when the channel is destroyed.
|
protectedvirtual |
slot for the model to be destroyed signal.
handle cleanup for this model here
|
protectedvirtual |
slot for instance created from the instance manager save off the model and id so we can update active regions
|
protectedvirtual |
slot for the active region signal from the model instance send the value of the active region to the instance manager/model
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |