39 #ifndef CXVIEWWRAPPER2D_H_
40 #define CXVIEWWRAPPER2D_H_
42 #include "org_custusx_core_view_Export.h"
51 #include "sscConfig.h"
83 virtual void initializePlane(PLANE_TYPE plane);
88 virtual void updateView();
97 virtual QString getDataDescription();
98 virtual QString getViewDescription();
101 virtual void dataViewPropertiesChangedSlot(QString uid);
102 virtual void videoSourcesChangedSlot();
103 virtual void settingsChangedSlot(QString key);
106 void activeToolChangedSlot();
107 void viewportChanged();
109 void mousePressSlot(
int x,
int y, Qt::MouseButtons buttons);
110 void mouseMoveSlot(
int x,
int y, Qt::MouseButtons buttons);
111 void mouseWheelSlot(
int x,
int y,
int delta,
int orientation, Qt::MouseButtons buttons);
112 void optionChangedSlot();
115 void samplePoint(
Vector3D click_vp);
118 virtual void appendToContextMenu(QMenu& contextMenu);
123 void shiftAxisPos(
Vector3D delta_vp);
125 ORIENTATION_TYPE getOrientationType()
const;
127 virtual void imageAdded(
ImagePtr image);
130 virtual void dataAdded(
DataPtr data);
131 virtual void dataRemoved(
const QString& uid);
133 void recreateMultiSlicer();
134 void updateItemsFromViewGroup();
136 void createAndAddSliceRep();
137 void removeAndResetSliceRep();
139 bool useGPU2DRendering();
140 void createAndAddMultiSliceRep();
141 void removeAndResetMultiSliceRep();
143 std::vector<ImagePtr> getImagesToView();
146 #ifndef CX_VTK_OPENGL2
166 QActionGroup* mOrientationActionGroup;
168 void changeZoom(
double delta);
169 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