11 #ifndef CXCameraStyleForViewFORVIEW_H 12 #define CXCameraStyleForViewFORVIEW_H 14 #include "org_custusx_core_view_Export.h" 26 class vtkInteractorStyle;
65 double distance()
const {
return (pos-focus).length(); }
101 void activeToolChangedSlot();
108 bool isToolFollowingStyle()
const;
110 void applyCameraStyle();
113 void disconnectTool();
114 void viewportChangedSlot();
116 void setInteractor(vtkSmartPointer<vtkInteractorStyle> style);
121 ViewportPreRenderListenerPtr mPreRenderListener;
122 bool mBlockCameraUpdate;
124 CoreServicesPtr mBackend;
142 #endif // CXCameraStyleForViewFORVIEW_H
boost::shared_ptr< class ViewportListener > ViewportListenerPtr
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
Utility class for describing a bounded numeric range.
boost::shared_ptr< class ViewportPreRenderListener > ViewportPreRenderListenerPtr
boost::shared_ptr< class View > ViewPtr
vtkSmartPointer< class vtkRenderer > vtkRendererPtr
double newValue(double value)
boost::shared_ptr< class CameraStyleForView > CameraStyleForViewPtr
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
bool similar(const CameraInfo &lhs, const CameraInfo &rhs, double tol)
boost::shared_ptr< class CoreServices > CoreServicesPtr
boost::shared_ptr< class ToolRep3D > ToolRep3DPtr
vtkSmartPointer< class vtkCamera > vtkCameraPtr
Namespace for all CustusX production code.
boost::shared_ptr< class Tool > ToolPtr