1 #ifndef __RTFX_CAMERA__
2 #define __RTFX_CAMERA__
53 void ToNative( AXISFRAME _frame );
56 void FromNative( AXISFRAME _frame );
59 void ChangeFrame( AXISFRAME _from, AXISFRAME _to );
65 void SetPosition(
double _x,
double _y,
double _z );
71 double * GetPositionAsDoubles();
77 void SetRotation(
double _x,
double _y,
double _z );
83 double * GetRotationAsDoubles();
89 void SetUpVector(
double _x,
double _y,
double _z );
95 double * GetUpVectorAsDoubles();
98 void SetForwardVector(
Vector3D _p );
101 void SetForwardVector(
double _x,
double _y,
double _z );
107 double * GetForwardVectorAsDoubles();
113 void SetTransform(
double * _m );
119 double * GetTransformAsDoubles();
122 void SetDepthOfField(
bool _dof );
125 bool GetDepthOfField();
128 void SetFocalDistance(
double _fd );
131 double GetFocalDistance();
134 void SetFocalLength(
double _fl );
137 double GetFocalLength();
140 void SetAperture(
double _ap );
143 double GetAperture();
146 void SetFStop(
double _fs );
152 void SetResolution(
double _width,
double _height );
155 double * GetResolution();
158 void SetNearPlane(
double _np );
161 double GetNearPlane();
164 void SetFarPlane(
double _fp );
167 double GetFarPlane();
170 void SetStereo(
bool _st );
176 void SetZeroParallax(
double _zp );
179 double GetZeroParallax();
182 void SetInterAxialDistance(
double _iad );
185 double GetInterAxialDistance();
190 void Init(
bool _genID );
192 friend class boost::serialization::access;
193 template<
class Archive>
194 void serialize( Archive &_ar,
const unsigned int _version )
196 debug( ostringstream().flush() <<
"RTFXCamera::serialize" << endl );
197 _ar & boost::serialization::base_object<RTFXObject>( *this );