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 "vtkFiltersCoreModule.h" // For export macro
47 #include "vtkPolyDataAlgorithm.h"
48 
50 
52 {
53 public:
55  void PrintSelf(ostream& os, vtkIndent indent);
56 
59  static vtkFeatureEdges *New();
60 
62 
63  vtkSetMacro(BoundaryEdges,int);
64  vtkGetMacro(BoundaryEdges,int);
65  vtkBooleanMacro(BoundaryEdges,int);
67 
69 
70  vtkSetMacro(FeatureEdges,int);
71  vtkGetMacro(FeatureEdges,int);
72  vtkBooleanMacro(FeatureEdges,int);
74 
76 
77  vtkSetClampMacro(FeatureAngle,double,0.0,180.0);
78  vtkGetMacro(FeatureAngle,double);
80 
82 
83  vtkSetMacro(NonManifoldEdges,int);
84  vtkGetMacro(NonManifoldEdges,int);
85  vtkBooleanMacro(NonManifoldEdges,int);
87 
89 
90  vtkSetMacro(ManifoldEdges,int);
91  vtkGetMacro(ManifoldEdges,int);
92  vtkBooleanMacro(ManifoldEdges,int);
94 
96 
97  vtkSetMacro(Coloring,int);
98  vtkGetMacro(Coloring,int);
99  vtkBooleanMacro(Coloring,int);
101 
103 
108 
111 
113  unsigned long GetMTime();
114 
116 
119  vtkSetMacro(OutputPointsPrecision,int);
120  vtkGetMacro(OutputPointsPrecision,int);
122 
123 protected:
126 
127  // Usual data generation method
130 
131  double FeatureAngle;
136  int Coloring;
139 private:
140  vtkFeatureEdges(const vtkFeatureEdges&); // Not implemented.
141  void operator=(const vtkFeatureEdges&); // Not implemented.
142 };
143 
144 #endif
145 
146 
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkFeatureEdges::SetLocator
void SetLocator(vtkIncrementalPointLocator *locator)
vtkFeatureEdges::NonManifoldEdges
int NonManifoldEdges
Definition: vtkFeatureEdges.h:134
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkFeatureEdges::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkFeatureEdges::Coloring
int Coloring
Definition: vtkFeatureEdges.h:136
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkFeatureEdges::OutputPointsPrecision
int OutputPointsPrecision
Definition: vtkFeatureEdges.h:137
vtkFeatureEdges::~vtkFeatureEdges
~vtkFeatureEdges()
vtkFiltersCoreModule.h
vtkPolyDataAlgorithm.h
vtkSetClampMacro
#define vtkSetClampMacro(name, type, min, max)
Definition: vtkSetGet.h:143
vtkFeatureEdges::GetMTime
unsigned long GetMTime()
vtkFeatureEdges::CreateDefaultLocator
void CreateDefaultLocator()
vtkFeatureEdges::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
VTKFILTERSCORE_EXPORT
#define VTKFILTERSCORE_EXPORT
Definition: vtkFiltersCoreModule.h:15
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkFeatureEdges
extract boundary, non-manifold, and/or sharp edges from polygonal data
Definition: vtkFeatureEdges.h:52
vtkIncrementalPointLocator
Abstract class in support of both point location and point insertion.
Definition: vtkIncrementalPointLocator.h:54
vtkFeatureEdges::BoundaryEdges
int BoundaryEdges
Definition: vtkFeatureEdges.h:132
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkFeatureEdges::vtkFeatureEdges
vtkFeatureEdges()
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkFeatureEdges::New
static vtkFeatureEdges * New()
vtkFeatureEdges::FeatureEdges
int FeatureEdges
Definition: vtkFeatureEdges.h:133
vtkFeatureEdges::ManifoldEdges
int ManifoldEdges
Definition: vtkFeatureEdges.h:135
vtkFeatureEdges::Locator
vtkIncrementalPointLocator * Locator
Definition: vtkFeatureEdges.h:138
vtkFeatureEdges::FeatureAngle
double FeatureAngle
Definition: vtkFeatureEdges.h:131
vtkFeatureEdges::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:44