VTK
|
shrink cells composing an arbitrary data set More...
#include <vtkShrinkFilter.h>
Public Types | |
typedef vtkUnstructuredGridAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkShrinkFilter * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetShrinkFactor (double) |
virtual double | GetShrinkFactor () |
Static Public Member Functions | |
static vtkShrinkFilter * | New () |
static int | IsTypeOf (const char *type) |
static vtkShrinkFilter * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkShrinkFilter () | |
~vtkShrinkFilter () | |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
double | ShrinkFactor |
shrink cells composing an arbitrary data set
vtkShrinkFilter shrinks cells composing an arbitrary data set towards their centroid. The centroid of a cell is computed as the average position of the cell points. Shrinking results in disconnecting the cells from one another. The output of this filter is of general dataset type vtkUnstructuredGrid.
Definition at line 44 of file vtkShrinkFilter.h.
Reimplemented from vtkUnstructuredGridAlgorithm.
Definition at line 48 of file vtkShrinkFilter.h.
vtkShrinkFilter::vtkShrinkFilter | ( | ) | [protected] |
vtkShrinkFilter::~vtkShrinkFilter | ( | ) | [protected] |
static vtkShrinkFilter* vtkShrinkFilter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkUnstructuredGridAlgorithm.
static int vtkShrinkFilter::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 vtkUnstructuredGridAlgorithm.
virtual int vtkShrinkFilter::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 vtkUnstructuredGridAlgorithm.
static vtkShrinkFilter* vtkShrinkFilter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkUnstructuredGridAlgorithm.
virtual vtkObjectBase* vtkShrinkFilter::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkUnstructuredGridAlgorithm.
vtkShrinkFilter* vtkShrinkFilter::NewInstance | ( | ) | const |
Reimplemented from vtkUnstructuredGridAlgorithm.
void vtkShrinkFilter::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 vtkUnstructuredGridAlgorithm.
virtual void vtkShrinkFilter::SetShrinkFactor | ( | double | ) | [virtual] |
Get/Set the fraction of shrink for each cell. The default is 0.5.
virtual double vtkShrinkFilter::GetShrinkFactor | ( | ) | [virtual] |
Get/Set the fraction of shrink for each cell. The default is 0.5.
virtual int vtkShrinkFilter::FillInputPortInformation | ( | int | port, |
vtkInformation * | info | ||
) | [protected, virtual] |
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkUnstructuredGridAlgorithm.
virtual int vtkShrinkFilter::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkUnstructuredGridAlgorithm.
double vtkShrinkFilter::ShrinkFactor [protected] |
Definition at line 69 of file vtkShrinkFilter.h.