#include <vtkRectilinearGridClip.h>
vtkRectilinearGridClip 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 vtkRectilinearGridClip.h.
Public Types | |
typedef vtkRectilinearGridAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
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 vtkRectilinearGridClip * | New () |
static int | IsTypeOf (const char *type) |
static vtkRectilinearGridClip * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkRectilinearGridClip () | |
~vtkRectilinearGridClip () | |
virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | CopyData (vtkRectilinearGrid *inData, vtkRectilinearGrid *outData, int *ext) |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
vtkTimeStamp | CTime |
int | Initialized |
int | OutputWholeExtent [6] |
int | ClipData |
Reimplemented from vtkRectilinearGridAlgorithm.
Definition at line 39 of file vtkRectilinearGridClip.h.
vtkRectilinearGridClip::vtkRectilinearGridClip | ( | ) | [protected] |
vtkRectilinearGridClip::~vtkRectilinearGridClip | ( | ) | [inline, protected] |
Definition at line 67 of file vtkRectilinearGridClip.h.
static vtkRectilinearGridClip* vtkRectilinearGridClip::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkRectilinearGridAlgorithm.
virtual const char* vtkRectilinearGridClip::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkRectilinearGridAlgorithm.
static int vtkRectilinearGridClip::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 vtkRectilinearGridAlgorithm.
virtual int vtkRectilinearGridClip::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 vtkRectilinearGridAlgorithm.
static vtkRectilinearGridClip* vtkRectilinearGridClip::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkRectilinearGridAlgorithm.
void vtkRectilinearGridClip::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 vtkRectilinearGridAlgorithm.
void vtkRectilinearGridClip::SetOutputWholeExtent | ( | int | extent[6], | |
vtkInformation * | outInfo = 0 | |||
) |
The whole extent of the output has to be set explicitly.
void vtkRectilinearGridClip::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 vtkRectilinearGridClip::GetOutputWholeExtent | ( | int | extent[6] | ) |
The whole extent of the output has to be set explicitly.
int* vtkRectilinearGridClip::GetOutputWholeExtent | ( | ) | [inline] |
The whole extent of the output has to be set explicitly.
Definition at line 48 of file vtkRectilinearGridClip.h.
void vtkRectilinearGridClip::ResetOutputWholeExtent | ( | ) |
virtual void vtkRectilinearGridClip::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 vtkRectilinearGridClip::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 vtkRectilinearGridClip::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 vtkRectilinearGridClip::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 vtkRectilinearGridClip::SetOutputWholeExtent | ( | int | piece, | |
int | numPieces | |||
) |
Hack set output by piece
virtual int vtkRectilinearGridClip::RequestInformation | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
Reimplemented from vtkRectilinearGridAlgorithm.
void vtkRectilinearGridClip::CopyData | ( | vtkRectilinearGrid * | inData, | |
vtkRectilinearGrid * | outData, | |||
int * | ext | |||
) | [protected] |
virtual int vtkRectilinearGridClip::RequestData | ( | vtkInformation * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkRectilinearGridAlgorithm.
vtkTimeStamp vtkRectilinearGridClip::CTime [protected] |
Definition at line 67 of file vtkRectilinearGridClip.h.
int vtkRectilinearGridClip::Initialized [protected] |
Definition at line 71 of file vtkRectilinearGridClip.h.
int vtkRectilinearGridClip::OutputWholeExtent[6] [protected] |
Definition at line 72 of file vtkRectilinearGridClip.h.
int vtkRectilinearGridClip::ClipData [protected] |
Definition at line 74 of file vtkRectilinearGridClip.h.