extract boundary, non-manifold, and/or sharp edges from polygonal data
More...
#include <vtkFeatureEdges.h>
Inherits vtkPolyDataAlgorithm.
extract boundary, non-manifold, and/or sharp edges from polygonal data
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.
- Warning
- 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
- vtkExtractEdges
- Examples:
- vtkFeatureEdges (Examples)
- Tests:
- vtkFeatureEdges (Tests)
Definition at line 51 of file vtkFeatureEdges.h.
vtkFeatureEdges::vtkFeatureEdges |
( |
| ) |
|
|
protected |
vtkFeatureEdges::~vtkFeatureEdges |
( |
| ) |
|
|
protected |
static int vtkFeatureEdges::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkFeatureEdges::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkFeatureEdges::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkFeatureEdges::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
Construct object with feature angle = 30; all types of edges extracted and colored.
virtual void vtkFeatureEdges::SetBoundaryEdges |
( |
int |
| ) |
|
|
virtual |
Turn on/off the extraction of boundary edges.
virtual int vtkFeatureEdges::GetBoundaryEdges |
( |
| ) |
|
|
virtual |
Turn on/off the extraction of boundary edges.
virtual void vtkFeatureEdges::BoundaryEdgesOn |
( |
| ) |
|
|
virtual |
Turn on/off the extraction of boundary edges.
virtual void vtkFeatureEdges::BoundaryEdgesOff |
( |
| ) |
|
|
virtual |
Turn on/off the extraction of boundary edges.
virtual void vtkFeatureEdges::SetFeatureEdges |
( |
int |
| ) |
|
|
virtual |
Turn on/off the extraction of feature edges.
virtual int vtkFeatureEdges::GetFeatureEdges |
( |
| ) |
|
|
virtual |
Turn on/off the extraction of feature edges.
virtual void vtkFeatureEdges::FeatureEdgesOn |
( |
| ) |
|
|
virtual |
Turn on/off the extraction of feature edges.
virtual void vtkFeatureEdges::FeatureEdgesOff |
( |
| ) |
|
|
virtual |
Turn on/off the extraction of feature edges.
virtual void vtkFeatureEdges::SetFeatureAngle |
( |
double |
| ) |
|
|
virtual |
Specify the feature angle for extracting feature edges.
virtual double vtkFeatureEdges::GetFeatureAngle |
( |
| ) |
|
|
virtual |
Specify the feature angle for extracting feature edges.
virtual void vtkFeatureEdges::SetNonManifoldEdges |
( |
int |
| ) |
|
|
virtual |
Turn on/off the extraction of non-manifold edges.
virtual int vtkFeatureEdges::GetNonManifoldEdges |
( |
| ) |
|
|
virtual |
Turn on/off the extraction of non-manifold edges.
virtual void vtkFeatureEdges::NonManifoldEdgesOn |
( |
| ) |
|
|
virtual |
Turn on/off the extraction of non-manifold edges.
virtual void vtkFeatureEdges::NonManifoldEdgesOff |
( |
| ) |
|
|
virtual |
Turn on/off the extraction of non-manifold edges.
virtual void vtkFeatureEdges::SetManifoldEdges |
( |
int |
| ) |
|
|
virtual |
Turn on/off the extraction of manifold edges.
virtual int vtkFeatureEdges::GetManifoldEdges |
( |
| ) |
|
|
virtual |
Turn on/off the extraction of manifold edges.
virtual void vtkFeatureEdges::ManifoldEdgesOn |
( |
| ) |
|
|
virtual |
Turn on/off the extraction of manifold edges.
virtual void vtkFeatureEdges::ManifoldEdgesOff |
( |
| ) |
|
|
virtual |
Turn on/off the extraction of manifold edges.
virtual void vtkFeatureEdges::SetColoring |
( |
int |
| ) |
|
|
virtual |
Turn on/off the coloring of edges by type.
virtual int vtkFeatureEdges::GetColoring |
( |
| ) |
|
|
virtual |
Turn on/off the coloring of edges by type.
virtual void vtkFeatureEdges::ColoringOn |
( |
| ) |
|
|
virtual |
Turn on/off the coloring of edges by type.
virtual void vtkFeatureEdges::ColoringOff |
( |
| ) |
|
|
virtual |
Turn on/off the coloring of edges by type.
void vtkFeatureEdges::SetLocator |
( |
vtkIncrementalPointLocator * |
locator | ) |
|
Set / get a spatial locator for merging points. By default an instance of vtkMergePoints is used.
virtual vtkIncrementalPointLocator* vtkFeatureEdges::GetLocator |
( |
| ) |
|
|
virtual |
Set / get a spatial locator for merging points. By default an instance of vtkMergePoints is used.
void vtkFeatureEdges::CreateDefaultLocator |
( |
| ) |
|
Create default locator. Used to create one when none is specified.
unsigned long vtkFeatureEdges::GetMTime |
( |
| ) |
|
Return MTime also considering the locator.
int vtkFeatureEdges::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protected |
int vtkFeatureEdges::RequestUpdateExtent |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protected |
double vtkFeatureEdges::FeatureAngle |
|
protected |
int vtkFeatureEdges::BoundaryEdges |
|
protected |
int vtkFeatureEdges::FeatureEdges |
|
protected |
int vtkFeatureEdges::NonManifoldEdges |
|
protected |
int vtkFeatureEdges::ManifoldEdges |
|
protected |
int vtkFeatureEdges::Coloring |
|
protected |
vtkIncrementalPointLocator* vtkFeatureEdges::Locator |
|
protected |
The documentation for this class was generated from the following file: