CustusX
18.04-rc1
An IGT application
|
#include <cxInteractiveClipper.h>
Public Slots | |
void | useClipper (bool on) |
void | invertPlane (bool on) |
Signals | |
void | changed () |
Public Member Functions | |
InteractiveClipper (CoreServicesPtr services) | |
void | setSlicePlane (PLANE_TYPE plane) |
void | saveClipPlaneToVolume () |
save the current clip to image More... | |
void | clearClipPlanesInVolume () |
clear all saved clips in the image. More... | |
PLANE_TYPE | getSlicePlane () |
bool | getUseClipper () const |
bool | getInvertPlane () const |
std::vector< PLANE_TYPE > | getAvailableSlicePlanes () const |
DataPtr | getData () const |
void | setData (DataPtr data) |
void | addData (DataPtr data) |
void | removeData (DataPtr data) |
bool | exists (DataPtr data) |
std::map< QString, DataPtr > | getDatas () |
void | setTool (ToolPtr tool) |
void | useActiveTool (bool on) |
void | parseXml (QDomNode dataNode) |
void | addXml (QDomNode &dataNode) |
Protected Member Functions | |
PLANE_TYPE | getPlaneType () |
void | removeAllInterActiveClipPlanes () |
void | addAllInteractiveClipPlanes () |
void | updateClipPlanesInData () |
Protected Attributes | |
SlicePlaneClipperPtr | mSlicePlaneClipper |
SlicePlanesProxyPtr | mSlicePlanesProxy |
bool | mUseClipper |
DataPtr | mData |
CoreServicesPtr | mServices |
std::map< QString, DataPtr > | mDatas |
bool | mUseActiveTool |
Helper class for clipping the active volume using a specific slice plane. The visible slice planes are the only ones allowed for clipping.
Definition at line 38 of file cxInteractiveClipper.h.
cx::InteractiveClipper::InteractiveClipper | ( | CoreServicesPtr | services | ) |
Definition at line 28 of file cxInteractiveClipper.cpp.
|
protected |
Definition at line 215 of file cxInteractiveClipper.cpp.
void cx::InteractiveClipper::addData | ( | DataPtr | data | ) |
Definition at line 172 of file cxInteractiveClipper.cpp.
void cx::InteractiveClipper::addXml | ( | QDomNode & | dataNode | ) |
Definition at line 56 of file cxInteractiveClipper.cpp.
|
signal |
void cx::InteractiveClipper::clearClipPlanesInVolume | ( | ) |
clear all saved clips in the image.
Definition at line 119 of file cxInteractiveClipper.cpp.
bool cx::InteractiveClipper::exists | ( | DataPtr | data | ) |
Definition at line 193 of file cxInteractiveClipper.cpp.
std::vector< PLANE_TYPE > cx::InteractiveClipper::getAvailableSlicePlanes | ( | ) | const |
Definition at line 263 of file cxInteractiveClipper.cpp.
DataPtr cx::InteractiveClipper::getData | ( | ) | const |
Definition at line 159 of file cxInteractiveClipper.cpp.
std::map< QString, DataPtr > cx::InteractiveClipper::getDatas | ( | ) |
Definition at line 210 of file cxInteractiveClipper.cpp.
bool cx::InteractiveClipper::getInvertPlane | ( | ) | const |
Definition at line 137 of file cxInteractiveClipper.cpp.
|
protected |
Definition at line 152 of file cxInteractiveClipper.cpp.
PLANE_TYPE cx::InteractiveClipper::getSlicePlane | ( | ) |
Definition at line 126 of file cxInteractiveClipper.cpp.
bool cx::InteractiveClipper::getUseClipper | ( | ) | const |
Definition at line 133 of file cxInteractiveClipper.cpp.
|
slot |
Definition at line 146 of file cxInteractiveClipper.cpp.
void cx::InteractiveClipper::parseXml | ( | QDomNode | dataNode | ) |
Definition at line 67 of file cxInteractiveClipper.cpp.
|
protected |
Definition at line 222 of file cxInteractiveClipper.cpp.
void cx::InteractiveClipper::removeData | ( | DataPtr | data | ) |
Definition at line 180 of file cxInteractiveClipper.cpp.
void cx::InteractiveClipper::saveClipPlaneToVolume | ( | ) |
save the current clip to image
Definition at line 112 of file cxInteractiveClipper.cpp.
void cx::InteractiveClipper::setData | ( | DataPtr | data | ) |
Definition at line 164 of file cxInteractiveClipper.cpp.
void cx::InteractiveClipper::setSlicePlane | ( | PLANE_TYPE | plane | ) |
Definition at line 100 of file cxInteractiveClipper.cpp.
void cx::InteractiveClipper::setTool | ( | ToolPtr | tool | ) |
Definition at line 282 of file cxInteractiveClipper.cpp.
|
protected |
Definition at line 200 of file cxInteractiveClipper.cpp.
void cx::InteractiveClipper::useActiveTool | ( | bool | on | ) |
Definition at line 291 of file cxInteractiveClipper.cpp.
|
slot |
Definition at line 141 of file cxInteractiveClipper.cpp.
|
protected |
Definition at line 78 of file cxInteractiveClipper.h.
|
protected |
Definition at line 80 of file cxInteractiveClipper.h.
|
protected |
Definition at line 79 of file cxInteractiveClipper.h.
|
protected |
Definition at line 75 of file cxInteractiveClipper.h.
|
protected |
Definition at line 76 of file cxInteractiveClipper.h.
|
protected |
Definition at line 81 of file cxInteractiveClipper.h.
|
protected |
Definition at line 77 of file cxInteractiveClipper.h.