CustusX  15.8
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 backend)
 
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
 
ImagePtr getImage () const
 
void setImage (ImagePtr image)
 

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 58 of file cxInteractiveClipper.h.

Constructor & Destructor Documentation

cx::InteractiveClipper::InteractiveClipper ( CoreServicesPtr  backend)

Definition at line 51 of file cxInteractiveClipper.cpp.

Member Function Documentation

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

clear all saved clips in the image.

Definition at line 97 of file cxInteractiveClipper.cpp.

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

Definition at line 184 of file cxInteractiveClipper.cpp.

ImagePtr cx::InteractiveClipper::getImage ( ) const

Definition at line 137 of file cxInteractiveClipper.cpp.

bool cx::InteractiveClipper::getInvertPlane ( ) const

Definition at line 115 of file cxInteractiveClipper.cpp.

PLANE_TYPE cx::InteractiveClipper::getSlicePlane ( )

Definition at line 104 of file cxInteractiveClipper.cpp.

bool cx::InteractiveClipper::getUseClipper ( ) const

Definition at line 111 of file cxInteractiveClipper.cpp.

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

Definition at line 124 of file cxInteractiveClipper.cpp.

void cx::InteractiveClipper::saveClipPlaneToVolume ( )

save the current clip to image

Definition at line 90 of file cxInteractiveClipper.cpp.

void cx::InteractiveClipper::setImage ( ImagePtr  image)

Definition at line 142 of file cxInteractiveClipper.cpp.

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

Definition at line 78 of file cxInteractiveClipper.cpp.

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

Definition at line 119 of file cxInteractiveClipper.cpp.


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