VTK
|
Densify the input by adding points at the centroid. More...
#include <vtkDensifyPolyData.h>
Inherits vtkPolyDataAlgorithm.
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkDensifyPolyData * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetNumberOfSubdivisions (unsigned int) |
virtual unsigned int | GetNumberOfSubdivisions () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkDensifyPolyData * | SafeDownCast (vtkObjectBase *o) |
static vtkDensifyPolyData * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkDensifyPolyData () | |
~vtkDensifyPolyData () | |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
unsigned int | NumberOfSubdivisions |
Densify the input by adding points at the centroid.
The filter takes any polygonal data as input and will tessellate cells that are planar polygons present by fanning out triangles from its centroid. Other cells are simply passed through to the output. PointData, if present, is interpolated via linear interpolation. CellData for any tessellated cell is simply copied over from its parent cell. Planar polygons are assumed to be convex. Funny things will happen if they are not.
The number of subdivisions can be controlled by the parameter NumberOfSubdivisions.
Definition at line 41 of file vtkDensifyPolyData.h.
typedef vtkPolyDataAlgorithm vtkDensifyPolyData::Superclass |
Definition at line 44 of file vtkDensifyPolyData.h.
|
protected |
|
protected |
|
static |
|
virtual |
|
static |
|
protectedvirtual |
vtkDensifyPolyData* vtkDensifyPolyData::NewInstance | ( | ) | const |
void vtkDensifyPolyData::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
static |
|
virtual |
Number of recursive subdivisions. Initial value is 1.
|
virtual |
Number of recursive subdivisions. Initial value is 1.
|
protectedvirtual |
|
protected |
Definition at line 62 of file vtkDensifyPolyData.h.