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 =========================================================================*/
38 #ifndef vtkFeatureEdges_h
39 #define vtkFeatureEdges_h
40 
41 #include "vtkFiltersCoreModule.h" // For export macro
42 #include "vtkPolyDataAlgorithm.h"
43 
45 
46 class VTKFILTERSCORE_EXPORT vtkFeatureEdges : public vtkPolyDataAlgorithm
47 {
48 public:
50  void PrintSelf(ostream& os, vtkIndent indent) override;
51 
56  static vtkFeatureEdges *New();
57 
59 
62  vtkSetMacro(BoundaryEdges,vtkTypeBool);
63  vtkGetMacro(BoundaryEdges,vtkTypeBool);
64  vtkBooleanMacro(BoundaryEdges,vtkTypeBool);
66 
68 
71  vtkSetMacro(FeatureEdges,vtkTypeBool);
72  vtkGetMacro(FeatureEdges,vtkTypeBool);
73  vtkBooleanMacro(FeatureEdges,vtkTypeBool);
75 
77 
80  vtkSetClampMacro(FeatureAngle,double,0.0,180.0);
81  vtkGetMacro(FeatureAngle,double);
83 
85 
88  vtkSetMacro(NonManifoldEdges,vtkTypeBool);
89  vtkGetMacro(NonManifoldEdges,vtkTypeBool);
90  vtkBooleanMacro(NonManifoldEdges,vtkTypeBool);
92 
94 
97  vtkSetMacro(ManifoldEdges,vtkTypeBool);
98  vtkGetMacro(ManifoldEdges,vtkTypeBool);
99  vtkBooleanMacro(ManifoldEdges,vtkTypeBool);
101 
103 
106  vtkSetMacro(Coloring,vtkTypeBool);
107  vtkGetMacro(Coloring,vtkTypeBool);
108  vtkBooleanMacro(Coloring,vtkTypeBool);
110 
112 
116  void SetLocator(vtkIncrementalPointLocator *locator);
117  vtkGetObjectMacro(Locator,vtkIncrementalPointLocator);
119 
123  void CreateDefaultLocator();
124 
128  vtkMTimeType GetMTime() override;
129 
131 
136  vtkSetMacro(OutputPointsPrecision,int);
137  vtkGetMacro(OutputPointsPrecision,int);
139 
140 protected:
141  vtkFeatureEdges();
142  ~vtkFeatureEdges() override;
143 
144  // Usual data generation method
147 
148  double FeatureAngle;
156 private:
157  vtkFeatureEdges(const vtkFeatureEdges&) = delete;
158  void operator=(const vtkFeatureEdges&) = delete;
159 };
160 
161 #endif
162 
163 
vtkIncrementalPointLocator * Locator
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:300
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Abstract class in support of both point location and point insertion.
vtkTypeBool FeatureEdges
static vtkPolyDataAlgorithm * New()
int vtkTypeBool
Definition: vtkABI.h:69
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Superclass for algorithms that produce only polydata as output.
vtkTypeBool BoundaryEdges
vtkTypeBool NonManifoldEdges
a simple class to control print indentation
Definition: vtkIndent.h:33
extract boundary, non-manifold, and/or sharp edges from polygonal data
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkTypeBool ManifoldEdges
Store zero or more vtkInformation instances.
vtkTypeBool Coloring
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.