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