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

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

#include <vtkImageClip.h>

Inherits vtkImageAlgorithm.

Public Types

typedef vtkImageAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkImageClipNewInstance () 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 vtkImageClipNew ()
 
static int IsTypeOf (const char *type)
 
static vtkImageClipSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkImageClip ()
 
 ~vtkImageClip ()
 
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
void CopyData (vtkImageData *inData, vtkImageData *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.

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

Examples:
vtkImageClip (Examples)
Tests:
vtkImageClip (Tests)

Definition at line 42 of file vtkImageClip.h.

Member Typedef Documentation

typedef vtkImageAlgorithm vtkImageClip::Superclass

Definition at line 46 of file vtkImageClip.h.

Constructor & Destructor Documentation

vtkImageClip::vtkImageClip ( )
protected
vtkImageClip::~vtkImageClip ( )
inlineprotected

Definition at line 74 of file vtkImageClip.h.

Member Function Documentation

static vtkImageClip* vtkImageClip::New ( )
static
static int vtkImageClip::IsTypeOf ( const char *  type)
static
virtual int vtkImageClip::IsA ( const char *  type)
virtual
static vtkImageClip* vtkImageClip::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkImageClip::NewInstanceInternal ( ) const
protectedvirtual
vtkImageClip* vtkImageClip::NewInstance ( ) const
void vtkImageClip::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
void vtkImageClip::SetOutputWholeExtent ( int  extent[6],
vtkInformation *  outInfo = 0 
)

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

void vtkImageClip::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 vtkImageClip::GetOutputWholeExtent ( int  extent[6])

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

int* vtkImageClip::GetOutputWholeExtent ( )
inline

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

Definition at line 55 of file vtkImageClip.h.

void vtkImageClip::ResetOutputWholeExtent ( )
virtual void vtkImageClip::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 vtkImageClip::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 vtkImageClip::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 vtkImageClip::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 vtkImageClip::SetOutputWholeExtent ( int  piece,
int  numPieces 
)

Hack set output by piece

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

Member Data Documentation

vtkTimeStamp vtkImageClip::CTime
protected

Definition at line 74 of file vtkImageClip.h.

int vtkImageClip::Initialized
protected

Definition at line 78 of file vtkImageClip.h.

int vtkImageClip::OutputWholeExtent[6]
protected

Definition at line 79 of file vtkImageClip.h.

int vtkImageClip::ClipData
protected

Definition at line 81 of file vtkImageClip.h.


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