VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkImageCheckerboard Class Reference

show two images at once using a checkboard pattern More...

#include <vtkImageCheckerboard.h>

Inheritance diagram for vtkImageCheckerboard:
Inheritance graph
[legend]
Collaboration diagram for vtkImageCheckerboard:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkThreadedImageAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkImageCheckerboardNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetNumberOfDivisions (int, int, int)
virtual void SetNumberOfDivisions (int[3])
virtual intGetNumberOfDivisions ()
virtual void GetNumberOfDivisions (int data[3])
virtual void SetInput1Data (vtkDataObject *in)
virtual void SetInput2Data (vtkDataObject *in)

Static Public Member Functions

static vtkImageCheckerboardNew ()
static int IsTypeOf (const char *type)
static vtkImageCheckerboardSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () 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]

Detailed Description

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.

Tests:
vtkImageCheckerboard (Tests)

Definition at line 35 of file vtkImageCheckerboard.h.


Member Typedef Documentation

Reimplemented from vtkThreadedImageAlgorithm.

Definition at line 39 of file vtkImageCheckerboard.h.


Constructor & Destructor Documentation

Definition at line 56 of file vtkImageCheckerboard.h.


Member Function Documentation

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.

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.

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.


Member Data Documentation

Definition at line 64 of file vtkImageCheckerboard.h.


The documentation for this class was generated from the following file: