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 void dataViewPropertiesChangedSlot(QString uid);
98 virtual void videoSourcesChangedSlot();
101 void activeToolChangedSlot();
102 void viewportChanged();
104 void mousePressSlot(
int x,
int y, Qt::MouseButtons buttons);
105 void mouseMoveSlot(
int x,
int y, Qt::MouseButtons buttons);
106 void mouseWheelSlot(
int x,
int y,
int delta,
int orientation, Qt::MouseButtons buttons);
107 void settingsChangedSlot(QString key);
108 void optionChangedSlot();
111 void samplePoint(
Vector3D click_vp);
114 virtual void appendToContextMenu(QMenu& contextMenu);
119 void shiftAxisPos(
Vector3D delta_vp);
121 ORIENTATION_TYPE getOrientationType()
const;
123 virtual void imageAdded(
ImagePtr image);
126 virtual void dataAdded(
DataPtr data);
127 virtual void dataRemoved(
const QString& uid);
129 void recreateMultiSlicer();
130 void updateItemsFromViewGroup(QString &text);
132 void setDataNameText(QString &text);
133 void updateDataNameText(QString &text);
135 void createAndAddSliceRep();
136 void removeAndResetSliceRep();
138 bool useGPU2DRendering();
139 void createAndAddMultiSliceRep();
140 void removeAndResetMultiSliceRep();
142 std::vector<ImagePtr> getImagesToView();
145 #ifndef CX_VTK_OPENGL2
168 QActionGroup* mOrientationActionGroup;
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 DisplayTextRep > DisplayTextRepPtr
boost::shared_ptr< class Zoom2DHandler > Zoom2DHandlerPtr
boost::shared_ptr< class SlicePlanes3DMarkerIn2DRep > SlicePlanes3DMarkerIn2DRepPtr
boost::shared_ptr< class GeometricRep2D > GeometricRep2DPtr