VR-Forces 4.1 Class Documentation
DtTreeRecord.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtTreeRecord.h,v $ $Revision: 1.9 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtTreeRecord_H_
14 #define DtTreeRecord_H_
15 
16 #include <vrvCore/vrvCore.h>
17 #include <vrvCore/DtUniqueID.h>
18 
19 #include <matrix/vlVector.h>
20 #include <string>
21 
22 
23 namespace makVrv
24 {
25  class DtMessage;
26 
30  {
31 
32  public:
33 
35  DtTreeRecord();
36 
38  DtTreeRecord(DtUniqueID id, const DtVector& pos, const std::string& modelDefinitionName);
39 
41  DtTreeRecord(const DtTreeRecord& orig);
42 
44  const DtTreeRecord& operator=(const DtTreeRecord& orig);
45 
47  bool operator==(const DtTreeRecord& other) const;
48 
50  bool operator<(const DtTreeRecord& other) const;
51 
53  virtual ~DtTreeRecord();
54 
56  virtual void setUniqueId(DtUniqueID id);
57 
59  virtual DtUniqueID uniqueId() const;
60 
62  virtual void setPostion(const DtVector& pos);
63 
65  virtual const DtVector& position() const;
66 
68  virtual void setModelDefinition(const std::string& modelDef);
69 
71  virtual const std::string& modelDefinition() const;
72 
73  protected:
74 
76  void copyHelper(const DtTreeRecord& orig);
77 
78  protected:
79 
82  std::string myModelDefinition;
83 
84  };
85 
88 
91 }
92 
93 #endif
94 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)