VTK
vtkFeatureEdges.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkFeatureEdges.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
43 #ifndef __vtkFeatureEdges_h
44 #define __vtkFeatureEdges_h
45 
46 #include "vtkPolyDataAlgorithm.h"
47 
49 
51 {
52 public:
54  void PrintSelf(ostream& os, vtkIndent indent);
55 
58  static vtkFeatureEdges *New();
59 
61 
62  vtkSetMacro(BoundaryEdges,int);
63  vtkGetMacro(BoundaryEdges,int);
64  vtkBooleanMacro(BoundaryEdges,int);
66 
68 
69  vtkSetMacro(FeatureEdges,int);
70  vtkGetMacro(FeatureEdges,int);
71  vtkBooleanMacro(FeatureEdges,int);
73 
75 
76  vtkSetClampMacro(FeatureAngle,double,0.0,180.0);
77  vtkGetMacro(FeatureAngle,double);
79 
81 
82  vtkSetMacro(NonManifoldEdges,int);
83  vtkGetMacro(NonManifoldEdges,int);
84  vtkBooleanMacro(NonManifoldEdges,int);
86 
88 
89  vtkSetMacro(ManifoldEdges,int);
90  vtkGetMacro(ManifoldEdges,int);
91  vtkBooleanMacro(ManifoldEdges,int);
93 
95 
96  vtkSetMacro(Coloring,int);
97  vtkGetMacro(Coloring,int);
98  vtkBooleanMacro(Coloring,int);
100 
102 
104  void SetLocator(vtkIncrementalPointLocator *locator);
105  vtkGetObjectMacro(Locator,vtkIncrementalPointLocator);
107 
109  void CreateDefaultLocator();
110 
112  unsigned long GetMTime();
113 
114 protected:
115  vtkFeatureEdges();
116  ~vtkFeatureEdges();
117 
118  // Usual data generation method
121 
122  double FeatureAngle;
127  int Coloring;
129 private:
130  vtkFeatureEdges(const vtkFeatureEdges&); // Not implemented.
131  void operator=(const vtkFeatureEdges&); // Not implemented.
132 };
133 
134 #endif
135 
136 
vtkIncrementalPointLocator * Locator
#define VTK_GRAPHICS_EXPORT
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Abstract class in support of both point location and point insertion.
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Superclass for algorithms that produce only polydata as output.
virtual unsigned long GetMTime()
a simple class to control print indentation
Definition: vtkIndent.h:37
extract boundary, non-manifold, and/or sharp edges from polygonal data
Store zero or more vtkInformation instances.