VTK
|
And, or, xor, nand, nor, not. More...
#include <vtkImageLogic.h>
And, or, xor, nand, nor, not.
vtkImageLogic implements basic logic operations. SetOperation is used to select the filter's behavior. The filter can take two or one input. Inputs must have the same type.
Definition at line 44 of file vtkImageLogic.h.
Reimplemented from vtkThreadedImageAlgorithm.
Definition at line 48 of file vtkImageLogic.h.
vtkImageLogic::vtkImageLogic | ( | ) | [protected] |
vtkImageLogic::~vtkImageLogic | ( | ) | [inline, protected] |
Definition at line 77 of file vtkImageLogic.h.
static vtkImageLogic* vtkImageLogic::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
static int vtkImageLogic::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkThreadedImageAlgorithm.
virtual int vtkImageLogic::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkThreadedImageAlgorithm.
static vtkImageLogic* vtkImageLogic::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkThreadedImageAlgorithm.
virtual vtkObjectBase* vtkImageLogic::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
vtkImageLogic* vtkImageLogic::NewInstance | ( | ) | const |
Reimplemented from vtkThreadedImageAlgorithm.
void vtkImageLogic::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkThreadedImageAlgorithm.
virtual void vtkImageLogic::SetOperation | ( | int | ) | [virtual] |
Set/Get the Operation to perform.
virtual int vtkImageLogic::GetOperation | ( | ) | [virtual] |
Set/Get the Operation to perform.
void vtkImageLogic::SetOperationToAnd | ( | ) | [inline] |
Set/Get the Operation to perform.
Definition at line 55 of file vtkImageLogic.h.
void vtkImageLogic::SetOperationToOr | ( | ) | [inline] |
Set/Get the Operation to perform.
Definition at line 56 of file vtkImageLogic.h.
void vtkImageLogic::SetOperationToXor | ( | ) | [inline] |
Set/Get the Operation to perform.
Definition at line 57 of file vtkImageLogic.h.
void vtkImageLogic::SetOperationToNand | ( | ) | [inline] |
Set/Get the Operation to perform.
Definition at line 58 of file vtkImageLogic.h.
void vtkImageLogic::SetOperationToNor | ( | ) | [inline] |
Set/Get the Operation to perform.
Definition at line 59 of file vtkImageLogic.h.
void vtkImageLogic::SetOperationToNot | ( | ) | [inline] |
Set/Get the Operation to perform.
Definition at line 60 of file vtkImageLogic.h.
virtual void vtkImageLogic::SetOutputTrueValue | ( | double | ) | [virtual] |
Set the value to use for true in the output.
virtual double vtkImageLogic::GetOutputTrueValue | ( | ) | [virtual] |
Set the value to use for true in the output.
virtual void vtkImageLogic::SetInput1Data | ( | vtkDataObject * | input | ) | [inline, virtual] |
Set the Input1 of this filter.
Definition at line 70 of file vtkImageLogic.h.
virtual void vtkImageLogic::SetInput2Data | ( | vtkDataObject * | input | ) | [inline, virtual] |
Set the Input2 of this filter.
Definition at line 73 of file vtkImageLogic.h.
void vtkImageLogic::ThreadedRequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector, | ||
vtkImageData *** | inData, | ||
vtkImageData ** | outData, | ||
int | extent[6], | ||
int | threadId | ||
) | [protected, virtual] |
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. It is public so that the thread functions can call this method.
Reimplemented from vtkThreadedImageAlgorithm.
virtual int vtkImageLogic::FillInputPortInformation | ( | int | port, |
vtkInformation * | info | ||
) | [protected, virtual] |
These method should be reimplemented by subclasses that have more than a single input or single output. See vtkAlgorithm for more information.
Reimplemented from vtkImageAlgorithm.
int vtkImageLogic::Operation [protected] |
Definition at line 77 of file vtkImageLogic.h.
double vtkImageLogic::OutputTrueValue [protected] |
Definition at line 80 of file vtkImageLogic.h.