![]() |
VR-Forces 4.0.4 Class Documentation
|
The DtTacticalGraphicDataInterface class is a wrapper around state views to give access to convenience methods which will allow developers to more easily access data about those objects. More...

Public Member Functions | |
| DtTacticalGraphicDataInterface (makVrv::DtDe &) | |
| virtual | ~DtTacticalGraphicDataInterface () |
| virtual void | setStateView (const makVrv::DtStateView< makVrv::DtSimState > *) |
| Called to set the state view this data will wrap. | |
| virtual makVrv::DtElementEntry::ElementType | type () const |
| Returns the type of this object. Used for dynamic casting to proper sub-class. | |
| virtual DtVector | location (Representation rep=Local) const |
| Returns the first point in the myPoints list of the state view. | |
| virtual std::vector< DtVector > | locations (Representation rep=Local) const |
| Returns all points. | |
| virtual std::string | userData () const |
| Returns the user data associated with this object. | |
| virtual int | lineStyle () const |
| Returns the line style of this environmental. | |
| virtual int | fillStyle () const |
| Returns the fill style. | |
| virtual int | lineWidth () const |
| Returns the line width. | |
| virtual int | color () const |
| Returns the color (RGBA value) | |
| makVrv::DtStateView < DtVrlinkSimulatedEnvironmentProcess > * | environmentStateView () const |
| Returns the state view of this class. | |
Protected Member Functions | |
| virtual void | slot_simObjectEntryAboutToBeRemoved (makVrv::DtSimObjectEntry &) |
| Slot that is called when the state view is destroyed. Will mark this item as removed by clearing out internal pointers. | |
Protected Attributes | |
| makVrv::DtStateView < DtVrlinkSimulatedEnvironmentProcess > * | myTacticalGraphicStateView |
The DtTacticalGraphicDataInterface class is a wrapper around state views to give access to convenience methods which will allow developers to more easily access data about those objects.
It will also provide some basic manipulation for that object
| virtual makVrf::DtTacticalGraphicDataInterface::~DtTacticalGraphicDataInterface | ( | ) | [virtual] |
| virtual void makVrf::DtTacticalGraphicDataInterface::setStateView | ( | const makVrv::DtStateView< makVrv::DtSimState > * | ) | [virtual] |
Called to set the state view this data will wrap.
Subclasses are responsible for providing interface to access the specific data, however, you can access the data through the state() members of the contained state views. Overridden to cast to appropriate type
Reimplemented from makVrf::DtVrfVrlinkDataInterface.
| virtual makVrv::DtElementEntry::ElementType makVrf::DtTacticalGraphicDataInterface::type | ( | ) | const [virtual] |
Returns the type of this object. Used for dynamic casting to proper sub-class.
Reimplemented from makVrf::DtObjectDataInterface.
| virtual DtVector makVrf::DtTacticalGraphicDataInterface::location | ( | Representation | rep = Local | ) | const [virtual] |
Returns the first point in the myPoints list of the state view.
| virtual std::vector<DtVector> makVrf::DtTacticalGraphicDataInterface::locations | ( | Representation | rep = Local | ) | const [virtual] |
Returns all points.
| virtual std::string makVrf::DtTacticalGraphicDataInterface::userData | ( | ) | const [virtual] |
Returns the user data associated with this object.
| virtual int makVrf::DtTacticalGraphicDataInterface::lineStyle | ( | ) | const [virtual] |
Returns the line style of this environmental.
| virtual int makVrf::DtTacticalGraphicDataInterface::fillStyle | ( | ) | const [virtual] |
Returns the fill style.
| virtual int makVrf::DtTacticalGraphicDataInterface::lineWidth | ( | ) | const [virtual] |
Returns the line width.
| virtual int makVrf::DtTacticalGraphicDataInterface::color | ( | ) | const [virtual] |
Returns the color (RGBA value)
| makVrv::DtStateView<DtVrlinkSimulatedEnvironmentProcess>* makVrf::DtTacticalGraphicDataInterface::environmentStateView | ( | ) | const [inline] |
Returns the state view of this class.
| virtual void makVrf::DtTacticalGraphicDataInterface::slot_simObjectEntryAboutToBeRemoved | ( | makVrv::DtSimObjectEntry & | ) | [protected, virtual] |
Slot that is called when the state view is destroyed. Will mark this item as removed by clearing out internal pointers.
Reimplemented from makVrf::DtVrfVrlinkDataInterface.
makVrv::DtStateView<DtVrlinkSimulatedEnvironmentProcess>* makVrf::DtTacticalGraphicDataInterface::myTacticalGraphicStateView [protected] |