CustusX
2023.01.05-dev+develop.0da12
An IGT application
|
#include <cxGraphicalBox.h>
Signals | |
void | changed () |
Public Member Functions | |
GraphicalBox () | |
virtual | ~GraphicalBox () |
void | setRenderWindow (vtkRenderWindowPtr renderWindow) |
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 d space More... | |
void | setMaxBoundingBox (const DoubleBoundingBox3D &bb_d) |
set BB in d space More... | |
void | setPosition (const Transform3D &rMd) |
set BB position More... | |
DoubleBoundingBox3D | getMaxBoundingBox () |
bool | getInteractive () const |
void | setInteractive (bool on) |
bool | getVisible () const |
void | setVisible (bool on) |
Friends | |
class | GraphicalBoxCallback |
class | GraphicalBoxEnableCallback |
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 43 of file cxGraphicalBox.h.
|
explicit |
Definition at line 88 of file cxGraphicalBox.cpp.
|
virtual |
Definition at line 97 of file cxGraphicalBox.cpp.
|
signal |
DoubleBoundingBox3D cx::GraphicalBox::getBoundingBox | ( | ) |
get BB in data space
get current cropping box in ref coords
Definition at line 113 of file cxGraphicalBox.cpp.
bool cx::GraphicalBox::getInteractive | ( | ) | const |
Definition at line 161 of file cxGraphicalBox.cpp.
DoubleBoundingBox3D cx::GraphicalBox::getMaxBoundingBox | ( | ) |
return the largest useful bounding box for the current selection
Definition at line 169 of file cxGraphicalBox.cpp.
bool cx::GraphicalBox::getVisible | ( | ) | const |
Definition at line 147 of file cxGraphicalBox.cpp.
void cx::GraphicalBox::setBoundingBox | ( | const DoubleBoundingBox3D & | bb_d | ) |
set BB in d space
Definition at line 118 of file cxGraphicalBox.cpp.
void cx::GraphicalBox::setInteractive | ( | bool | on | ) |
Definition at line 152 of file cxGraphicalBox.cpp.
void cx::GraphicalBox::setMaxBoundingBox | ( | const DoubleBoundingBox3D & | bb_d | ) |
set BB in d space
void cx::GraphicalBox::setPosition | ( | const Transform3D & | rMd | ) |
set BB position
Definition at line 128 of file cxGraphicalBox.cpp.
void cx::GraphicalBox::setRenderWindow | ( | vtkRenderWindowPtr | renderWindow | ) |
adds an interactive box widget to the view. Press 'I' to show
Definition at line 105 of file cxGraphicalBox.cpp.
void cx::GraphicalBox::setVisible | ( | bool | on | ) |
Definition at line 138 of file cxGraphicalBox.cpp.
|
friend |
Definition at line 77 of file cxGraphicalBox.h.
|
friend |
Definition at line 78 of file cxGraphicalBox.h.