15#ifndef vtkImageLogic_h
16#define vtkImageLogic_h
27#include "vtkImagingMathModule.h"
30VTK_ABI_NAMESPACE_BEGIN
42 vtkSetMacro(Operation,
int);
43 vtkGetMacro(Operation,
int);
56 vtkSetMacro(OutputTrueValue,
double);
57 vtkGetMacro(OutputTrueValue,
double);
general representation of visualization data
void SetInputData(vtkDataObject *)
Assign a data object as input.
topologically and geometrically regular array of data
And, or, xor, nand, nor, not.
static vtkImageLogic * New()
void SetOperationToXor()
Set/Get the Operation to perform.
virtual void SetInput2Data(vtkDataObject *input)
Set the Input2 of this filter.
void SetOperationToNor()
Set/Get the Operation to perform.
void SetOperationToNand()
Set/Get the Operation to perform.
void SetOperationToAnd()
Set/Get the Operation to perform.
void SetOperationToOr()
Set/Get the Operation to perform.
~vtkImageLogic() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int ext[6], int id) override
If the subclass does not define an Execute method, then the task will be broken up,...
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...
void SetOperationToNot()
Set/Get the Operation to perform.
a simple class to control print indentation
Generic filter that has one input.