Fraxinus  16.5.0-fx-rc1
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 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.

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

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

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

Definition at line 166 of file cxInteractiveClipper.cpp.

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

Definition at line 87 of file cxInteractiveClipper.cpp.

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

void cx::InteractiveClipper::updateClipPlanesInData ( )
protected

Definition at line 220 of file cxInteractiveClipper.cpp.

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

Definition at line 311 of file cxInteractiveClipper.cpp.

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

Definition at line 161 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: