45 void setAttachedToDisplayNames(
const std::set<std::string>& displayNames );
49 const std::set<std::string>& attachedToDisplayNames()
const;
52 void setSecondaryAttachedToDisplayNames(
const std::set<std::string>& displayNames );
56 const std::set<std::string>& secondaryAttachedToDisplayNames()
const;
60 void getLocationTrackAttachment(
double& x,
double& y,
double& z )
const;
64 void setLocationTrackAttachment(
double x,
double y,
double z );
68 void getObserverOffsetVector(
double& x,
double& y,
double& z )
const;
71 void setObserverOffsetVector(
double x,
double y,
double z );
75 void getObserverRotationOffset(
double& x,
double& y,
double& z,
double& w )
const;
78 void setObserverRotationOffset(
double x,
double y,
double z,
double w );
81 void getPosition(
double &x,
double &y,
double& z )
const;
84 void setPosition(
double x,
double y,
double z );
87 void getOrientation(
double& x,
double& y,
double& z,
double& w )
const;
90 void setOrientation(
double x,
double y,
double z,
double w );
93 void setDisplayName(
const std::string&);
97 const std::string& displayName()
const;
100 void setViewResolution(
double resolution);
104 double viewResolution()
const;
108 void setViewMagnification(
double magnification );
112 double viewMagnification()
const;
118 void setSetIntoObserver(
bool);
122 bool setIntoObserver()
const;
126 void setPartAttachment(
int partId);
130 int partAttachment()
const;
133 void setIsDefaultObserverView(
bool useICO);
136 bool isDefaultObserverView()
const;
139 bool associatedToTerrain()
const;
142 void setAssociatedToTerrain(
bool val);
146 friend class boost::serialization::access;
151 template<
class Archive>
152 void serialize(Archive & ar,
const unsigned int version)
154 ar & BOOST_SERIALIZATION_NVP(myObserverSettingsRecord);
155 ar & BOOST_SERIALIZATION_NVP(myAttachedToDisplayNames);
156 ar & BOOST_SERIALIZATION_NVP(myObserverOffsetVectorX);
157 ar & BOOST_SERIALIZATION_NVP(myObserverOffsetVectorY);
158 ar & BOOST_SERIALIZATION_NVP(myObserverOffsetVectorZ);
159 ar & BOOST_SERIALIZATION_NVP(myObserverRotationOffsetX);
160 ar & BOOST_SERIALIZATION_NVP(myObserverRotationOffsetY);
161 ar & BOOST_SERIALIZATION_NVP(myObserverRotationOffsetZ);
162 ar & BOOST_SERIALIZATION_NVP(myObserverRotationOffsetW);
163 ar & BOOST_SERIALIZATION_NVP(myPosX);
164 ar & BOOST_SERIALIZATION_NVP(myPosY);
165 ar & BOOST_SERIALIZATION_NVP(myPosZ);
166 ar & BOOST_SERIALIZATION_NVP(myOrientationX);
167 ar & BOOST_SERIALIZATION_NVP(myOrientationY);
168 ar & BOOST_SERIALIZATION_NVP(myOrientationZ);
169 ar & BOOST_SERIALIZATION_NVP(myOrientationW);
173 ar & BOOST_SERIALIZATION_NVP(myDisplayName);
180 ar & boost::serialization::make_nvp(
"myZoomFactor",myViewResolution);
184 ar & BOOST_SERIALIZATION_NVP(myViewResolution);
190 ar & BOOST_SERIALIZATION_NVP(mySecondaryAttachedToDisplayNames);
195 ar & BOOST_SERIALIZATION_NVP(myPartAttachment);
200 ar & BOOST_SERIALIZATION_NVP( myViewMagnification );
205 ar & BOOST_SERIALIZATION_NVP( myLocationTrackAttachmentX );
206 ar & BOOST_SERIALIZATION_NVP( myLocationTrackAttachmentY );
207 ar & BOOST_SERIALIZATION_NVP( myLocationTrackAttachmentZ );
211 ar & BOOST_SERIALIZATION_NVP(myIsDefaultObserverView);