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();
96 virtual QString getDataDescription();
97 virtual QString getViewDescription();
100 virtual void dataViewPropertiesChangedSlot(QString uid);
101 virtual void videoSourcesChangedSlot();
102 virtual void settingsChangedSlot(QString key);
105 void activeToolChangedSlot();
106 void viewportChanged();
108 void mousePressSlot(
int x,
int y, Qt::MouseButtons buttons);
109 void mouseMoveSlot(
int x,
int y, Qt::MouseButtons buttons);
110 void mouseWheelSlot(
int x,
int y,
int delta,
int orientation, Qt::MouseButtons buttons);
111 void optionChangedSlot();
112 void showManualToolSlot(
bool visible);
113 void toggleShowManualTool();
116 void samplePoint(
Vector3D click_vp);
119 virtual void appendToContextMenu(QMenu& contextMenu);
124 void shiftAxisPos(
Vector3D delta_vp);
126 ORIENTATION_TYPE getOrientationType()
const;
128 virtual void imageAdded(
ImagePtr image);
131 virtual void dataAdded(
DataPtr data);
132 virtual void dataRemoved(
const QString& uid);
134 void recreateMultiSlicer();
135 void updateItemsFromViewGroup();
137 void createAndAddSliceRep();
138 void removeAndResetSliceRep();
140 bool useGPU2DRendering();
141 bool createAndAddMultiSliceRep();
142 void removeAndResetMultiSliceRep();
144 std::vector<ImagePtr> getImagesToView();
165 QActionGroup* mOrientationActionGroup;
167 void changeZoom(
double delta);
168 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.