VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkImageDotProduct Class Reference

Dot product of two vector images. More...

#include <vtkImageDotProduct.h>

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

List of all members.

Public Types

typedef vtkThreadedImageAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkImageDotProductNewInstance () const
virtual void SetInput1Data (vtkDataObject *in)
virtual void SetInput2Data (vtkDataObject *in)

Static Public Member Functions

static vtkImageDotProductNew ()
static int IsTypeOf (const char *type)
static vtkImageDotProductSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkImageDotProduct ()
 ~vtkImageDotProduct ()
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual void ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)

Detailed Description

Dot product of two vector images.

vtkImageDotProduct interprets the scalar components of two images as vectors and takes the dot product vector by vector (pixel by pixel).

Tests:
vtkImageDotProduct (Tests)

Definition at line 33 of file vtkImageDotProduct.h.


Member Typedef Documentation

Reimplemented from vtkThreadedImageAlgorithm.

Definition at line 37 of file vtkImageDotProduct.h.


Constructor & Destructor Documentation

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

Definition at line 47 of file vtkImageDotProduct.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 vtkImageDotProduct::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 vtkImageDotProduct::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* vtkImageDotProduct::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkThreadedImageAlgorithm.

Reimplemented from vtkThreadedImageAlgorithm.

virtual void vtkImageDotProduct::SetInput1Data ( vtkDataObject in) [inline, virtual]

Set the two inputs to this filter

Definition at line 41 of file vtkImageDotProduct.h.

virtual void vtkImageDotProduct::SetInput2Data ( vtkDataObject in) [inline, virtual]

Set the two inputs to this filter

Definition at line 42 of file vtkImageDotProduct.h.

virtual int vtkImageDotProduct::RequestInformation ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

Subclasses can reimplement this method to collect information from their inputs and set information for their outputs.

Reimplemented from vtkImageAlgorithm.

virtual void vtkImageDotProduct::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.


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