00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00067 #ifndef __vtkFeatureEdges_h
00068 #define __vtkFeatureEdges_h
00069
00070 #include "vtkPolyDataToPolyDataFilter.h"
00071
00072 class VTK_EXPORT vtkFeatureEdges : public vtkPolyDataToPolyDataFilter
00073 {
00074 public:
00075 vtkTypeMacro(vtkFeatureEdges,vtkPolyDataToPolyDataFilter);
00076 void PrintSelf(ostream& os, vtkIndent indent);
00077
00080 static vtkFeatureEdges *New();
00081
00083 vtkSetMacro(BoundaryEdges,int);
00084 vtkGetMacro(BoundaryEdges,int);
00085 vtkBooleanMacro(BoundaryEdges,int);
00086
00088 vtkSetMacro(FeatureEdges,int);
00089 vtkGetMacro(FeatureEdges,int);
00090 vtkBooleanMacro(FeatureEdges,int);
00091
00093 vtkSetClampMacro(FeatureAngle,float,0.0,180.0);
00094 vtkGetMacro(FeatureAngle,float);
00095
00097 vtkSetMacro(NonManifoldEdges,int);
00098 vtkGetMacro(NonManifoldEdges,int);
00099 vtkBooleanMacro(NonManifoldEdges,int);
00100
00102 vtkSetMacro(ManifoldEdges,int);
00103 vtkGetMacro(ManifoldEdges,int);
00104 vtkBooleanMacro(ManifoldEdges,int);
00105
00107 vtkSetMacro(Coloring,int);
00108 vtkGetMacro(Coloring,int);
00109 vtkBooleanMacro(Coloring,int);
00110
00113 void SetLocator(vtkPointLocator *locator);
00114 vtkGetObjectMacro(Locator,vtkPointLocator);
00115
00117 void CreateDefaultLocator();
00118
00120 unsigned long GetMTime();
00121
00122 protected:
00123 vtkFeatureEdges();
00124 ~vtkFeatureEdges();
00125 vtkFeatureEdges(const vtkFeatureEdges&) {};
00126 void operator=(const vtkFeatureEdges&) {};
00127
00128
00129 void Execute();
00130 void ComputeInputUpdateExtents(vtkDataObject *output);
00131
00132 float FeatureAngle;
00133 int BoundaryEdges;
00134 int FeatureEdges;
00135 int NonManifoldEdges;
00136 int ManifoldEdges;
00137 int Coloring;
00138 vtkPointLocator *Locator;
00139 };
00140
00141 #endif
00142
00143