Go to the documentation of this file.
27 #ifndef vtkImageMaskBits_h
28 #define vtkImageMaskBits_h
30 #include "vtkImagingMathModule.h"
45 vtkSetVector4Macro(Masks,
unsigned int);
47 {this->SetMasks(mask, mask, mask, mask);}
48 void SetMasks(
unsigned int mask1,
unsigned int mask2)
49 {this->SetMasks(mask1, mask2, 0xffffffff, 0xffffffff);}
50 void SetMasks(
unsigned int mask1,
unsigned int mask2,
unsigned int mask3)
51 {this->SetMasks(mask1, mask2, mask3, 0xffffffff);}
52 vtkGetVector4Macro(Masks,
unsigned int);
59 vtkSetMacro(Operation,
int);
60 vtkGetMacro(Operation,
int);
73 int ext[6],
int id)
override;
75 unsigned int Masks[4];
void SetMask(unsigned int mask)
Generic filter that has one input.
void SetMasks(unsigned int mask1, unsigned int mask2, unsigned int mask3)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetOperationToNand()
topologically and geometrically regular array of data
a simple class to control print indentation
~vtkImageMaskBits() override
static vtkAlgorithm * New()
virtual void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int extent[6], int threadId)
void SetMasks(unsigned int mask1, unsigned int mask2)
applies a bit-mask pattern to each component.