VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
makVrv::DtSenSimSensorModule Class Reference

JRM SenSim sensor module implementation. More...

Inheritance diagram for makVrv::DtSenSimSensorModule:
Inheritance graph
[legend]

Public Member Functions

 DtSenSimSensorModule ()
 CTOR.
virtual ~DtSenSimSensorModule ()
 DTOR.
virtual std::string name () const
 Unique name of the sensor module.
virtual std::string displayName () const
 Get the user interface display name for this module.
virtual void enableSensor (DtSensor &sensor, DtChannel &channel)
 Apply the sensor to the specified channel.
virtual void disableSensor (DtSensor &sensor, DtChannel &channel)
 Stop using the sensor on the specified channel.
virtual void defaultSensorConfiguration (makArchives::DtSensorRecord &rec)
 Fill a sensor record with defaults for this sensor module.
- Public Member Functions inherited from makVrv::DtSensorModule
virtual ~DtSensorModule ()
 DTOR.

Protected Types

typedef std::map< DtChannel
*, SenSim * > 
ChannelToSenSim
 Map of channels to SenSim objects.

Protected Member Functions

virtual void slot_viewportChanged (DtChannel *channel, int x, int y, int width, int height)
 Called when a channel using a sensor changes its viewport.
virtual void slot_attributeChangedBool (SenSim *sensim, const std::string attributeName, bool val)
virtual void slot_attributeChangedFloat (SenSim *sensim, const std::string attributeName, float val)

Protected Attributes

osg::Camera::DrawCallback * myCameraCallback
ChannelToSenSim mySenSimChannels

Detailed Description

JRM SenSim sensor module implementation.

Limited to one channel per window

Member Typedef Documentation

typedef std::map<DtChannel*, SenSim*> makVrv::DtSenSimSensorModule::ChannelToSenSim
protected

Map of channels to SenSim objects.

Constructor & Destructor Documentation

makVrv::DtSenSimSensorModule::DtSenSimSensorModule ( )

CTOR.

virtual makVrv::DtSenSimSensorModule::~DtSenSimSensorModule ( )
virtual

DTOR.

Member Function Documentation

virtual std::string makVrv::DtSenSimSensorModule::name ( ) const
virtual

Unique name of the sensor module.

Returns "DtSenSimSensorModule"

Implements makVrv::DtSensorModule.

virtual std::string makVrv::DtSenSimSensorModule::displayName ( ) const
virtual

Get the user interface display name for this module.

Returns "SenSim"

Implements makVrv::DtSensorModule.

virtual void makVrv::DtSenSimSensorModule::enableSensor ( DtSensor sensor,
DtChannel channel 
)
virtual

Apply the sensor to the specified channel.

Implements makVrv::DtSensorModule.

virtual void makVrv::DtSenSimSensorModule::disableSensor ( DtSensor sensor,
DtChannel channel 
)
virtual

Stop using the sensor on the specified channel.

Implements makVrv::DtSensorModule.

virtual void makVrv::DtSenSimSensorModule::defaultSensorConfiguration ( makArchives::DtSensorRecord rec)
virtual

Fill a sensor record with defaults for this sensor module.

Implements makVrv::DtSensorModule.

virtual void makVrv::DtSenSimSensorModule::slot_attributeChangedBool ( SenSim *  sensim,
const std::string  attributeName,
bool  val 
)
protectedvirtual
virtual void makVrv::DtSenSimSensorModule::slot_attributeChangedFloat ( SenSim *  sensim,
const std::string  attributeName,
float  val 
)
protectedvirtual
virtual void makVrv::DtSenSimSensorModule::slot_viewportChanged ( DtChannel channel,
int  x,
int  y,
int  width,
int  height 
)
protectedvirtual

Called when a channel using a sensor changes its viewport.

Member Data Documentation

osg::Camera::DrawCallback* makVrv::DtSenSimSensorModule::myCameraCallback
protected
ChannelToSenSim makVrv::DtSenSimSensorModule::mySenSimChannels
protected

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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)