Fraxinus  17.12-rc2
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 59 of file cxInteractiveClipper.h.

Constructor & Destructor Documentation

cx::InteractiveClipper::InteractiveClipper ( CoreServicesPtr  services)

Definition at line 49 of file cxInteractiveClipper.cpp.

Member Function Documentation

void cx::InteractiveClipper::addAllInteractiveClipPlanes ( )
protected

Definition at line 236 of file cxInteractiveClipper.cpp.

void cx::InteractiveClipper::addData ( DataPtr  data)

Definition at line 193 of file cxInteractiveClipper.cpp.

void cx::InteractiveClipper::addXml ( QDomNode &  dataNode)

Definition at line 77 of file cxInteractiveClipper.cpp.

void cx::InteractiveClipper::changed ( )
signal
void cx::InteractiveClipper::clearClipPlanesInVolume ( )

clear all saved clips in the image.

Definition at line 140 of file cxInteractiveClipper.cpp.

bool cx::InteractiveClipper::exists ( DataPtr  data)

Definition at line 214 of file cxInteractiveClipper.cpp.

std::vector< PLANE_TYPE > cx::InteractiveClipper::getAvailableSlicePlanes ( ) const

Definition at line 284 of file cxInteractiveClipper.cpp.

DataPtr cx::InteractiveClipper::getData ( ) const

Definition at line 180 of file cxInteractiveClipper.cpp.

std::map< QString, DataPtr > cx::InteractiveClipper::getDatas ( )

Definition at line 231 of file cxInteractiveClipper.cpp.

bool cx::InteractiveClipper::getInvertPlane ( ) const

Definition at line 158 of file cxInteractiveClipper.cpp.

PLANE_TYPE cx::InteractiveClipper::getPlaneType ( )
protected

Definition at line 173 of file cxInteractiveClipper.cpp.

PLANE_TYPE cx::InteractiveClipper::getSlicePlane ( )

Definition at line 147 of file cxInteractiveClipper.cpp.

bool cx::InteractiveClipper::getUseClipper ( ) const

Definition at line 154 of file cxInteractiveClipper.cpp.

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

Definition at line 167 of file cxInteractiveClipper.cpp.

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

Definition at line 88 of file cxInteractiveClipper.cpp.

void cx::InteractiveClipper::removeAllInterActiveClipPlanes ( )
protected

Definition at line 243 of file cxInteractiveClipper.cpp.

void cx::InteractiveClipper::removeData ( DataPtr  data)

Definition at line 201 of file cxInteractiveClipper.cpp.

void cx::InteractiveClipper::saveClipPlaneToVolume ( )

save the current clip to image

Definition at line 133 of file cxInteractiveClipper.cpp.

void cx::InteractiveClipper::setData ( DataPtr  data)

Definition at line 185 of file cxInteractiveClipper.cpp.

void cx::InteractiveClipper::setSlicePlane ( PLANE_TYPE  plane)

Definition at line 121 of file cxInteractiveClipper.cpp.

void cx::InteractiveClipper::setTool ( ToolPtr  tool)

Definition at line 303 of file cxInteractiveClipper.cpp.

void cx::InteractiveClipper::updateClipPlanesInData ( )
protected

Definition at line 221 of file cxInteractiveClipper.cpp.

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

Definition at line 312 of file cxInteractiveClipper.cpp.

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

Definition at line 162 of file cxInteractiveClipper.cpp.

Member Data Documentation

DataPtr cx::InteractiveClipper::mData
protected

Definition at line 99 of file cxInteractiveClipper.h.

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

Definition at line 101 of file cxInteractiveClipper.h.

CoreServicesPtr cx::InteractiveClipper::mServices
protected

Definition at line 100 of file cxInteractiveClipper.h.

SlicePlaneClipperPtr cx::InteractiveClipper::mSlicePlaneClipper
protected

Definition at line 96 of file cxInteractiveClipper.h.

SlicePlanesProxyPtr cx::InteractiveClipper::mSlicePlanesProxy
protected

Definition at line 97 of file cxInteractiveClipper.h.

bool cx::InteractiveClipper::mUseActiveTool
protected

Definition at line 102 of file cxInteractiveClipper.h.

bool cx::InteractiveClipper::mUseClipper
protected

Definition at line 98 of file cxInteractiveClipper.h.


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