VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions
makVrf::DtVrfVertexManipulationHandler< _Handler > Class Template Reference

template<typename _Handler>
class makVrf::DtVrfVertexManipulationHandler< _Handler >

Template class that defines vertex manipulation handlers.

Inheritance diagram for makVrf::DtVrfVertexManipulationHandler< _Handler >:
Inheritance graph
[legend]

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 ()
 

Constructor & Destructor Documentation

template<typename _Handler>
virtual makVrf::DtVrfVertexManipulationHandler< _Handler >::~DtVrfVertexManipulationHandler ( )
virtual

Member Function Documentation

template<typename _Handler>
virtual void makVrf::DtVrfVertexManipulationHandler< _Handler >::editSelectedObjects ( const makVrv::DtUniqueID &  editId,
makVrv::DtChannel &  initiatingChannel,
double  waitTimeAfterComplete = 0.,
const makVrv::DtSelectionManager::IdSet &  editing = makVrv::DtSelectionManager::IdSet() 
)
virtual

Starts the process of object creation.

template<typename _Handler>
virtual HandlerType makVrf::DtVrfVertexManipulationHandler< _Handler >::type ( void  ) const
inlinevirtual
template<typename _Handler>
virtual DtVector makVrf::DtVrfVertexManipulationHandler< _Handler >::localLocation ( )
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.

template<typename _Handler>
virtual void makVrf::DtVrfVertexManipulationHandler< _Handler >::editSelectedVertex ( const makVrv::DtUniqueID &  vertexId,
const DtVector &  vertexPos,
makVrv::DtChannel &  initiatingChannel 
)
protectedvirtual
template<typename _Handler>
virtual void makVrf::DtVrfVertexManipulationHandler< _Handler >::slot_onStateViewUpdated ( DtSimObjectReference  editStateView,
makVrv::DtUniqueID  sceneObjectId,
double  vx,
double  vy,
double  vz 
)
protectedvirtual
template<typename _Handler>
virtual void makVrf::DtVrfVertexManipulationHandler< _Handler >::slot_onLocationChanged ( const DtVector &  location,
double  altAboveGround 
)
protectedvirtual
template<typename _Handler>
virtual void makVrf::DtVrfVertexManipulationHandler< _Handler >::setLocation ( const DtVector &  loc)
protectedvirtual
template<typename _Handler>
virtual DtVector makVrf::DtVrfVertexManipulationHandler< _Handler >::vertexPosition ( DtEnvironmentalFacadeCollection *  iFace,
int  index 
) const
protectedvirtual

Return the vertex position at the specified index.

template<typename _Handler>
virtual bool makVrf::DtVrfVertexManipulationHandler< _Handler >::anchorPositionIsMouse ( ) const
protectedvirtual

Return false – when editing a vertex the default position is not the mouse.

template<typename _Handler>
virtual void makVrf::DtVrfVertexManipulationHandler< _Handler >::initializeEventProcessor ( )
protectedvirtual

Disallow embarkation of individual vertices.


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

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)