VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtNavigationFeature.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
13 
15 #include <vrvCore/DtUniqueID.h>
16 
17 #include <matrix/vlVector.h>
18 
19 namespace makVrv
20 {
21  class DtArticulatedModelAgent;
22  class DtTextureAtlasIndexParser;
23  class DtBuoyOrBeaconFacade;
24 
30  {
31  public:
32 
34  friend class DtNavigationFeatureCreator;
35 
37  virtual ~DtNavigationFeature();
38 
39  // attach and update have different arguments for different
40  // objects, put those functions in the derived classes
41 
43  DtArticulatedModelAgent* const modelAgent() const;
46  DtArticulatedModelAgent* modelAgent();
48 
50  DtUniqueID elementId() const;
51 
53  void setPosition( const DtVector& position );
58  const DtVector& position() const;
60 
64  virtual void attach( DtBuoyOrBeaconFacade& buoyOrBeacon );
65 
66  virtual void detach( DtBuoyOrBeaconFacade& buoyOrBeacon );
67 
68  virtual void setPresenceSwitchNumber( int switchNum );
69  virtual int presenceSwitchNumber() const;
70 
71  virtual void setTypeSwitchNumber( int typeNum );
72  virtual int typeSwitchNumber() const;
73 
74  virtual void setAttachableType( DtBuoyBeaconLayer::AttachableTypes attType );
75  virtual DtBuoyBeaconLayer::AttachableTypes attachableType();
76 
77 
78  protected:
79 
81  DtNavigationFeature( DtUniqueID elementId );
82 
85 
88 
90  const DtNavigationFeature& operator=(
91  const DtNavigationFeature& rhs );
92 
93  protected:
96  DtArticulatedModelAgent* myModelAgent;
97  DtArticulatedModelAgent* myColorizedModelAgent;
101  };
102 }
DtUniqueID myElementId
Definition: DtNavigationFeature.h:94
DtVector myPosition
Definition: DtNavigationFeature.h:95
Contains makVrv::DtBuoyBeaconLayer class.
AttachableTypes
These are used to tell managers of attachable items what type of item they manage; they are also used...
Definition: DtBuoyBeaconLayer.h:46
DtBuoyBeaconLayer::AttachableTypes myAttachableType
Definition: DtNavigationFeature.h:100
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
The DtNavigationFeature can be attached to any articulated model through an articulated model agent...
Definition: DtNavigationFeature.h:29
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
DtArticulatedModelAgent * myColorizedModelAgent
Definition: DtNavigationFeature.h:97
int myTypeSwitchNumber
Definition: DtNavigationFeature.h:99
Contains makVrv::DtUniqueID type.
DtArticulatedModelAgent * myModelAgent
Definition: DtNavigationFeature.h:96
The DtEntityFacade is a facade around agents that make up an entity.
Definition: DtBuoyOrBeaconFacade.h:24
int myPresenceSwitchNumber
Definition: DtNavigationFeature.h:98
Contains DLL export macros.

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)