Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::BooleanOperation Class Reference

Executes a boolean operation on two different segmentations. More...

#include <mitkBooleanOperation.h>

Public Types

enum  Type { None, Difference, Intersection, Union }
 

Public Member Functions

 BooleanOperation (Type type, Image::Pointer segmentationA, Image::Pointer segmentationB, unsigned int time=0)
 
 ~BooleanOperation ()
 
LabelSetImage::Pointer GetResult () const
 

Detailed Description

Executes a boolean operation on two different segmentations.

All parameters of the boolean operations must be specified during construction. The actual operation is executed when calling GetResult().

Definition at line 30 of file mitkBooleanOperation.h.

Member Enumeration Documentation

Enumerator
None 
Difference 
Intersection 
Union 

Definition at line 33 of file mitkBooleanOperation.h.

Constructor & Destructor Documentation

mitk::BooleanOperation::BooleanOperation ( Type  type,
Image::Pointer  segmentationA,
Image::Pointer  segmentationB,
unsigned int  time = 0 
)

Definition at line 48 of file mitkBooleanOperation.cpp.

mitk::BooleanOperation::~BooleanOperation ( )

Definition at line 57 of file mitkBooleanOperation.cpp.

Member Function Documentation

mitk::LabelSetImage::Pointer mitk::BooleanOperation::GetResult ( ) const

Definition at line 61 of file mitkBooleanOperation.cpp.

References mitkThrow.


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