11 #ifndef CXCameraStyleForViewFORVIEW_H 12 #define CXCameraStyleForViewFORVIEW_H 14 #include "org_custusx_core_view_Export.h" 27 class vtkInteractorStyle;
66 double distance()
const {
return (pos-focus).length(); }
102 void activeToolChangedSlot();
109 bool isToolFollowingStyle()
const;
111 void applyCameraStyle();
114 void disconnectTool();
115 void viewportChangedSlot();
117 void setInteractor(vtkSmartPointer<vtkInteractorStyle> style);
122 ViewportPreRenderListenerPtr mPreRenderListener;
123 bool mBlockCameraUpdate;
125 CoreServicesPtr mBackend;
143 #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