shrink cells composing an arbitrary data set
More...
#include <vtkShrinkFilter.h>
Inherits vtkUnstructuredGridAlgorithm.
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.
- Warning
- It is possible to turn cells inside out or cause self intersection in special cases.
- See Also
- vtkShrinkPolyData
- Examples:
- vtkShrinkFilter (Examples)
- Tests:
- vtkShrinkFilter (Tests)
Definition at line 44 of file vtkShrinkFilter.h.
vtkShrinkFilter::vtkShrinkFilter |
( |
| ) |
|
|
protected |
vtkShrinkFilter::~vtkShrinkFilter |
( |
| ) |
|
|
protected |
static int vtkShrinkFilter::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkShrinkFilter::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkShrinkFilter::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkShrinkFilter::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
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 |
|
) |
| |
|
protectedvirtual |
virtual int vtkShrinkFilter::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
double vtkShrinkFilter::ShrinkFactor |
|
protected |
The documentation for this class was generated from the following file: