32 #ifndef CXCameraStyleForViewFORVIEW_H 33 #define CXCameraStyleForViewFORVIEW_H 35 #include "org_custusx_core_view_Export.h" 48 class vtkInteractorStyle;
87 double distance()
const {
return (pos-focus).length(); }
123 void activeToolChangedSlot();
130 bool isToolFollowingStyle()
const;
132 void applyCameraStyle();
135 void disconnectTool();
136 void viewportChangedSlot();
138 void setInteractor(vtkSmartPointer<vtkInteractorStyle> style);
143 ViewportPreRenderListenerPtr mPreRenderListener;
144 bool mBlockCameraUpdate;
146 CoreServicesPtr mBackend;
164 #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