VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions
exampleRangeLine::DtRangeLineDriver Class Reference

This driver will manage the creation, modification and removal of range line objects. More...

Inheritance diagram for exampleRangeLine::DtRangeLineDriver:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtRangeLineDriver (makVrv::DtDe &)
 CTOR.
virtual ~DtRangeLineDriver ()
 DTOR.
virtual DtRangeLineElementcreate (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)

Detailed Description

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


Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

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.

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.

Creates a new shape element for the given listener.

Reimplemented from makVrv::DtIntervisibilityDriver.

Return true if the object type can be used as an anchor for an range line point.

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.

Creates and installed procedural element definitions into the manager.

Reimplemented from makVrv::DtIntervisibilityDriver.


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)