VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtNavigationDaymark.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 
14 
15 namespace makVrv
16 {
17  class DtArticulatedModelAgent;
18  class DtBuoyTextureAtlasFileParser;
19 
26  {
27  public:
28 
31 
32  typedef std::vector<std::pair<std::string,std::string> > AttrValPairs;
33 
35  virtual ~DtNavigationDaymark();
36 
40  virtual void attach( DtArticulatedModelAgent* modelAgent,
41  const std::string& atlasFileName, DtBuoyTextureAtlasFileParser* parser );
42 
45  virtual void update( DtTime simTime );
46 
48 
49 
50  void setShape( unsigned int color );
51  unsigned int shape() const;
53 
55 
56 
57 
58  void setDaymarkShapeSwitchNumber( int switchNum );
59  int daymarkShapeSwitchNumber() const;
61 
63 
64 
68 
69  protected:
70 
73 
76 
79 
82  const DtNavigationDaymark& rhs );
83 
84  protected:
86  unsigned int myShape;
87 
89  };
90 
94  : public DtVirtualBaseClass
95  {
96 
97  public:
100  static DtNavigationDaymarkCreator& instance( DtDe& de );
101 
103  static void registerInstance( DtDe& de,
104  DtNavigationDaymarkCreator* anInstance );
105 
107  virtual DtNavigationDaymark* create( DtUniqueID elementId );
108  };
109 }

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)