VTK
|
Densify the input by adding points at the centroid. More...
#include <vtkDensifyPolyData.h>
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.
Reimplemented from vtkPolyDataAlgorithm.
Definition at line 44 of file vtkDensifyPolyData.h.
vtkDensifyPolyData::vtkDensifyPolyData | ( | ) | [protected] |
vtkDensifyPolyData::~vtkDensifyPolyData | ( | ) | [protected] |
static int vtkDensifyPolyData::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 vtkPolyDataAlgorithm.
virtual int vtkDensifyPolyData::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 vtkPolyDataAlgorithm.
static vtkDensifyPolyData* vtkDensifyPolyData::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPolyDataAlgorithm.
virtual vtkObjectBase* vtkDensifyPolyData::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPolyDataAlgorithm.
Reimplemented from vtkPolyDataAlgorithm.
void vtkDensifyPolyData::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 vtkPolyDataAlgorithm.
static vtkDensifyPolyData* vtkDensifyPolyData::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkPolyDataAlgorithm.
virtual void vtkDensifyPolyData::SetNumberOfSubdivisions | ( | unsigned | int | ) | [virtual] |
Number of recursive subdivisions. Initial value is 1.
virtual unsigned int vtkDensifyPolyData::GetNumberOfSubdivisions | ( | ) | [virtual] |
Number of recursive subdivisions. Initial value is 1.
virtual int vtkDensifyPolyData::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkPolyDataAlgorithm.
unsigned int vtkDensifyPolyData::NumberOfSubdivisions [protected] |
Definition at line 62 of file vtkDensifyPolyData.h.