Documentation for vtkFeatureEdges

vtkFeatureEdges - extract boundary, non-manifold, and/or sharp edges from polygonal data

Super Class: vtkPolyDataToPolyDataFilter

Description:

vtkFeatureEdges is a filter to extract special types of edges from input polygonal data. These edges are either 1) boundary (used by one polygon) or a line cell; 2) non-manifold (used by three or more polygons); 3) feature edges (edges used by two triangles and whose dihedral angle > FeatureAngle); or 4) manifold edges (edges used by exactly two polygons). These edges may be extracted in any combination. Edges may also be "colored" (i.e., scalar values assigned) based on edge type. The cell coloring is assigned to the cell data of the extracted edges.

 

Caveats:

To see the coloring of the liens you may have to set the ScalarMode instance variable of the mapper to SetScalarModeToUseCellData(). (This is only a problem if there are point data scalars.)

 

See Also:

vtkFeatureVertices

 

Methods:

void vtkFeatureEdges ()
void vtkFeatureEdges ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
static vtkFeatureEdges *New ()
void SetBoundaryEdges (int )
int GetBoundaryEdges ()
void BoundaryEdgesOn ()
void BoundaryEdgesOff ()
void SetFeatureEdges (int )
int GetFeatureEdges ()
void FeatureEdgesOn ()
void FeatureEdgesOff ()
void SetFeatureAngle (float )
float GetFeatureAngle ()
void SetNonManifoldEdges (int )
int GetNonManifoldEdges ()
void NonManifoldEdgesOn ()
void NonManifoldEdgesOff ()
void SetManifoldEdges (int )
int GetManifoldEdges ()
void ManifoldEdgesOn ()
void ManifoldEdgesOff ()
void SetColoring (int )
int GetColoring ()
void ColoringOn ()
void ColoringOff ()
void SetLocator (vtkPointLocator *)
vtkPointLocator *GetLocator ()
void CreateDefaultLocator ()
unsigned long GetMTime ()
void Execute ()

 

Detailed Method Descriptions:

Construct object with feature angle = 30; all types of edges extracted and colored.

static vtkFeatureEdges *New ()

Turn on/off the extraction of boundary edges.

void SetBoundaryEdges (int )
int GetBoundaryEdges ()
void BoundaryEdgesOn ()
void BoundaryEdgesOff ()

Turn on/off the extraction of feature edges.

void SetFeatureEdges (int )
int GetFeatureEdges ()
void FeatureEdgesOn ()
void FeatureEdgesOff ()

Specify the feature angle for extracting feature edges.

void SetFeatureAngle (float )
float GetFeatureAngle ()

Turn on/off the extraction of non-manifold edges.

void SetNonManifoldEdges (int )
int GetNonManifoldEdges ()
void NonManifoldEdgesOn ()
void NonManifoldEdgesOff ()

Turn on/off the extraction of manifold edges.

void SetManifoldEdges (int )
int GetManifoldEdges ()
void ManifoldEdgesOn ()
void ManifoldEdgesOff ()

Turn on/off the coloring of edges by type.

void SetColoring (int )
int GetColoring ()
void ColoringOn ()
void ColoringOff ()

Set / get a spatial locator for merging points. By default an instance of vtkMergePoints is used.

void SetLocator (vtkPointLocator *)
vtkPointLocator *GetLocator ()

Create default locator. Used to create one when none is specified.

void CreateDefaultLocator ()

Return MTime also considering the locator.

unsigned long GetMTime ()