Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

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 Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetTranslation (int, int, int)
virtual void SetTranslation (int[3])
virtual int * GetTranslation ()
virtual void GetTranslation (int &, int &, int &)
virtual void GetTranslation (int[3])
void UpdateData (vtkDataObject *data)

Static Public Methods

vtkImageTranslateExtent * New ()
int IsTypeOf (const char *type)
vtkImageTranslateExtent * SafeDownCast (vtkObject *o)

Protected Methods

 vtkImageTranslateExtent ()
 ~vtkImageTranslateExtent ()
 vtkImageTranslateExtent (const vtkImageTranslateExtent &)
void operator= (const vtkImageTranslateExtent &)
void ComputeInputUpdateExtent (int extent[6], int wholeExtent[6])
void ExecuteInformation (vtkImageData *inData, vtkImageData *outData)
void ExecuteInformation ()

Protected Attributes

int Translation [3]

Detailed Description

Changes extent, nothing else.

Date:
2000/12/10 20:09:11
Revision:
1.17
Thanks:
Thanks to C. Charles Law who developed this class.
vtkImageTranslateExtent shift the whole extent, but does not change the data.
Examples:
vtkImageTranslateExtent (examples)


Member Function Documentation

virtual const char* vtkImageTranslateExtent::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageToImageFilter.

virtual int vtkImageTranslateExtent::IsA const char *    type [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 vtkImageToImageFilter.

int vtkImageTranslateExtent::IsTypeOf const char *    type [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 vtkImageToImageFilter.

vtkImageTranslateExtent* vtkImageTranslateExtent::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkImageToImageFilter.

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 vtkImageToImageFilter.

vtkImageTranslateExtent* vtkImageTranslateExtent::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageToImageFilter.

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

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

void vtkImageTranslateExtent::UpdateData vtkDataObject   data [virtual]
 

This method simply copies by reference the input data to the output.

Reimplemented from vtkSource.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:27:08 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002