FAST  3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
CameraAccess.hpp
Go to the documentation of this file.
1 #ifndef CAMERA_ACCESS_HPP_
2 #define CAMERA_ACCESS_HPP_
3 
4 
6 
7 namespace fast {
8 
9 class FAST_EXPORT CameraAccess {
10  public:
11  CameraAccess(Vector3f* position, Vector3f* upVector, Vector3f* target);
12  Affine3f getCameraTransformation() const;
13  Vector3f getTargetPosition() const;
14  Vector3f getPosition() const;
15  Vector3f getUpVector() const;
16  void setTargetPosition(Vector3f position);
17  void setPosition(Vector3f position);
18  void setUpVector(Vector3f upVector);
19  typedef std::unique_ptr<CameraAccess> pointer;
20  private:
21  Vector3f* mPosition;
22  Vector3f* mUpVector;
23  Vector3f* mTarget;
24 };
25 
26 }
27 
28 #endif
fast
Definition: AffineTransformation.hpp:7
fast::CameraAccess::pointer
std::unique_ptr< CameraAccess > pointer
Definition: CameraAccess.hpp:19
fast::CameraAccess
Definition: CameraAccess.hpp:9
DataTypes.hpp