Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkFeatureEdges Class Reference

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

#include <vtkFeatureEdges.h>

Inheritance diagram for vtkFeatureEdges:

Inheritance graph
[legend]
Collaboration diagram for vtkFeatureEdges:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
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 (float)
virtual float 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 vtkPointLocatorGetLocator ()
void CreateDefaultLocator ()
unsigned long GetMTime ()

Static Public Methods

int IsTypeOf (const char *type)
vtkFeatureEdges * SafeDownCast (vtkObject *o)
vtkFeatureEdges * New ()

Protected Methods

 vtkFeatureEdges ()
 ~vtkFeatureEdges ()
 vtkFeatureEdges (const vtkFeatureEdges &)
void operator= (const vtkFeatureEdges &)
void Execute ()
void ComputeInputUpdateExtents (vtkDataObject *output)

Protected Attributes

float FeatureAngle
int BoundaryEdges
int FeatureEdges
int NonManifoldEdges
int ManifoldEdges
int Coloring
vtkPointLocatorLocator

Detailed Description

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

Date:
2000/12/10 20:08:37
Revision:
1.32

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:
vtkFeatureVertices
Examples:
vtkFeatureEdges (examples)

Definition at line 72 of file vtkFeatureEdges.h.


Constructor & Destructor Documentation

vtkFeatureEdges::vtkFeatureEdges   [protected]
 

vtkFeatureEdges::~vtkFeatureEdges   [protected]
 

vtkFeatureEdges::vtkFeatureEdges const vtkFeatureEdges &    [inline, protected]
 

Definition at line 125 of file vtkFeatureEdges.h.


Member Function Documentation

virtual const char* vtkFeatureEdges::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataToPolyDataFilter.

int vtkFeatureEdges::IsTypeOf const char *    type [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 vtkPolyDataToPolyDataFilter.

virtual int vtkFeatureEdges::IsA const char *    type [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 vtkPolyDataToPolyDataFilter.

vtkFeatureEdges* vtkFeatureEdges::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataToPolyDataFilter.

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 vtkSource.

vtkFeatureEdges* vtkFeatureEdges::New   [static]
 

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

Reimplemented from vtkPolyDataSource.

virtual void vtkFeatureEdges::SetBoundaryEdges int    [virtual]
 

Turn on/off the extraction of boundary edges.

virtual int vtkFeatureEdges::GetBoundaryEdges   [virtual]
 

virtual void vtkFeatureEdges::BoundaryEdgesOn   [virtual]
 

virtual void vtkFeatureEdges::BoundaryEdgesOff   [virtual]
 

virtual void vtkFeatureEdges::SetFeatureEdges int    [virtual]
 

Turn on/off the extraction of feature edges.

virtual int vtkFeatureEdges::GetFeatureEdges   [virtual]
 

virtual void vtkFeatureEdges::FeatureEdgesOn   [virtual]
 

virtual void vtkFeatureEdges::FeatureEdgesOff   [virtual]
 

virtual void vtkFeatureEdges::SetFeatureAngle float    [virtual]
 

Specify the feature angle for extracting feature edges.

virtual float vtkFeatureEdges::GetFeatureAngle   [virtual]
 

virtual void vtkFeatureEdges::SetNonManifoldEdges int    [virtual]
 

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

virtual int vtkFeatureEdges::GetNonManifoldEdges   [virtual]
 

virtual void vtkFeatureEdges::NonManifoldEdgesOn   [virtual]
 

virtual void vtkFeatureEdges::NonManifoldEdgesOff   [virtual]
 

virtual void vtkFeatureEdges::SetManifoldEdges int    [virtual]
 

Turn on/off the extraction of manifold edges.

virtual int vtkFeatureEdges::GetManifoldEdges   [virtual]
 

virtual void vtkFeatureEdges::ManifoldEdgesOn   [virtual]
 

virtual void vtkFeatureEdges::ManifoldEdgesOff   [virtual]
 

virtual void vtkFeatureEdges::SetColoring int    [virtual]
 

Turn on/off the coloring of edges by type.

virtual int vtkFeatureEdges::GetColoring   [virtual]
 

virtual void vtkFeatureEdges::ColoringOn   [virtual]
 

virtual void vtkFeatureEdges::ColoringOff   [virtual]
 

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]
 

void vtkFeatureEdges::CreateDefaultLocator void   
 

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.

void vtkFeatureEdges::operator= const vtkFeatureEdges &    [inline, protected]
 

Definition at line 126 of file vtkFeatureEdges.h.

void vtkFeatureEdges::Execute   [protected, virtual]
 

Reimplemented from vtkSource.

void vtkFeatureEdges::ComputeInputUpdateExtents vtkDataObject   output [protected, virtual]
 

What is the input update extent that is required to produce the desired output? By default, the whole input is always required but this is overridden in many subclasses.

Reimplemented from vtkPolyDataSource.


Member Data Documentation

float vtkFeatureEdges::FeatureAngle [protected]
 

Definition at line 132 of file vtkFeatureEdges.h.

int vtkFeatureEdges::BoundaryEdges [protected]
 

Definition at line 133 of file vtkFeatureEdges.h.

int vtkFeatureEdges::FeatureEdges [protected]
 

Definition at line 134 of file vtkFeatureEdges.h.

int vtkFeatureEdges::NonManifoldEdges [protected]
 

Definition at line 135 of file vtkFeatureEdges.h.

int vtkFeatureEdges::ManifoldEdges [protected]
 

Definition at line 136 of file vtkFeatureEdges.h.

int vtkFeatureEdges::Coloring [protected]
 

Definition at line 137 of file vtkFeatureEdges.h.

vtkPointLocator* vtkFeatureEdges::Locator [protected]
 

Definition at line 138 of file vtkFeatureEdges.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:47:55 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001