CustusX  18.04-rc1
An IGT application
cx::InteractiveClipper Class Reference

#include <cxInteractiveClipper.h>

Inheritance diagram for cx::InteractiveClipper:

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, DataPtrgetDatas ()
 
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, DataPtrmDatas
 
bool mUseActiveTool
 

Detailed Description

Helper class for clipping the active volume using a specific slice plane. The visible slice planes are the only ones allowed for clipping.

Date
Aug 24, 2010
Author
christiana

Definition at line 38 of file cxInteractiveClipper.h.

Constructor & Destructor Documentation

cx::InteractiveClipper::InteractiveClipper ( CoreServicesPtr  services)

Definition at line 28 of file cxInteractiveClipper.cpp.

Member Function Documentation

void cx::InteractiveClipper::addAllInteractiveClipPlanes ( )
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.

void cx::InteractiveClipper::changed ( )
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.

PLANE_TYPE cx::InteractiveClipper::getPlaneType ( )
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.

void cx::InteractiveClipper::invertPlane ( bool  on)
slot

Definition at line 146 of file cxInteractiveClipper.cpp.

void cx::InteractiveClipper::parseXml ( QDomNode  dataNode)

Definition at line 67 of file cxInteractiveClipper.cpp.

void cx::InteractiveClipper::removeAllInterActiveClipPlanes ( )
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.

void cx::InteractiveClipper::updateClipPlanesInData ( )
protected

Definition at line 200 of file cxInteractiveClipper.cpp.

void cx::InteractiveClipper::useActiveTool ( bool  on)

Definition at line 291 of file cxInteractiveClipper.cpp.

void cx::InteractiveClipper::useClipper ( bool  on)
slot

Definition at line 141 of file cxInteractiveClipper.cpp.

Member Data Documentation

DataPtr cx::InteractiveClipper::mData
protected

Definition at line 78 of file cxInteractiveClipper.h.

std::map<QString, DataPtr> cx::InteractiveClipper::mDatas
protected

Definition at line 80 of file cxInteractiveClipper.h.

CoreServicesPtr cx::InteractiveClipper::mServices
protected

Definition at line 79 of file cxInteractiveClipper.h.

SlicePlaneClipperPtr cx::InteractiveClipper::mSlicePlaneClipper
protected

Definition at line 75 of file cxInteractiveClipper.h.

SlicePlanesProxyPtr cx::InteractiveClipper::mSlicePlanesProxy
protected

Definition at line 76 of file cxInteractiveClipper.h.

bool cx::InteractiveClipper::mUseActiveTool
protected

Definition at line 81 of file cxInteractiveClipper.h.

bool cx::InteractiveClipper::mUseClipper
protected

Definition at line 77 of file cxInteractiveClipper.h.


The documentation for this class was generated from the following files: