#include <vtkImageCheckerboard.h>
vtkImageCheckerboard displays two images as one using a checkerboard pattern. This filter can be used to compare two images. The checkerboard pattern is controlled by the NumberOfDivisions ivar. This controls the number of checkerboard divisions in the whole extent of the image.
Definition at line 34 of file vtkImageCheckerboard.h.
Public Types | |
typedef vtkThreadedImageAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetNumberOfDivisions (int, int, int) |
virtual void | SetNumberOfDivisions (int[3]) |
virtual int * | GetNumberOfDivisions () |
virtual void | GetNumberOfDivisions (int data[3]) |
virtual void | SetInput1 (vtkDataObject *in) |
virtual void | SetInput2 (vtkDataObject *in) |
Static Public Member Functions | |
static vtkImageCheckerboard * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageCheckerboard * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkImageCheckerboard () | |
~vtkImageCheckerboard () | |
virtual void | ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId) |
Protected Attributes | |
int | NumberOfDivisions [3] |
vtkImageCheckerboard::vtkImageCheckerboard | ( | ) | [protected] |
vtkImageCheckerboard::~vtkImageCheckerboard | ( | ) | [inline, protected] |
Definition at line 55 of file vtkImageCheckerboard.h.
static vtkImageCheckerboard* vtkImageCheckerboard::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
virtual const char* vtkImageCheckerboard::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
static int vtkImageCheckerboard::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 vtkImageCheckerboard::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 vtkImageCheckerboard* vtkImageCheckerboard::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkThreadedImageAlgorithm.
void vtkImageCheckerboard::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 vtkImageCheckerboard::SetNumberOfDivisions | ( | int | , | |
int | , | |||
int | ||||
) | [virtual] |
Set/Get the number of divisions along each axis.
virtual void vtkImageCheckerboard::SetNumberOfDivisions | ( | int | [3] | ) | [virtual] |
Set/Get the number of divisions along each axis.
virtual int* vtkImageCheckerboard::GetNumberOfDivisions | ( | ) | [virtual] |
Set/Get the number of divisions along each axis.
virtual void vtkImageCheckerboard::GetNumberOfDivisions | ( | int | data[3] | ) | [virtual] |
Set/Get the number of divisions along each axis.
virtual void vtkImageCheckerboard::SetInput1 | ( | vtkDataObject * | in | ) | [inline, virtual] |
Set the two inputs to this filter
Definition at line 49 of file vtkImageCheckerboard.h.
virtual void vtkImageCheckerboard::SetInput2 | ( | vtkDataObject * | in | ) | [inline, virtual] |
Set the two inputs to this filter
Definition at line 50 of file vtkImageCheckerboard.h.
virtual void vtkImageCheckerboard::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.
int vtkImageCheckerboard::NumberOfDivisions[3] [protected] |
Definition at line 63 of file vtkImageCheckerboard.h.