VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkImageGradient Class Reference

Computes the gradient vector. More...

#include <vtkImageGradient.h>

Inherits vtkThreadedImageAlgorithm.

Public Types

typedef vtkThreadedImageAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkImageGradientNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void SetDimensionality (int)
 
virtual int GetDimensionality ()
 
virtual void SetHandleBoundaries (int)
 
virtual int GetHandleBoundaries ()
 
virtual void HandleBoundariesOn ()
 
virtual void HandleBoundariesOff ()
 

Static Public Member Functions

static vtkImageGradientNew ()
 
static int IsTypeOf (const char *type)
 
static vtkImageGradientSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkImageGradient ()
 
 ~vtkImageGradient ()
 
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
void ThreadedRequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int threadId)
 

Protected Attributes

int HandleBoundaries
 
int Dimensionality
 

Detailed Description

Computes the gradient vector.

vtkImageGradient computes the gradient vector of an image. The vector results are stored as scalar components. The Dimensionality determines whether to perform a 2d or 3d gradient. The default is two dimensional XY gradient. OutputScalarType is always double. Gradient is computed using central differences.

Examples:
vtkImageGradient (Examples)
Tests:
vtkImageGradient (Tests)

Definition at line 37 of file vtkImageGradient.h.

Member Typedef Documentation

typedef vtkThreadedImageAlgorithm vtkImageGradient::Superclass

Definition at line 41 of file vtkImageGradient.h.

Constructor & Destructor Documentation

vtkImageGradient::vtkImageGradient ( )
protected
vtkImageGradient::~vtkImageGradient ( )
inlineprotected

Definition at line 62 of file vtkImageGradient.h.

Member Function Documentation

static vtkImageGradient* vtkImageGradient::New ( )
static
static int vtkImageGradient::IsTypeOf ( const char *  type)
static
virtual int vtkImageGradient::IsA ( const char *  type)
virtual
static vtkImageGradient* vtkImageGradient::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkImageGradient::NewInstanceInternal ( ) const
protectedvirtual
vtkImageGradient* vtkImageGradient::NewInstance ( ) const
void vtkImageGradient::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual void vtkImageGradient::SetDimensionality ( int  )
virtual

Determines how the input is interpreted (set of 2d slices ...)

virtual int vtkImageGradient::GetDimensionality ( )
virtual

Determines how the input is interpreted (set of 2d slices ...)

virtual void vtkImageGradient::SetHandleBoundaries ( int  )
virtual

Get/Set whether to handle boundaries. If enabled, boundary pixels are treated as duplicated so that central differencing works for the boundary pixels. If disabled, the output whole extent of the image is reduced by one pixel.

virtual int vtkImageGradient::GetHandleBoundaries ( )
virtual

Get/Set whether to handle boundaries. If enabled, boundary pixels are treated as duplicated so that central differencing works for the boundary pixels. If disabled, the output whole extent of the image is reduced by one pixel.

virtual void vtkImageGradient::HandleBoundariesOn ( )
virtual

Get/Set whether to handle boundaries. If enabled, boundary pixels are treated as duplicated so that central differencing works for the boundary pixels. If disabled, the output whole extent of the image is reduced by one pixel.

virtual void vtkImageGradient::HandleBoundariesOff ( )
virtual

Get/Set whether to handle boundaries. If enabled, boundary pixels are treated as duplicated so that central differencing works for the boundary pixels. If disabled, the output whole extent of the image is reduced by one pixel.

virtual int vtkImageGradient::RequestInformation ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
virtual int vtkImageGradient::RequestUpdateExtent ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
virtual int vtkImageGradient::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
void vtkImageGradient::ThreadedRequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *  ,
vtkImageData ***  inData,
vtkImageData **  outData,
int  outExt[6],
int  threadId 
)
protected

Member Data Documentation

int vtkImageGradient::HandleBoundaries
protected

Definition at line 62 of file vtkImageGradient.h.

int vtkImageGradient::Dimensionality
protected

Definition at line 65 of file vtkImageGradient.h.


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