Medical Imaging Interaction Toolkit  2022.04.99-01b95b17
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, TimePointType 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 26 of file mitkBooleanOperation.h.

Member Enumeration Documentation

◆ Type

Enumerator
None 
Difference 
Intersection 
Union 

Definition at line 29 of file mitkBooleanOperation.h.

Constructor & Destructor Documentation

◆ BooleanOperation()

mitk::BooleanOperation::BooleanOperation ( Type  type,
Image::Pointer  segmentationA,
Image::Pointer  segmentationB,
TimePointType  time = 0. 
)

◆ ~BooleanOperation()

mitk::BooleanOperation::~BooleanOperation ( )

Member Function Documentation

◆ GetResult()

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

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