NAME
vtkFeatureVertices - extract boundary, non-manifold, and/or sharp vertices from polygonal data (operates on line primitives)
SYNOPSIS
#include "/opt/vtk-c++/graphics/vtkFeatureVertices.h"
class VTK_EXPORT vtkFeatureVertices : public vtkPolyDataToPolyDataFilter
vtkFeatureVertices();
static vtkFeatureVertices *New() {return new vtkFeatureVertices;};
const char *GetClassName() {return "vtkFeatureVertices";};
void PrintSelf(ostream& os, vtkIndent indent);
void SetBoundaryVertices(int);
int GetBoundaryVertices();
void BoundaryVerticesOn();
void BoundaryVerticesOff();
void SetFeatureVertices(int);
int GetFeatureVertices();
void FeatureVerticesOn();
void FeatureVerticesOff();
void SetFeatureAngle(float);
float GetFeatureAngle();
void SetNonManifoldVertices(int);
int GetNonManifoldVertices();
void NonManifoldVerticesOn();
void NonManifoldVerticesOff();
void SetColoring(int);
int GetColoring();
void ColoringOn();
void ColoringOff();
DESCRIPTION
vtkFeatureVertices is a filter to extract special types of vertices from input polygonal data. In particular, the filter operates on the line primitives in the polygonal data. The vertex types are: 1) boundary (used by one line) or a vertex cell type; 2) non-manifold (used by three or more lines); or 3) feature edges (vertices used by two lines and whose orientation angle > FeatureAngle). The orientation angle is computed from the dot product between the two lines. These vertices may be extracted in any combination. Vertices may also be "colored" (i.e., scalar values assigned) based on vertex type.
CAVEATS
This filter operates only on line primitives in polygonal data. Some data may require pre-processing with vtkCleanPolyData to merge coincident points. Otherwise points may be flagged as boundary. (This is true when running vtkFeatureEdges and then vtkFeatureVertices.)
SUMMARY
void SetBoundaryVertices(int)
Turn on/off the extraction of boundary vertices.
void SetFeatureVertices(int)
Turn on/off the extraction of feature vertices.
void SetFeatureAngle(float)
Specify the feature angle for extracting feature vertices.
void SetNonManifoldVertices(int)
Turn on/off the extraction of non-manifold vertices.
void SetColoring(int)
Turn on/off the coloring of vertices by type.
vtkFeatureVertices()
Construct object with feature angle = 30; all types of vertices extracted and colored.