27 #ifndef vtkImageLogic_h 28 #define vtkImageLogic_h 42 #include "vtkImagingMathModule.h" 56 vtkSetMacro(Operation,
int);
57 vtkGetMacro(Operation,
int);
70 vtkSetMacro(OutputTrueValue,
double);
71 vtkGetMacro(OutputTrueValue,
double);
95 int ext[6],
int id)
override;
void SetOperationToXor()
Set/Get the Operation to perform.
void SetOperationToAnd()
Set/Get the Operation to perform.
void SetInputData(vtkDataObject *)
Assign a data object as input.
Generic filter that has one input.
a simple class to control print indentation
topologically and geometrically regular array of data
void SetOperationToNor()
Set/Get the Operation to perform.
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method.
void SetOperationToOr()
Set/Get the Operation to perform.
void SetOperationToNand()
Set/Get the Operation to perform.
virtual void SetInput1Data(vtkDataObject *input)
Set the Input1 of this filter.
int FillInputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkImageLogic() override
void SetOperationToNot()
Set/Get the Operation to perform.
general representation of visualization data
And, or, xor, nand, nor, not.
virtual void SetInput2Data(vtkDataObject *input)
Set the Input2 of this filter.