VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfPointManipulationHandler.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 #include <matrix/vlVector.h>
20 
21 namespace makVrf
22 {
23  class DtEnvironmentalFacadeCollection;
24 
26  {
27 
28  public:
29 
31  virtual ~DtVrfPointManipulationHandler() override;
32 
33  virtual bool isTextBox() const;
34 
35  virtual void setLabel(const std::string&) override;
36  virtual void setExtendedLabels(const std::map<int, DtString>&) override;
37  virtual std::string label() const override;
38 
39  virtual void setFormattingData(const std::string&);
40  virtual std::string formattingData() const;
41 
42  virtual void setForce(int) override;
43 
44  virtual bool canChangePositionOnly() const;
45 
46  virtual HandlerType type() const override { return Point; };
47 
48  virtual bool canEmbark() const override;
49 
50  protected:
52  virtual bool createVrfObject(DtVrfObjectFacadeInterface*) override;
53  virtual bool modifyVrfObject(DtVrfObjectFacadeInterface*) override;
54 
55  virtual DtEnvironmentalFacadeCollection* createFacadeInterface();
56 
58  virtual DtVrfObjectFacadeInterface* createLocalRepresentation(DtSimObjectReference) override;
59 
60  virtual DtVrfObjectFacadeInterface* createLocalRepresentation(
61  DtSimObjectReference editStateView, makVrv::DtUniqueID sceneObjectId, DtSimObjectReference principalStateView) override;
62 
63  virtual bool typeIsValidForEditingByHandler(const makVrv::DtElementEntry::ElementType&, const DtEntityType&) const override;
64  virtual void postCreateInitialize(DtVrfObjectFacadeInterface*) override;
65 
67  virtual bool clampAtClosestPolygonOnPlacement() const override;
68 
70  virtual void slot_onAltitudeChanged(const DtVector& v, double altitude) override;
71  virtual void initializeInterfaceForEdit(DtVrfObjectFacadeInterface* iFace, makVrv::DtUniqueID sceneObjectId,
72  DtSimObjectReference editState, const DtVector& principalLocation, const DtTaitBryan& principalOrientation) override;
73  };
74 
76 }
class DtEnvironmentalFacadeCollection
Definition: environmentalFacadeCollection.h:76
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
Definition: vrfPointManipulationHandler.h:25
Definition: vrfObjectFacadeInterface.h:53
Definition: vrfObjectManipulationHandlerBaseClass.h:88
Definition: vrfObjectManipulationHandlerBaseClass.h:60
HandlerType
The type of handler this is.
Definition: vrfObjectManipulationHandlerBaseClass.h:52
virtual HandlerType type() const override
The type of handler. Used to see if two handler are equivalent.
Definition: vrfPointManipulationHandler.h:46
ElementType
Definition: DtElementEntry.h:26
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Contains makVrv::DtUniqueID type.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
Definition: vrfObjectManipulationHandlerBaseClass.h:840

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)