 |
VTK
9.1.0
|
Go to the documentation of this file.
24 #ifndef vtkImageMaskBits_h
25 #define vtkImageMaskBits_h
28 #include "vtkImagingMathModule.h"
42 vtkSetVector4Macro(Masks,
unsigned int);
43 void SetMask(
unsigned int mask) { this->SetMasks(mask, mask, mask, mask); }
44 void SetMasks(
unsigned int mask1,
unsigned int mask2)
46 this->SetMasks(mask1, mask2, 0xffffffff, 0xffffffff);
48 void SetMasks(
unsigned int mask1,
unsigned int mask2,
unsigned int mask3)
50 this->SetMasks(mask1, mask2, mask3, 0xffffffff);
52 vtkGetVector4Macro(Masks,
unsigned int);
59 vtkSetMacro(Operation,
int);
60 vtkGetMacro(Operation,
int);
74 unsigned int Masks[4];
static vtkImageMaskBits * New()
void SetOperationToNor()
Set/Get the boolean operator.
void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int ext[6], int id) override
~vtkImageMaskBits() override=default
void SetMask(unsigned int mask)
Set/Get the bit-masks.
void SetOperationToXor()
Set/Get the boolean operator.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Generic filter that has one input.
void SetMasks(unsigned int mask1, unsigned int mask2, unsigned int mask3)
Set/Get the bit-masks.
void SetOperationToAnd()
Set/Get the boolean operator.
void SetOperationToNand()
Set/Get the boolean operator.
topologically and geometrically regular array of data
a simple class to control print indentation
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.