#include <vtkFeatureEdges.h>
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.
Definition at line 47 of file vtkFeatureEdges.h.
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | CreateDefaultLocator () |
unsigned long | GetMTime () |
virtual void | SetBoundaryEdges (int) |
virtual int | GetBoundaryEdges () |
virtual void | BoundaryEdgesOn () |
virtual void | BoundaryEdgesOff () |
virtual void | SetFeatureEdges (int) |
virtual int | GetFeatureEdges () |
virtual void | FeatureEdgesOn () |
virtual void | FeatureEdgesOff () |
virtual void | SetFeatureAngle (double) |
virtual double | GetFeatureAngle () |
virtual void | SetNonManifoldEdges (int) |
virtual int | GetNonManifoldEdges () |
virtual void | NonManifoldEdgesOn () |
virtual void | NonManifoldEdgesOff () |
virtual void | SetManifoldEdges (int) |
virtual int | GetManifoldEdges () |
virtual void | ManifoldEdgesOn () |
virtual void | ManifoldEdgesOff () |
virtual void | SetColoring (int) |
virtual int | GetColoring () |
virtual void | ColoringOn () |
virtual void | ColoringOff () |
void | SetLocator (vtkPointLocator *locator) |
virtual vtkPointLocator * | GetLocator () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkFeatureEdges * | SafeDownCast (vtkObject *o) |
static vtkFeatureEdges * | New () |
Protected Member Functions | |
vtkFeatureEdges () | |
~vtkFeatureEdges () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
int | RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
double | FeatureAngle |
int | BoundaryEdges |
int | FeatureEdges |
int | NonManifoldEdges |
int | ManifoldEdges |
int | Coloring |
vtkPointLocator * | Locator |
vtkFeatureEdges::vtkFeatureEdges | ( | ) | [protected] |
vtkFeatureEdges::~vtkFeatureEdges | ( | ) | [protected] |
virtual const char* vtkFeatureEdges::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkPolyDataAlgorithm.
static int vtkFeatureEdges::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataAlgorithm.
virtual int vtkFeatureEdges::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataAlgorithm.
static vtkFeatureEdges* vtkFeatureEdges::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkPolyDataAlgorithm.
void vtkFeatureEdges::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 vtkFeatureEdges* vtkFeatureEdges::New | ( | ) | [static] |
Construct object with feature angle = 30; all types of edges extracted and colored.
Reimplemented from vtkPolyDataAlgorithm.
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 | ( | vtkPointLocator * | locator | ) |
Set / get a spatial locator for merging points. By default an instance of vtkMergePoints is used.
virtual vtkPointLocator* 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 | ( | ) | [virtual] |
Return MTime also considering the locator.
Reimplemented from vtkObject.
int vtkFeatureEdges::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.
int vtkFeatureEdges::RequestUpdateExtent | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkPolyDataAlgorithm.
double vtkFeatureEdges::FeatureAngle [protected] |
Definition at line 119 of file vtkFeatureEdges.h.
int vtkFeatureEdges::BoundaryEdges [protected] |
Definition at line 120 of file vtkFeatureEdges.h.
int vtkFeatureEdges::FeatureEdges [protected] |
Definition at line 121 of file vtkFeatureEdges.h.
int vtkFeatureEdges::NonManifoldEdges [protected] |
Definition at line 122 of file vtkFeatureEdges.h.
int vtkFeatureEdges::ManifoldEdges [protected] |
Definition at line 123 of file vtkFeatureEdges.h.
int vtkFeatureEdges::Coloring [protected] |
Definition at line 124 of file vtkFeatureEdges.h.
vtkPointLocator* vtkFeatureEdges::Locator [protected] |
Definition at line 125 of file vtkFeatureEdges.h.