VTK  9.2.6
vtkAdaptiveSubdivisionFilter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkAdaptiveSubdivisionFilter.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=========================================================================*/
71
72#ifndef vtkAdaptiveSubdivisionFilter_h
73#define vtkAdaptiveSubdivisionFilter_h
74
75#include "vtkFiltersModelingModule.h" // For export macro
77
79
80class VTKFILTERSMODELING_EXPORT vtkAdaptiveSubdivisionFilter : public vtkPolyDataAlgorithm
81{
82public:
84
89 void PrintSelf(ostream& os, vtkIndent indent) override;
91
93
98 vtkSetClampMacro(MaximumEdgeLength, double, 0.000001, VTK_DOUBLE_MAX);
99 vtkGetMacro(MaximumEdgeLength, double);
101
103
109 vtkSetClampMacro(MaximumTriangleArea, double, 0.000001, VTK_DOUBLE_MAX);
110 vtkGetMacro(MaximumTriangleArea, double);
112
114
124
126
135
137
145
147
152 vtkSetMacro(OutputPointsPrecision, int);
153 vtkGetMacro(OutputPointsPrecision, int);
155
161
166
167protected:
170
177
179
180private:
182 void operator=(const vtkAdaptiveSubdivisionFilter&) = delete;
183};
184
185#endif
void CreateDefaultLocator()
Create a default locator.
~vtkAdaptiveSubdivisionFilter() override
void SetLocator(vtkIncrementalPointLocator *locator)
Set / get a spatial locator for merging points.
static vtkAdaptiveSubdivisionFilter * New()
Standard methods for instantiation, type info, and printing.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, type info, and printing.
vtkMTimeType GetMTime() override
Modified GetMTime because of the dependence on the locator.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
Abstract class in support of both point location and point insertion.
a simple class to control print indentation
Definition vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
int vtkIdType
Definition vtkType.h:332
#define VTK_ID_MAX
Definition vtkType.h:336
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:287
#define VTK_DOUBLE_MAX
Definition vtkType.h:165