44 void setAttachedToDisplayNames(
const std::set<std::string>& displayNames );
48 const std::set<std::string>& attachedToDisplayNames()
const;
51 void setSecondaryAttachedToDisplayNames(
const std::set<std::string>& displayNames );
55 const std::set<std::string>& secondaryAttachedToDisplayNames()
const;
59 void getLocationTrackAttachment(
double& x,
double& y,
double& z )
const;
63 void setLocationTrackAttachment(
double x,
double y,
double z );
67 void getObserverOffsetVector(
double& x,
double& y,
double& z )
const;
70 void setObserverOffsetVector(
double x,
double y,
double z );
74 void getObserverRotationOffset(
double& x,
double& y,
double& z,
double& w )
const;
77 void setObserverRotationOffset(
double x,
double y,
double z,
double w );
80 void getPosition(
double &x,
double &y,
double& z )
const;
83 void setPosition(
double x,
double y,
double z );
86 void getOrientation(
double& x,
double& y,
double& z,
double& w )
const;
89 void setOrientation(
double x,
double y,
double z,
double w );
92 void setDisplayName(
const std::string&);
96 const std::string& displayName()
const;
99 void setViewResolution(
double resolution);
103 double viewResolution()
const;
107 void setViewMagnification(
double magnification );
111 double viewMagnification()
const;
117 void setSetIntoObserver(
bool);
121 bool setIntoObserver()
const;
125 void setPartAttachment(
int partId);
129 int partAttachment()
const;
133 friend class boost::serialization::access;
138 template<
class Archive>
139 void serialize(Archive & ar,
const unsigned int version)
141 ar & BOOST_SERIALIZATION_NVP(myObserverSettingsRecord);
142 ar & BOOST_SERIALIZATION_NVP(myAttachedToDisplayNames);
143 ar & BOOST_SERIALIZATION_NVP(myObserverOffsetVectorX);
144 ar & BOOST_SERIALIZATION_NVP(myObserverOffsetVectorY);
145 ar & BOOST_SERIALIZATION_NVP(myObserverOffsetVectorZ);
146 ar & BOOST_SERIALIZATION_NVP(myObserverRotationOffsetX);
147 ar & BOOST_SERIALIZATION_NVP(myObserverRotationOffsetY);
148 ar & BOOST_SERIALIZATION_NVP(myObserverRotationOffsetZ);
149 ar & BOOST_SERIALIZATION_NVP(myObserverRotationOffsetW);
150 ar & BOOST_SERIALIZATION_NVP(myPosX);
151 ar & BOOST_SERIALIZATION_NVP(myPosY);
152 ar & BOOST_SERIALIZATION_NVP(myPosZ);
153 ar & BOOST_SERIALIZATION_NVP(myOrientationX);
154 ar & BOOST_SERIALIZATION_NVP(myOrientationY);
155 ar & BOOST_SERIALIZATION_NVP(myOrientationZ);
156 ar & BOOST_SERIALIZATION_NVP(myOrientationW);
160 ar & BOOST_SERIALIZATION_NVP(myDisplayName);
167 ar & boost::serialization::make_nvp(
"myZoomFactor",myViewResolution);
171 ar & BOOST_SERIALIZATION_NVP(myViewResolution);
177 ar & BOOST_SERIALIZATION_NVP(mySecondaryAttachedToDisplayNames);
182 ar & BOOST_SERIALIZATION_NVP(myPartAttachment);
187 ar & BOOST_SERIALIZATION_NVP( myViewMagnification );
192 ar & BOOST_SERIALIZATION_NVP( myLocationTrackAttachmentX );
193 ar & BOOST_SERIALIZATION_NVP( myLocationTrackAttachmentY );
194 ar & BOOST_SERIALIZATION_NVP( myLocationTrackAttachmentZ );