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
vtkStructuredGridClip Class Reference

Reduces the image extent of the input. More...

#include <vtkStructuredGridClip.h>

Inherits vtkStructuredGridAlgorithm.

Public Types

typedef vtkStructuredGridAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkStructuredGridClipNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void ResetOutputWholeExtent ()
 
void SetOutputWholeExtent (int piece, int numPieces)
 
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 ()
 
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 (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkStructuredGridClip ()
 
 ~vtkStructuredGridClip ()
 
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
void CopyData (vtkStructuredGrid *inData, vtkStructuredGrid *outData, int *ext)
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 

Protected Attributes

vtkTimeStamp CTime
 
int Initialized
 
int OutputWholeExtent [6]
 
int ClipData
 

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 36 of file vtkStructuredGridClip.h.

Member Typedef Documentation

typedef vtkStructuredGridAlgorithm vtkStructuredGridClip::Superclass

Definition at line 40 of file vtkStructuredGridClip.h.

Constructor & Destructor Documentation

vtkStructuredGridClip::vtkStructuredGridClip ( )
protected
vtkStructuredGridClip::~vtkStructuredGridClip ( )
inlineprotected

Definition at line 68 of file vtkStructuredGridClip.h.

Member Function Documentation

static vtkStructuredGridClip* vtkStructuredGridClip::New ( )
static
static int vtkStructuredGridClip::IsTypeOf ( const char *  type)
static
virtual int vtkStructuredGridClip::IsA ( const char *  type)
virtual
static vtkStructuredGridClip* vtkStructuredGridClip::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkStructuredGridClip::NewInstanceInternal ( ) const
protectedvirtual
vtkStructuredGridClip* vtkStructuredGridClip::NewInstance ( ) const
void vtkStructuredGridClip::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
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 
)

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

void vtkStructuredGridClip::GetOutputWholeExtent ( int  extent[6])

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

int* vtkStructuredGridClip::GetOutputWholeExtent ( )
inline

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

Definition at line 49 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

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 void vtkStructuredGridClip::ClipDataOn ( )
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 void vtkStructuredGridClip::ClipDataOff ( )
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.

void vtkStructuredGridClip::SetOutputWholeExtent ( int  piece,
int  numPieces 
)

Hack set output by piece

virtual int vtkStructuredGridClip::RequestInformation ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
void vtkStructuredGridClip::CopyData ( vtkStructuredGrid *  inData,
vtkStructuredGrid *  outData,
int *  ext 
)
protected
virtual int vtkStructuredGridClip::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

Member Data Documentation

vtkTimeStamp vtkStructuredGridClip::CTime
protected

Definition at line 68 of file vtkStructuredGridClip.h.

int vtkStructuredGridClip::Initialized
protected

Definition at line 72 of file vtkStructuredGridClip.h.

int vtkStructuredGridClip::OutputWholeExtent[6]
protected

Definition at line 73 of file vtkStructuredGridClip.h.

int vtkStructuredGridClip::ClipData
protected

Definition at line 75 of file vtkStructuredGridClip.h.


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