![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2011 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtVrfVertexManipulationHandler.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00011 00013 00014 #pragma once 00015 00016 #include <vrfGuiCore/vrfGuiCore.h> 00017 #include <vrfGuiCore/DtEnvironmentalFacadeCollection.h> 00018 #include <vrfGuiCore/DtVrfObjectManipulationHandlerBaseClass.h> 00019 00020 #include <vlutil/vlExceptions.h> 00021 #include <vrfGuiCore/DtEnvironmentState.h> 00022 00023 #include <vrvCore/DtUniqueID.h> 00024 00025 #include <vrvCore/DtSimData.h> 00026 00027 #include <vlpi/entityType.h> 00028 00029 00030 class DtVector; 00031 00032 namespace makVrv 00033 { 00034 class DtSimEntry; 00035 class DtAgentManagerInterface; 00036 class DtChannel; 00037 struct DtVrlinkSimulatedBaseState; 00038 struct DtVrlinkSimulatedEntityState; 00039 }; 00040 00041 namespace makVrf 00042 { 00044 template <typename _Handler> 00045 class DtVrfVertexManipulationHandler : public _Handler 00046 { 00047 public: 00048 DtVrfVertexManipulationHandler( makVrv::DtDe& de); 00049 00050 virtual ~DtVrfVertexManipulationHandler(); 00051 00052 public: 00054 virtual void editSelectedObjects( const makVrv::DtUniqueID& editId, 00055 makVrv::DtChannel& initiatingChannel, double waitTimeAfterComplete ); 00056 00057 protected: 00058 00059 virtual void editSelectedVertex( const makVrv::DtUniqueID& vertexId, 00060 const DtVector& vertexPos, makVrv::DtChannel& initiatingChannel ); 00061 00062 virtual void slot_onStateViewUpdated( DtVrlinkSimulatedBaseStateView* editStateView, 00063 makVrv::DtUniqueID sceneObjectId, double vx, double vy, double vz ); 00064 00065 virtual void slot_onLocationChanged( const DtVector& location, double altAboveGround ); 00066 00067 virtual void setLocation( const DtVector& loc ); 00068 00070 virtual DtVector vertexPosition(DtEnvironmentalFacadeCollection* iFace, int index) const; 00071 }; 00072 } 00073 00074 #include <vrfGuiCore/DtVrfVertexManipulationHandler.inl>