Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkStructuredGridClip Class Reference

#include <vtkStructuredGridClip.h>

Inheritance diagram for vtkStructuredGridClip:

Inheritance graph
[legend]
Collaboration diagram for vtkStructuredGridClip:

Collaboration graph
[legend]
List of all members.

Detailed Description

Reduces the image extent of the input.

vtkStructuredGridClip will make an image smaller. The output must have an image extent which is the subset of the input. The filter has two modes of operation: 1: By default, the data is not copied in this filter. Only the whole extent is modified. 2: If ClipDataOn is set, then you will get no more that the clipped extent.

Definition at line 35 of file vtkStructuredGridClip.h.

Public Types

typedef vtkStructuredGridAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void SetOutputWholeExtent (int piece, int numPieces)
void PrintSelf (ostream &os, vtkIndent indent)
void SetOutputWholeExtent (int extent[6], vtkInformation *outInfo=0)
void SetOutputWholeExtent (int minX, int maxX, int minY, int maxY, int minZ, int maxZ)
void GetOutputWholeExtent (int extent[6])
int * GetOutputWholeExtent ()
void ResetOutputWholeExtent ()
virtual void SetClipData (int)
virtual int GetClipData ()
virtual void ClipDataOn ()
virtual void ClipDataOff ()

Static Public Member Functions

static vtkStructuredGridClipNew ()
static int IsTypeOf (const char *type)
static vtkStructuredGridClipSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkStructuredGridClip ()
 ~vtkStructuredGridClip ()
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void CopyData (vtkStructuredGrid *inData, vtkStructuredGrid *outData, int *ext)
int SplitExtentTmp (int piece, int numPieces, int *ext)
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

vtkTimeStamp CTime
int Initialized
int OutputWholeExtent [6]
int ClipData


Member Typedef Documentation

typedef vtkStructuredGridAlgorithm vtkStructuredGridClip::Superclass
 

Reimplemented from vtkStructuredGridAlgorithm.

Definition at line 39 of file vtkStructuredGridClip.h.


Constructor & Destructor Documentation

vtkStructuredGridClip::vtkStructuredGridClip  )  [protected]
 

vtkStructuredGridClip::~vtkStructuredGridClip  )  [inline, protected]
 

Definition at line 67 of file vtkStructuredGridClip.h.


Member Function Documentation

static vtkStructuredGridClip* vtkStructuredGridClip::New  )  [static]
 

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

Reimplemented from vtkStructuredGridAlgorithm.

virtual const char* vtkStructuredGridClip::GetClassName  )  [virtual]
 

Reimplemented from vtkStructuredGridAlgorithm.

static int vtkStructuredGridClip::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkStructuredGridAlgorithm.

virtual int vtkStructuredGridClip::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkStructuredGridAlgorithm.

static vtkStructuredGridClip* vtkStructuredGridClip::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkStructuredGridAlgorithm.

void vtkStructuredGridClip::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 vtkStructuredGridAlgorithm.

void vtkStructuredGridClip::SetOutputWholeExtent int  extent[6],
vtkInformation outInfo = 0
 

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

void vtkStructuredGridClip::SetOutputWholeExtent int  minX,
int  maxX,
int  minY,
int  maxY,
int  minZ,
int  maxZ
 

void vtkStructuredGridClip::GetOutputWholeExtent int  extent[6]  ) 
 

int* vtkStructuredGridClip::GetOutputWholeExtent  )  [inline]
 

Definition at line 48 of file vtkStructuredGridClip.h.

void vtkStructuredGridClip::ResetOutputWholeExtent  ) 
 

virtual void vtkStructuredGridClip::SetClipData int   )  [virtual]
 

By default, ClipData is off, and only the WholeExtent is modified. the data's extent may actually be larger. When this flag is on, the data extent will be no more than the OutputWholeExtent.

virtual int vtkStructuredGridClip::GetClipData  )  [virtual]
 

virtual void vtkStructuredGridClip::ClipDataOn  )  [virtual]
 

virtual void vtkStructuredGridClip::ClipDataOff  )  [virtual]
 

void vtkStructuredGridClip::SetOutputWholeExtent int  piece,
int  numPieces
 

Hack set output by piece

virtual int vtkStructuredGridClip::RequestInformation vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector
[protected, virtual]
 

Reimplemented from vtkStructuredGridAlgorithm.

void vtkStructuredGridClip::CopyData vtkStructuredGrid inData,
vtkStructuredGrid outData,
int *  ext
[protected]
 

int vtkStructuredGridClip::SplitExtentTmp int  piece,
int  numPieces,
int *  ext
[protected]
 

virtual int vtkStructuredGridClip::RequestData vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector
[protected, virtual]
 

This is called by the superclass. This is the method you should override.

Reimplemented from vtkStructuredGridAlgorithm.


Member Data Documentation

vtkTimeStamp vtkStructuredGridClip::CTime [protected]
 

Definition at line 67 of file vtkStructuredGridClip.h.

int vtkStructuredGridClip::Initialized [protected]
 

Definition at line 71 of file vtkStructuredGridClip.h.

int vtkStructuredGridClip::OutputWholeExtent[6] [protected]
 

Definition at line 72 of file vtkStructuredGridClip.h.

int vtkStructuredGridClip::ClipData [protected]
 

Definition at line 74 of file vtkStructuredGridClip.h.


The documentation for this class was generated from the following file:
Generated on Tue Jan 22 00:19:35 2008 for VTK by  doxygen 1.4.3-20050530