VTK
|
Divergence of a vector field. More...
#include <vtkImageDivergence.h>
Public Types | |
typedef vtkThreadedImageAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkImageDivergence * | NewInstance () const |
Static Public Member Functions | |
static vtkImageDivergence * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageDivergence * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () 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) |
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.
Definition at line 35 of file vtkImageDivergence.h.
Reimplemented from vtkThreadedImageAlgorithm.
Definition at line 39 of file vtkImageDivergence.h.
vtkImageDivergence::vtkImageDivergence | ( | ) | [protected] |
vtkImageDivergence::~vtkImageDivergence | ( | ) | [inline, protected] |
Definition at line 43 of file vtkImageDivergence.h.
static vtkImageDivergence* vtkImageDivergence::New | ( | ) | [static] |
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.
static vtkImageDivergence* vtkImageDivergence::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkThreadedImageAlgorithm.
virtual vtkObjectBase* vtkImageDivergence::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
Reimplemented from vtkThreadedImageAlgorithm.
virtual int vtkImageDivergence::RequestUpdateExtent | ( | vtkInformation * | , |
vtkInformationVector ** | , | ||
vtkInformationVector * | |||
) | [protected, virtual] |
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.