VTK
|
show two images at once using a checkboard pattern More...
#include <vtkImageCheckerboard.h>
Public Types | |
typedef vtkThreadedImageAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkImageCheckerboard * | NewInstance () const |
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 | SetInput1Data (vtkDataObject *in) |
virtual void | SetInput2Data (vtkDataObject *in) |
Static Public Member Functions | |
static vtkImageCheckerboard * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageCheckerboard * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
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] |
show two images at once using a checkboard pattern
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 35 of file vtkImageCheckerboard.h.
Reimplemented from vtkThreadedImageAlgorithm.
Definition at line 39 of file vtkImageCheckerboard.h.
vtkImageCheckerboard::vtkImageCheckerboard | ( | ) | [protected] |
vtkImageCheckerboard::~vtkImageCheckerboard | ( | ) | [inline, protected] |
Definition at line 56 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.
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 | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkThreadedImageAlgorithm.
virtual vtkObjectBase* vtkImageCheckerboard::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
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::SetInput1Data | ( | vtkDataObject * | in | ) | [inline, virtual] |
Set the two inputs to this filter
Definition at line 50 of file vtkImageCheckerboard.h.
virtual void vtkImageCheckerboard::SetInput2Data | ( | vtkDataObject * | in | ) | [inline, virtual] |
Set the two inputs to this filter
Definition at line 51 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 64 of file vtkImageCheckerboard.h.