VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfPersistentTrackSwitchHandler.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2016 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 #include <matrix/vlVector.h>
17 
19 class DtIfEmbarkObject;
20 
21 namespace makVrf
22 {
23  class DtInteractionFacadeCollection;
24 
27  {
28  public:
29 
31  virtual ~DtVrfPersistentTrackSwitchHandler() override;
32 
33  virtual HandlerType type() const override { return Detonation; };
34 
35  virtual bool clampAtClosestPolygonOnPlacement() const override;
36  virtual bool canSetActivationTime() const override;
37  virtual bool needsEmbarkOnCheck() const override;
38  virtual bool canEmbark() const override;
39 
42  virtual bool createVrfObject(DtVrfObjectFacadeInterface*) override;
43 
44  virtual bool modifyVrfObject(DtVrfObjectFacadeInterface*) override;
45 
47  virtual DtVrfObjectFacadeInterface* createLocalRepresentation(DtSimObjectReference editStateView = DtSimObjectReference::nullReference()) override;
48 
49  virtual void initializeEventProcessor() override;
50 
51  virtual bool canChangePositionOnly() const;
52 
53  virtual DtVrfObjectFacadeInterface* createLocalRepresentation(DtSimObjectReference editStateView,
54  makVrv::DtUniqueID sceneObjectId, DtSimObjectReference principalStateView) override;
55 
56  virtual void setLocationToSwitch(const DtVector&);
57  const DtVector& locationToSwitch() const { return myLocationToSwitch; };
58 
59  protected:
60  DtVector myLocationToSwitch;
61  };
62 
63  typedef DtVrfObjectManipulationHandlerCreator<DtVrfPersistentTrackSwitchHandler>
65 }
DtVrfObjectManipulationHandlerCreator< DtVrfPersistentTrackSwitchHandler > DtVrfPersistentTrackSwitchHandlerCreator
Definition: vrfPersistentTrackSwitchHandler.h:64
DtRwNLengthStringVector is a named, readable/writable vector of strings of arbitrary length...
Definition: rwNLengthStringVector.h:28
Definition: vrfShapeManipulationHandler.h:29
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
static DtSimObjectReferenceTemplate nullReference()
Instances of this class are the interface message content used to embark an object on the specified p...
Definition: ifEmbarkObject.h:22
Definition: vrfObjectFacadeInterface.h:53
HandlerType
The type of handler this is.
Definition: vrfObjectManipulationHandlerBaseClass.h:52
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
virtual HandlerType type() const override
The type of handler. Used to see if two handler are equivalent.
Definition: vrfPersistentTrackSwitchHandler.h:33
Contains makVrv::DtUniqueID type.
Definition: vrfObjectManipulationHandlerBaseClass.h:65
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
Creation/edit of entity objects.
Definition: vrfPersistentTrackSwitchHandler.h:26

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)