![]() |
CustusX
15.4.0-beta
An IGT application
|
#include <cxInteractiveCropper.h>
Public Slots | |
void | showBoxWidget (bool on) |
void | useCropping (bool on) |
Signals | |
void | changed () |
Public Member Functions | |
InteractiveCropper (CoreServicesPtr backend) | |
void | setView (ViewPtr view) |
adds an interactive box widget to the view. Press 'I' to show More... | |
DoubleBoundingBox3D | getBoundingBox () |
get BB in data space More... | |
void | setBoundingBox (const DoubleBoundingBox3D &bb_d) |
set BB in reference space More... | |
void | resetBoundingBox () |
set bounding box back to initial size (entire volume) More... | |
DoubleBoundingBox3D | getMaxBoundingBox () |
bool | getUseCropping () |
bool | getShowBoxWidget () const |
std::vector< int > | getDimensions () |
Friends | |
class | CropBoxCallback |
class | CropBoxEnableCallback |
Helper class for cropping the active volume using a bounding box. The bounding box can be set either explicitly or using a vtkBoxWidget.
Definition at line 71 of file cxInteractiveCropper.h.
|
explicit |
Definition at line 118 of file cxInteractiveCropper.cpp.
|
signal |
DoubleBoundingBox3D cx::InteractiveCropper::getBoundingBox | ( | ) |
get BB in data space
get current cropping box in ref coords
Definition at line 198 of file cxInteractiveCropper.cpp.
std::vector< int > cx::InteractiveCropper::getDimensions | ( | ) |
Definition at line 265 of file cxInteractiveCropper.cpp.
DoubleBoundingBox3D cx::InteractiveCropper::getMaxBoundingBox | ( | ) |
return the largest useful bounding box for the current selection
Definition at line 347 of file cxInteractiveCropper.cpp.
bool cx::InteractiveCropper::getShowBoxWidget | ( | ) | const |
Definition at line 258 of file cxInteractiveCropper.cpp.
bool cx::InteractiveCropper::getUseCropping | ( | ) |
Definition at line 251 of file cxInteractiveCropper.cpp.
void cx::InteractiveCropper::resetBoundingBox | ( | ) |
set bounding box back to initial size (entire volume)
Definition at line 237 of file cxInteractiveCropper.cpp.
void cx::InteractiveCropper::setBoundingBox | ( | const DoubleBoundingBox3D & | bb_d | ) |
set BB in reference space
Definition at line 205 of file cxInteractiveCropper.cpp.
void cx::InteractiveCropper::setView | ( | ViewPtr | view | ) |
adds an interactive box widget to the view. Press 'I' to show
Definition at line 151 of file cxInteractiveCropper.cpp.
|
slot |
Definition at line 179 of file cxInteractiveCropper.cpp.
|
slot |
Definition at line 211 of file cxInteractiveCropper.cpp.
|
friend |
Definition at line 95 of file cxInteractiveCropper.h.
|
friend |
Definition at line 96 of file cxInteractiveCropper.h.