![]() |
VR-Forces Developer's Guide
|
Template class that defines vertex manipulation handlers.

Public Member Functions | |
| DtVrfVertexManipulationHandler (makVrv::DtDe &de) | |
| virtual | ~DtVrfVertexManipulationHandler () |
| virtual void | editSelectedObjects (const makVrv::DtUniqueID &editId, makVrv::DtChannel &initiatingChannel, double waitTimeAfterComplete=0., const makVrv::DtSelectionManager::IdSet &editing=makVrv::DtSelectionManager::IdSet()) |
| virtual HandlerType | type () const |
| virtual DtVector | localLocation () override |
Protected Member Functions | |
| virtual void | editSelectedVertex (const makVrv::DtUniqueID &vertexId, const DtVector &vertexPos, makVrv::DtChannel &initiatingChannel) |
| virtual void | slot_onStateViewUpdated (DtSimObjectReference editStateView, makVrv::DtUniqueID sceneObjectId, double vx, double vy, double vz) |
| virtual void | slot_onLocationChanged (const DtVector &location, double altAboveGround) |
| virtual void | setLocation (const DtVector &loc) |
| virtual DtVector | vertexPosition (DtEnvironmentalFacadeCollection *iFace, int index) const |
| virtual bool | anchorPositionIsMouse () const |
| virtual void | initializeEventProcessor () |
| makVrf::DtVrfVertexManipulationHandler< _Handler >::DtVrfVertexManipulationHandler | ( | makVrv::DtDe & | de | ) |
|
virtual |
|
virtual |
Starts the process of object creation.
|
inlinevirtual |
|
overridevirtual |
When editing a vertex, the "current location" of the edited object is the selected vertex's position, not the parent shape's origin. Returning the origin here caused the editing dialog to snap the selected vertex onto the first vertex of the shape.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Return the vertex position at the specified index.
|
protectedvirtual |
Return false – when editing a vertex the default position is not the mouse.
|
protectedvirtual |
Disallow embarkation of individual vertices.