15 #include <matrix/vlVector.h>
16 #include <vlpi/entityType.h>
17 #include <vlpi/appearance.h>
18 #include <vlutil/vlString.h>
30 const std::string& name =
"",
const std::string& label =
"",
double heading = 0.,
31 const DtAppearance& appearance = DtAppearance::nullAppearance(),
bool clampToGround =
true,
32 bool createSubordinates =
true,
int requestId = -1,
const std::string& initialFormation =
"",
33 int aggregateState = 0,
const std::map<std::string, std::string>& extendedData = std::map<std::string, std::string>(),
34 const std::map<int, DtString>& extendedLabels = std::map<int, DtString>(),
const std::string& overlayParent =
"")
37 , myEntityType(entType)
39 , myLocation(location)
41 , myAppearance(appearance)
42 , myClamp(clampToGround)
43 , myCreateSubordinates(createSubordinates)
44 , myRequestId(requestId)
45 , myInitialFormation(initialFormation)
46 , myAggregateState(aggregateState)
47 , myExtendedData(extendedData)
48 , myExtendedLabels(extendedLabels)
49 , myOverlayParent(overlayParent)
55 , myLabel(orig.myLabel)
56 , myEntityType(orig.myEntityType)
57 , myForce(orig.myForce)
58 , myLocation(orig.myLocation)
59 , myHeading(orig.myHeading)
60 , myAppearance(orig.myAppearance)
61 , myClamp(orig.myClamp)
62 , myCreateSubordinates(orig.myCreateSubordinates)
63 , myRequestId(orig.myRequestId)
64 , myInitialFormation(orig.myInitialFormation)
65 , myAggregateState(orig.myAggregateState)
66 , myExtendedData(orig.myExtendedData)
67 , myExtendedLabels(orig.myExtendedLabels)
68 , myOverlayParent(orig.myOverlayParent)
72 void setOverlayParent(
const std::string& overlayParent)
74 myOverlayParent = overlayParent;
77 const std::string& overlayParent()
const
79 return myOverlayParent;
82 void setExtendedLabels(
const std::map<int, DtString>& extendedData)
84 myExtendedLabels = extendedData;
87 const std::map<int, DtString>& extendedLabels()
const
89 return myExtendedLabels;
92 std::map<int, DtString>& extendedLabels()
94 return myExtendedLabels;
97 void setExtendedData(
const std::map<std::string, std::string>& e)
102 const std::map<std::string, std::string>& extendedData()
const
104 return myExtendedData;
107 std::map<std::string, std::string>& extendedData()
109 return myExtendedData;
112 void setName(
const std::string& n)
117 const std::string& name()
const
122 void setLabel(
const std::string& l)
127 const std::string& label()
const
132 void setEntityType(
const DtEntityType& e)
137 const DtEntityType& entityType()
const
162 void setHeading(
double h)
167 double heading()
const
172 void setAppearance(
const DtAppearance& app)
177 const DtAppearance& appearance()
const
182 void setClampToGround(
bool b)
187 bool clampToGround()
const
192 void setCreateSubordinates(
bool b)
194 myCreateSubordinates = b;
197 bool createSubordinates()
const
199 return myCreateSubordinates;
202 void setRequestId(
int i)
207 int requestId()
const
212 void setInitialFormation(
const std::string& l)
214 myInitialFormation = l;
217 const std::string& initialFormation()
const
219 return myInitialFormation;
222 void setAggregateState(
int i)
224 myAggregateState = i;
227 int aggregateState()
const
229 return myAggregateState;