VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 
44 
45  DtArticulatedModelAgent* const modelAgent() const;
46  DtArticulatedModelAgent* modelAgent();
48 
50  DtUniqueID elementId() const;
51 
53 
54 
55 
56 
57  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 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)