VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkImagePadFilter Class Reference

Super class for filters that fill in extra pixels. More...

#include <vtkImagePadFilter.h>

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

List of all members.

Public Types

typedef vtkThreadedImageAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkImagePadFilterNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void SetOutputWholeExtent (int extent[6])
void SetOutputWholeExtent (int minX, int maxX, int minY, int maxY, int minZ, int maxZ)
void GetOutputWholeExtent (int extent[6])
intGetOutputWholeExtent ()
virtual void SetOutputNumberOfScalarComponents (int)
virtual int GetOutputNumberOfScalarComponents ()

Static Public Member Functions

static vtkImagePadFilterNew ()
static int IsTypeOf (const char *type)
static vtkImagePadFilterSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkImagePadFilter ()
 ~vtkImagePadFilter ()
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual void ComputeInputUpdateExtent (int inExt[6], int outExt[6], int wExt[6])

Protected Attributes

int OutputWholeExtent [6]
int OutputNumberOfScalarComponents

Detailed Description

Super class for filters that fill in extra pixels.

vtkImagePadFilter Changes the image extent of an image. If the image extent is larger than the input image extent, the extra pixels are filled by an algorithm determined by the subclass. The image extent of the output has to be specified.

Definition at line 30 of file vtkImagePadFilter.h.


Member Typedef Documentation

Reimplemented from vtkThreadedImageAlgorithm.

Reimplemented in vtkImageWrapPad, vtkImageConstantPad, and vtkImageMirrorPad.

Definition at line 34 of file vtkImagePadFilter.h.


Constructor & Destructor Documentation

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

Definition at line 54 of file vtkImagePadFilter.h.


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkAlgorithm.

Reimplemented in vtkImageWrapPad, vtkImageConstantPad, and vtkImageMirrorPad.

static int vtkImagePadFilter::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.

Reimplemented in vtkImageWrapPad, vtkImageConstantPad, and vtkImageMirrorPad.

virtual int vtkImagePadFilter::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 in vtkImageWrapPad, vtkImageConstantPad, and vtkImageMirrorPad.

virtual vtkObjectBase* vtkImagePadFilter::NewInstanceInternal ( ) const [protected, virtual]
void vtkImagePadFilter::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkThreadedImageAlgorithm.

Reimplemented in vtkImageConstantPad.

The image extent of the output has to be set explicitly.

void vtkImagePadFilter::SetOutputWholeExtent ( int  minX,
int  maxX,
int  minY,
int  maxY,
int  minZ,
int  maxZ 
)

The image extent of the output has to be set explicitly.

The image extent of the output has to be set explicitly.

The image extent of the output has to be set explicitly.

Definition at line 43 of file vtkImagePadFilter.h.

Set/Get the number of output scalar components.

Set/Get the number of output scalar components.

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

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 void vtkImagePadFilter::ComputeInputUpdateExtent ( int  inExt[6],
int  outExt[6],
int  wExt[6] 
) [protected, virtual]

Reimplemented in vtkImageWrapPad, and vtkImageMirrorPad.


Member Data Documentation

Definition at line 54 of file vtkImagePadFilter.h.

Definition at line 57 of file vtkImagePadFilter.h.


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