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

Divergence of a vector field. More...

#include <vtkImageDivergence.h>

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

List of all members.

Public Types

typedef vtkThreadedImageAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkImageDivergenceNewInstance () const

Static Public Member Functions

static vtkImageDivergenceNew ()
static int IsTypeOf (const char *type)
static vtkImageDivergenceSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkImageDivergence ()
 ~vtkImageDivergence ()
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, int ext[6], int id)

Detailed Description

Divergence of a vector field.

vtkImageDivergence takes a 3D vector field and creates a scalar field which which represents the rate of change of the vector field. The definition of Divergence: Given V = P(x,y,z), Q(x,y,z), R(x,y,z), Divergence = dP/dx + dQ/dy + dR/dz.

Tests:
vtkImageDivergence (Tests)

Definition at line 35 of file vtkImageDivergence.h.


Member Typedef Documentation

Reimplemented from vtkThreadedImageAlgorithm.

Definition at line 39 of file vtkImageDivergence.h.


Constructor & Destructor Documentation

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

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

Reimplemented from vtkThreadedImageAlgorithm.

Reimplemented from vtkThreadedImageAlgorithm.

Subclasses can reimplement this method to translate the update extent requests from each output port into update extent requests for the input connections.

Reimplemented from vtkImageAlgorithm.

virtual int vtkImageDivergence::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.

void vtkImageDivergence::ThreadedExecute ( vtkImageData inData,
vtkImageData outData,
int  ext[6],
int  id 
) [protected, virtual]

Reimplemented from vtkThreadedImageAlgorithm.


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