27 #ifndef vtkImageMaskBits_h
28 #define vtkImageMaskBits_h
31 #include "vtkImagingMathModule.h"
45 vtkSetVector4Macro(Masks,
unsigned int);
46 void SetMask(
unsigned int mask) { this->SetMasks(mask, mask, mask, mask); }
47 void SetMasks(
unsigned int mask1,
unsigned int mask2)
49 this->SetMasks(mask1, mask2, 0xffffffff, 0xffffffff);
51 void SetMasks(
unsigned int mask1,
unsigned int mask2,
unsigned int mask3)
53 this->SetMasks(mask1, mask2, mask3, 0xffffffff);
55 vtkGetVector4Macro(Masks,
unsigned int);
62 vtkSetMacro(Operation,
int);
63 vtkGetMacro(Operation,
int);
77 unsigned int Masks[4];
void SetMasks(unsigned int mask1, unsigned int mask2)
Set/Get the bit-masks.
void SetOperationToOr()
Set/Get the boolean operator.
applies a bit-mask pattern to each component.
virtual void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int extent[6], int threadId)
void SetMask(unsigned int mask)
Set/Get the bit-masks.
void SetOperationToXor()
Set/Get the boolean operator.
Generic filter that has one input.
void SetMasks(unsigned int mask1, unsigned int mask2, unsigned int mask3)
Set/Get the bit-masks.
a simple class to control print indentation
void SetOperationToNand()
Set/Get the boolean operator.
topologically and geometrically regular array of data
void SetOperationToAnd()
Set/Get the boolean operator.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetOperationToNor()
Set/Get the boolean operator.