VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vrfPropManipulationHandler.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include <vrfGuiCore/vrfGuiCore.h>
15 #include <vrvCore/DtUniqueID.h>
16 
17 #include <vlpi/entityType.h>
18 
19 class DtVector;
20 
21 namespace makVrf
22 {
27  {
28  public:
29 
32 
35 
36  public:
37  virtual void slot_onPlace(makVrv::DtUniqueID, const DtVector& location, double altAboveGround);
38 
39  virtual HandlerType type() const { return Prop; };
40 
41  virtual void restore();
42 
43  virtual void setHeading(DtVrfObjectFacadeInterface* objectImage, double heading);
44 
45  protected:
46  virtual bool createVrfObject();
47  virtual void createTerrainProp(DtVector& geocPosition);
48  virtual DtVrfObjectFacadeInterface* createLocalRepresentation(DtVrlinkSimulatedBaseStateView* editStateView = 0);
49  virtual void postCreateInitialize();
50 
51  virtual void editSelectedObjects( const makVrv::DtUniqueID& principalID,
52  makVrv::DtChannel& initiatingChannel, double waitTimeAfterComplete = 0.,
54  virtual DtVrfObjectFacadeInterface* createLocalRepresentation(const makVrv::DtUniqueID&);
55  virtual void slot_onCancel(bool escPressed);
56 
57  virtual bool modifyVrfObjects();
58 
59  virtual void initializeEventProcessor();
60  virtual void setObjectImageAsAnchor(DtVrfObjectFacadeInterface* objectImage, const DtVector& geocLocation,
61  bool resetOrigin);
62  };
63 
64  typedef DtVrfObjectManipulationHandlerCreator<DtVrfPropManipulationHandler>
66 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)