36 #ifndef IECORE_CAMERACONTROLLER_H
37 #define IECORE_CAMERACONTROLLER_H
39 #include "IECore/Export.h"
40 #include "IECore/SimpleTypedData.h"
42 #include "OpenEXR/ImathVec.h"
47 IE_CORE_FORWARDDECLARE( Camera )
48 IE_CORE_FORWARDDECLARE( MatrixTransform )
60 void setCamera( CameraPtr camera );
61 CameraPtr getCamera();
62 ConstCameraPtr getCamera()
const;
65 void setCentreOfInterest(
float centreOfInterest );
66 float getCentreOfInterest();
80 void setResolution(
const Imath::V2i &resolution );
83 void setResolution(
const Imath::V2i &resolution, ScreenWindowAdjustment adjustment );
84 const Imath::V2i &getResolution()
const;
88 void frame(
const Imath::Box3f &box );
91 void frame(
const Imath::Box3f &box,
const Imath::V3f &viewDirection,
92 const Imath::V3f &upVector = Imath::V3f( 0, 1, 0 ) );
97 void unproject(
const Imath::V2f rasterPosition, Imath::V3f &near, Imath::V3f &far );
99 Imath::V2f project(
const Imath::V3f &worldPosition )
const;
115 void motionStart( MotionType motion,
const Imath::V2f &startPosition );
118 void motionUpdate(
const Imath::V2f &newPosition );
120 void motionEnd(
const Imath::V2f &endPosition );
125 void track(
const Imath::V2f &p );
126 void tumble(
const Imath::V2f &p );
127 void dolly(
const Imath::V2f &p );
129 IE_CORE_FORWARDDECLARE( MemberData );
131 MemberDataPtr m_data;
137 #endif // IECORE_CAMERACONTROLLER_H
Definition: HalfTypeTraits.h:45
Definition: CameraController.h:52
ScreenWindowAdjustment
Definition: CameraController.h:68
Definition: CameraController.h:72
This namespace contains all components of the core library.
Definition: AddSmoothSkinningInfluencesOp.h:43