![]() |
VR-Forces 4.0.4 Class Documentation
|
This driver will manage the creation, modification and removal of range line objects. More...

Public Member Functions | |
| DtRangeLineDriver (makVrv::DtDe &) | |
| CTOR. | |
| virtual | ~DtRangeLineDriver () |
| DTOR. | |
| virtual DtRangeLineElement * | create (const DtVector &start, const DtVector &end) |
| Create and return a new range line with the given start and end points. | |
| virtual void | create (const AttachPoints &ap=AttachPoints()) |
| Use event processor to create. | |
Protected Member Functions | |
| virtual makVrv::DtBasicEditingEventProcessor * | createEventProcessor () const |
| Creates the event processor used for mouse and keyboard controls. | |
| virtual makVrv::DtIntervisibilityStateListener * | createListener (const std::string &definition) const |
| Creates a new listener to be used with the element being created. | |
| virtual makVrv::DtIntervisibilityElement * | createElement (makVrv::DtIntervisibilityStateListener *, const makVrv::DtUnicode &definition) const |
| Creates a new shape element for the given listener. | |
| virtual bool | isAttachableObjectType (makVrv::DtElementEntry::ObjectType t) const |
| Return true if the object type can be used as an anchor for an range line point. | |
| virtual bool | isAttachableObjectType (makVrv::DtUniqueID id) const |
| virtual void | slot_place (makVrv::DtUniqueID attachTo, DtVector v, double altAboveGround) |
| Signal sent on left click of mouse on terrain or object. | |
| virtual void | completeSetup () |
| Makes final connections. | |
| void | installElementDefinitions (makVrv::DtElementDefinitionManager &manager) |
| Creates and installed procedural element definitions into the manager. | |
| void | createVisualizerDefinitions (makVrv::DtElementDefinitionManager &manager, int modelSet) |
This driver will manage the creation, modification and removal of range line objects.
Will use the event processor for mouse and keyboard processing if necessary
| virtual exampleRangeLine::DtRangeLineDriver::~DtRangeLineDriver | ( | ) | [virtual] |
DTOR.
| virtual DtRangeLineElement* exampleRangeLine::DtRangeLineDriver::create | ( | const DtVector & | start, |
| const DtVector & | end | ||
| ) | [virtual] |
Create and return a new range line with the given start and end points.
| virtual void exampleRangeLine::DtRangeLineDriver::create | ( | const AttachPoints & | ap = AttachPoints() | ) | [virtual] |
Use event processor to create.
| virtual makVrv::DtBasicEditingEventProcessor* exampleRangeLine::DtRangeLineDriver::createEventProcessor | ( | ) | const [protected, virtual] |
Creates the event processor used for mouse and keyboard controls.
Reimplemented from makVrv::DtIntervisibilityDriver.
| virtual makVrv::DtIntervisibilityStateListener* exampleRangeLine::DtRangeLineDriver::createListener | ( | const std::string & | definition | ) | const [protected, virtual] |
Creates a new listener to be used with the element being created.
Reimplemented from makVrv::DtIntervisibilityDriver.
| virtual makVrv::DtIntervisibilityElement* exampleRangeLine::DtRangeLineDriver::createElement | ( | makVrv::DtIntervisibilityStateListener * | , |
| const makVrv::DtUnicode & | definition | ||
| ) | const [protected, virtual] |
Creates a new shape element for the given listener.
Reimplemented from makVrv::DtIntervisibilityDriver.
| virtual bool exampleRangeLine::DtRangeLineDriver::isAttachableObjectType | ( | makVrv::DtElementEntry::ObjectType | t | ) | const [protected, virtual] |
Return true if the object type can be used as an anchor for an range line point.
| virtual bool exampleRangeLine::DtRangeLineDriver::isAttachableObjectType | ( | makVrv::DtUniqueID | id | ) | const [protected, virtual] |
| virtual void exampleRangeLine::DtRangeLineDriver::slot_place | ( | makVrv::DtUniqueID | , |
| DtVector | , | ||
| double | altAboveGround | ||
| ) | [protected, virtual] |
Signal sent on left click of mouse on terrain or object.
ID is the item clicked on. Vector is in local database coordinates
Reimplemented from makVrv::DtIntervisibilityDriver.
| virtual void exampleRangeLine::DtRangeLineDriver::completeSetup | ( | ) | [protected, virtual] |
Makes final connections.
Reimplemented from makVrv::DtIntervisibilityDriver.
| void exampleRangeLine::DtRangeLineDriver::installElementDefinitions | ( | makVrv::DtElementDefinitionManager & | manager | ) | [protected] |
Creates and installed procedural element definitions into the manager.
Reimplemented from makVrv::DtIntervisibilityDriver.
| void exampleRangeLine::DtRangeLineDriver::createVisualizerDefinitions | ( | makVrv::DtElementDefinitionManager & | manager, |
| int | modelSet | ||
| ) | [protected] |