18 #ifndef CXVIEWWRAPPER2D_H_ 19 #define CXVIEWWRAPPER2D_H_ 21 #include "org_custusx_core_view_Export.h" 30 #include "sscConfig.h" 62 virtual void initializePlane(PLANE_TYPE plane);
67 virtual void updateView();
75 virtual QString getDataDescription();
76 virtual QString getViewDescription();
79 virtual void dataViewPropertiesChangedSlot(QString uid);
80 virtual void videoSourcesChangedSlot();
81 virtual void settingsChangedSlot(QString key);
84 void activeToolChangedSlot();
85 void viewportChanged();
87 void mousePressSlot(
int x,
int y, Qt::MouseButtons buttons);
88 void mouseMoveSlot(
int x,
int y, Qt::MouseButtons buttons);
89 void mouseWheelSlot(
int x,
int y,
int delta,
int orientation, Qt::MouseButtons buttons);
90 void optionChangedSlot();
91 void showManualToolSlot(
bool visible);
92 void toggleShowManualTool();
98 virtual void appendToContextMenu(QMenu& contextMenu);
103 void shiftAxisPos(
Vector3D delta_vp);
105 ORIENTATION_TYPE getOrientationType()
const;
107 virtual void imageAdded(
ImagePtr image);
110 virtual void dataAdded(
DataPtr data);
111 virtual void dataRemoved(
const QString& uid);
113 void recreateMultiSlicer();
114 void updateItemsFromViewGroup();
116 void createAndAddSliceRep();
117 void removeAndResetSliceRep();
119 bool useGPU2DRendering();
120 bool createAndAddMultiSliceRep();
121 void removeAndResetMultiSliceRep();
123 std::vector<ImagePtr> getImagesToView();
144 QActionGroup* mOrientationActionGroup;
146 void changeZoom(
double delta);
147 void applyViewFollower();
boost::shared_ptr< class Texture3DSlicerRep > Texture3DSlicerRepPtr
boost::shared_ptr< class ViewGroupData > ViewGroupDataPtr
boost::shared_ptr< class SlicePlanesProxy > SlicePlanesProxyPtr
boost::shared_ptr< class ViewFollower > ViewFollowerPtr
boost::shared_ptr< class VisServices > VisServicesPtr
boost::shared_ptr< class Image > ImagePtr
Superclass for ViewWrappers.
boost::shared_ptr< class DataRepContainer > DataRepContainerPtr
boost::shared_ptr< class View > ViewPtr
boost::shared_ptr< class ToolRep2D > ToolRep2DPtr
boost::shared_ptr< class SliceRepSW > SliceRepSWPtr
boost::shared_ptr< ViewWrapper2D > ViewWrapper2DPtr
boost::shared_ptr< class OrientationAnnotationSmartRep > OrientationAnnotationSmartRepPtr
boost::shared_ptr< class Data > DataPtr
Representation of a floating-point bounding box in 3D. The data are stored as {xmin,xmax,ymin,ymax,zmin,zmax}, in order to simplify communication with vtk.
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
boost::shared_ptr< class Zoom2DHandler > Zoom2DHandlerPtr
boost::shared_ptr< class SlicePlanes3DMarkerIn2DRep > SlicePlanes3DMarkerIn2DRepPtr
boost::shared_ptr< class GeometricRep2D > GeometricRep2DPtr
Namespace for all CustusX production code.