VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
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
29
class
DT_DLL_VRVCORE
DtTreeRecord
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
80
DtUniqueID
myUniqueId
;
81
DtVector
myPosition
;
82
std::string
myModelDefinition
;
83
84
};
85
87
DT_DLL_VRVCORE
DtMessage
&
operator<<
(
DtMessage
& msg,
const
DtTreeRecord
& record );
88
90
DT_DLL_VRVCORE
DtMessage
&
operator>>
(
DtMessage
& msg,
DtTreeRecord
& record );
91
}
92
93
#endif
94
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)