vtkImageComparison Class Reference

#include <vtkImageComparison.h>

Inheritance diagram for vtkImageComparison:

Inheritance graph
[legend]
Collaboration diagram for vtkImageComparison:

Collaboration graph
[legend]
List of all members.

Detailed Description

Greater than, less than, greater than equal, less than equal, and equals.

vtkImageComparison implements basic comparison operations SetOperation is used to select the filters behavior. The filter can take two or one input.

Definition at line 51 of file vtkImageComparison.h.

Public Member Functions

 vtkTypeRevisionMacro (vtkImageComparison, vtkThreadedImageAlgorithm)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetConstantC (double)
virtual double GetConstantC ()
virtual void SetOperation (int)
virtual int GetOperation ()
void SetOperationToGreaterThan ()
void SetOperationToLessThan ()
void SetOperationToGreaterThanEqual ()
void SetOperationToLessThanEqual ()
void SetOperationToEqual ()
virtual void SetOutputTrueValue (double)
virtual double GetOutputTrueValue ()
virtual void SetInput1 (vtkDataObject *in)
virtual void SetInput2 (vtkDataObject *in)
virtual void SetOutputScalarType (int)
virtual int GetOutputScalarType ()
void SetOutputScalarTypeToDouble ()
void SetOutputScalarTypeToFloat ()
void SetOutputScalarTypeToLong ()
void SetOutputScalarTypeToUnsignedLong ()
void SetOutputScalarTypeToInt ()
void SetOutputScalarTypeToUnsignedInt ()
void SetOutputScalarTypeToShort ()
void SetOutputScalarTypeToUnsignedShort ()
void SetOutputScalarTypeToChar ()
void SetOutputScalarTypeToSignedChar ()
void SetOutputScalarTypeToUnsignedChar ()

Static Public Member Functions

static vtkImageComparisonNew ()

Protected Member Functions

 vtkImageComparison ()
 ~vtkImageComparison ()
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual void ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
virtual int FillInputPortInformation (int port, vtkInformation *info)

Protected Attributes

int Operation
double ConstantC
double OutputTrueValue
int OutputScalarType


Constructor & Destructor Documentation

vtkImageComparison::vtkImageComparison (  )  [protected]

vtkImageComparison::~vtkImageComparison (  )  [inline, protected]

Definition at line 120 of file vtkImageComparison.h.


Member Function Documentation

static vtkImageComparison* vtkImageComparison::New (  )  [static]

Reimplemented from vtkAlgorithm.

vtkImageComparison::vtkTypeRevisionMacro ( vtkImageComparison  ,
vtkThreadedImageAlgorithm   
)

void vtkImageComparison::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkThreadedImageAlgorithm.

virtual void vtkImageComparison::SetOperation ( int   )  [virtual]

Set/Get the Operation to perform.

virtual int vtkImageComparison::GetOperation (  )  [virtual]

Set/Get the Operation to perform.

void vtkImageComparison::SetOperationToGreaterThan (  )  [inline]

Set/Get the Operation to perform.

Definition at line 63 of file vtkImageComparison.h.

References VTK_GREATER_THAN.

void vtkImageComparison::SetOperationToLessThan (  )  [inline]

Set/Get the Operation to perform.

Definition at line 65 of file vtkImageComparison.h.

References VTK_LESS_THAN.

void vtkImageComparison::SetOperationToGreaterThanEqual (  )  [inline]

Set/Get the Operation to perform.

Definition at line 67 of file vtkImageComparison.h.

References VTK_GREATER_THAN_EQUAL.

void vtkImageComparison::SetOperationToLessThanEqual (  )  [inline]

Set/Get the Operation to perform.

Definition at line 69 of file vtkImageComparison.h.

References VTK_LESS_THAN_EQUAL.

void vtkImageComparison::SetOperationToEqual (  )  [inline]

Set/Get the Operation to perform.

Definition at line 71 of file vtkImageComparison.h.

References VTK_EQUAL.

virtual void vtkImageComparison::SetConstantC ( double   )  [virtual]

virtual double vtkImageComparison::GetConstantC (  )  [virtual]

virtual void vtkImageComparison::SetOutputTrueValue ( double   )  [virtual]

Set the value to use for true in the output.

virtual double vtkImageComparison::GetOutputTrueValue (  )  [virtual]

Set the value to use for true in the output.

virtual void vtkImageComparison::SetInput1 ( vtkDataObject in  )  [inline, virtual]

Set the two inputs to this filter

Definition at line 86 of file vtkImageComparison.h.

References vtkImageAlgorithm::SetInput().

virtual void vtkImageComparison::SetInput2 ( vtkDataObject in  )  [inline, virtual]

Set the two inputs to this filter

Definition at line 87 of file vtkImageComparison.h.

References vtkImageAlgorithm::SetInput().

virtual void vtkImageComparison::SetOutputScalarType ( int   )  [virtual]

Set the desired output scalar type to cast to

virtual int vtkImageComparison::GetOutputScalarType (  )  [virtual]

Set the desired output scalar type to cast to

void vtkImageComparison::SetOutputScalarTypeToDouble (  )  [inline]

Set the desired output scalar type to cast to

Definition at line 94 of file vtkImageComparison.h.

References VTK_DOUBLE.

void vtkImageComparison::SetOutputScalarTypeToFloat (  )  [inline]

Set the desired output scalar type to cast to

Definition at line 96 of file vtkImageComparison.h.

References VTK_FLOAT.

void vtkImageComparison::SetOutputScalarTypeToLong (  )  [inline]

Set the desired output scalar type to cast to

Definition at line 98 of file vtkImageComparison.h.

References VTK_LONG.

void vtkImageComparison::SetOutputScalarTypeToUnsignedLong (  )  [inline]

Set the desired output scalar type to cast to

Definition at line 100 of file vtkImageComparison.h.

References VTK_UNSIGNED_LONG.

void vtkImageComparison::SetOutputScalarTypeToInt (  )  [inline]

Set the desired output scalar type to cast to

Definition at line 102 of file vtkImageComparison.h.

References VTK_INT.

void vtkImageComparison::SetOutputScalarTypeToUnsignedInt (  )  [inline]

Set the desired output scalar type to cast to

Definition at line 104 of file vtkImageComparison.h.

References VTK_UNSIGNED_INT.

void vtkImageComparison::SetOutputScalarTypeToShort (  )  [inline]

Set the desired output scalar type to cast to

Definition at line 106 of file vtkImageComparison.h.

References VTK_SHORT.

void vtkImageComparison::SetOutputScalarTypeToUnsignedShort (  )  [inline]

Set the desired output scalar type to cast to

Definition at line 108 of file vtkImageComparison.h.

References VTK_UNSIGNED_SHORT.

void vtkImageComparison::SetOutputScalarTypeToChar (  )  [inline]

Set the desired output scalar type to cast to

Definition at line 110 of file vtkImageComparison.h.

References VTK_CHAR.

void vtkImageComparison::SetOutputScalarTypeToSignedChar (  )  [inline]

Set the desired output scalar type to cast to

Definition at line 112 of file vtkImageComparison.h.

References VTK_SIGNED_CHAR.

void vtkImageComparison::SetOutputScalarTypeToUnsignedChar (  )  [inline]

Set the desired output scalar type to cast to

Definition at line 114 of file vtkImageComparison.h.

References VTK_UNSIGNED_CHAR.

virtual int vtkImageComparison::RequestInformation ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

Reimplemented from vtkImageAlgorithm.

virtual void vtkImageComparison::ThreadedRequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector,
vtkImageData ***  inData,
vtkImageData **  outData,
int  extent[6],
int  threadId 
) [protected, virtual]

Reimplemented from vtkThreadedImageAlgorithm.

virtual int vtkImageComparison::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Reimplemented from vtkImageAlgorithm.


Member Data Documentation

int vtkImageComparison::Operation [protected]

Definition at line 120 of file vtkImageComparison.h.

double vtkImageComparison::ConstantC [protected]

Definition at line 123 of file vtkImageComparison.h.

double vtkImageComparison::OutputTrueValue [protected]

Definition at line 124 of file vtkImageComparison.h.

int vtkImageComparison::OutputScalarType [protected]

Definition at line 125 of file vtkImageComparison.h.


The documentation for this class was generated from the following file:
Generated on Tue May 12 14:53:21 2009 for vtkCNMRRLibrary by  doxygen 1.4.7