CustusX
16.5.0-rc9
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 59 of file cxInteractiveClipper.h.
cx::InteractiveClipper::InteractiveClipper | ( | CoreServicesPtr | services | ) |
Definition at line 49 of file cxInteractiveClipper.cpp.
|
protected |
Definition at line 235 of file cxInteractiveClipper.cpp.
void cx::InteractiveClipper::addData | ( | DataPtr | data | ) |
Definition at line 192 of file cxInteractiveClipper.cpp.
void cx::InteractiveClipper::addXml | ( | QDomNode & | dataNode | ) |
Definition at line 76 of file cxInteractiveClipper.cpp.
|
signal |
void cx::InteractiveClipper::clearClipPlanesInVolume | ( | ) |
clear all saved clips in the image.
Definition at line 139 of file cxInteractiveClipper.cpp.
bool cx::InteractiveClipper::exists | ( | DataPtr | data | ) |
Definition at line 213 of file cxInteractiveClipper.cpp.
std::vector< PLANE_TYPE > cx::InteractiveClipper::getAvailableSlicePlanes | ( | ) | const |
Definition at line 283 of file cxInteractiveClipper.cpp.
DataPtr cx::InteractiveClipper::getData | ( | ) | const |
Definition at line 179 of file cxInteractiveClipper.cpp.
std::map< QString, DataPtr > cx::InteractiveClipper::getDatas | ( | ) |
Definition at line 230 of file cxInteractiveClipper.cpp.
bool cx::InteractiveClipper::getInvertPlane | ( | ) | const |
Definition at line 157 of file cxInteractiveClipper.cpp.
|
protected |
Definition at line 172 of file cxInteractiveClipper.cpp.
PLANE_TYPE cx::InteractiveClipper::getSlicePlane | ( | ) |
Definition at line 146 of file cxInteractiveClipper.cpp.
bool cx::InteractiveClipper::getUseClipper | ( | ) | const |
Definition at line 153 of file cxInteractiveClipper.cpp.
|
slot |
Definition at line 166 of file cxInteractiveClipper.cpp.
void cx::InteractiveClipper::parseXml | ( | QDomNode | dataNode | ) |
Definition at line 87 of file cxInteractiveClipper.cpp.
|
protected |
Definition at line 242 of file cxInteractiveClipper.cpp.
void cx::InteractiveClipper::removeData | ( | DataPtr | data | ) |
Definition at line 200 of file cxInteractiveClipper.cpp.
void cx::InteractiveClipper::saveClipPlaneToVolume | ( | ) |
save the current clip to image
Definition at line 132 of file cxInteractiveClipper.cpp.
void cx::InteractiveClipper::setData | ( | DataPtr | data | ) |
Definition at line 184 of file cxInteractiveClipper.cpp.
void cx::InteractiveClipper::setSlicePlane | ( | PLANE_TYPE | plane | ) |
Definition at line 120 of file cxInteractiveClipper.cpp.
void cx::InteractiveClipper::setTool | ( | ToolPtr | tool | ) |
Definition at line 302 of file cxInteractiveClipper.cpp.
|
protected |
Definition at line 220 of file cxInteractiveClipper.cpp.
void cx::InteractiveClipper::useActiveTool | ( | bool | on | ) |
Definition at line 311 of file cxInteractiveClipper.cpp.
|
slot |
Definition at line 161 of file cxInteractiveClipper.cpp.
|
protected |
Definition at line 99 of file cxInteractiveClipper.h.
|
protected |
Definition at line 101 of file cxInteractiveClipper.h.
|
protected |
Definition at line 100 of file cxInteractiveClipper.h.
|
protected |
Definition at line 96 of file cxInteractiveClipper.h.
|
protected |
Definition at line 97 of file cxInteractiveClipper.h.
|
protected |
Definition at line 102 of file cxInteractiveClipper.h.
|
protected |
Definition at line 98 of file cxInteractiveClipper.h.