19 #ifndef CXINTERACTIVECROPPER_H_ 20 #define CXINTERACTIVECROPPER_H_ 22 #include "cxResourceVisualizationExport.h" 26 #include <vtkSmartPointer.h> 57 void resetBoundingBox();
59 bool getUseCropping();
60 bool getShowBoxWidget()
const;
61 std::vector<int> getDimensions();
65 void showBoxWidget(
bool on);
66 void useCropping(
bool on);
68 void imageCropChangedSlot();
69 void imageChangedSlot();
72 void boxWasShown(
bool val);
78 void updateBoxWidgetInteractor();
84 CropBoxCallbackPtr mCropBoxCallback;
85 CropBoxEnableCallbackPtr mCropBoxEnableCallback;
86 CropBoxEnableCallbackPtr mCropBoxDisableCallback;
88 ActiveImageProxyPtr mActiveImageProxy;
boost::shared_ptr< class Image > ImagePtr
boost::shared_ptr< class ActiveImageProxy > ActiveImageProxyPtr
boost::shared_ptr< class ActiveData > ActiveDataPtr
boost::shared_ptr< class View > ViewPtr
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.
vtkSmartPointer< class vtkBoxWidget > vtkBoxWidgetPtr
vtkSmartPointer< class CropBoxCallback > CropBoxCallbackPtr
vtkSmartPointer< class CropBoxEnableCallback > CropBoxEnableCallbackPtr
Namespace for all CustusX production code.