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

Changes extent, nothing else. More...

#include <vtkImageTranslateExtent.h>

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

List of all members.

Public Types

typedef vtkImageAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkImageTranslateExtentNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetTranslation (int, int, int)
virtual void SetTranslation (int[3])
virtual intGetTranslation ()
virtual void GetTranslation (int &, int &, int &)
virtual void GetTranslation (int[3])

Static Public Member Functions

static vtkImageTranslateExtentNew ()
static int IsTypeOf (const char *type)
static vtkImageTranslateExtentSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkImageTranslateExtent ()
 ~vtkImageTranslateExtent ()
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

int Translation [3]

Detailed Description

Changes extent, nothing else.

vtkImageTranslateExtent shift the whole extent, but does not change the data.

Tests:
vtkImageTranslateExtent (Tests)

Definition at line 31 of file vtkImageTranslateExtent.h.


Member Typedef Documentation

Reimplemented from vtkImageAlgorithm.

Definition at line 35 of file vtkImageTranslateExtent.h.


Constructor & Destructor Documentation

Definition at line 46 of file vtkImageTranslateExtent.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 vtkImageTranslateExtent::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 vtkImageAlgorithm.

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

Reimplemented from vtkImageAlgorithm.

virtual vtkObjectBase* vtkImageTranslateExtent::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkImageAlgorithm.

Reimplemented from vtkImageAlgorithm.

void vtkImageTranslateExtent::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 vtkImageAlgorithm.

virtual void vtkImageTranslateExtent::SetTranslation ( int  ,
int  ,
int   
) [virtual]

Delta to change "WholeExtent". -1 changes 0->10 to -1->9.

virtual void vtkImageTranslateExtent::SetTranslation ( int  [3]) [virtual]

Delta to change "WholeExtent". -1 changes 0->10 to -1->9.

Delta to change "WholeExtent". -1 changes 0->10 to -1->9.

virtual void vtkImageTranslateExtent::GetTranslation ( int ,
int ,
int  
) [virtual]

Delta to change "WholeExtent". -1 changes 0->10 to -1->9.

virtual void vtkImageTranslateExtent::GetTranslation ( int  [3]) [virtual]

Delta to change "WholeExtent". -1 changes 0->10 to -1->9.

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 vtkImageTranslateExtent::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 int vtkImageTranslateExtent::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called in response to a REQUEST_DATA request from the executive. Subclasses should override either this method or the ExecuteDataWithInformation method in order to generate data for their outputs. For images, the output arrays will already be allocated, so all that is necessary is to fill in the voxel values.

Reimplemented from vtkImageAlgorithm.


Member Data Documentation

Definition at line 46 of file vtkImageTranslateExtent.h.


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