VTK  9.3.20240329
vtkGenericDataSetTessellator.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
27 #ifndef vtkGenericDataSetTessellator_h
28 #define vtkGenericDataSetTessellator_h
29 
30 #include "vtkFiltersGenericModule.h" // For export macro
32 
33 VTK_ABI_NAMESPACE_BEGIN
34 class vtkPointData;
36 
37 class VTKFILTERSGENERIC_EXPORT vtkGenericDataSetTessellator : public vtkUnstructuredGridAlgorithm
38 {
39 public:
41 
46  void PrintSelf(ostream& os, vtkIndent indent) override;
48 
50 
56  vtkSetMacro(KeepCellIds, vtkTypeBool);
57  vtkGetMacro(KeepCellIds, vtkTypeBool);
58  vtkBooleanMacro(KeepCellIds, vtkTypeBool);
60 
62 
67  vtkSetMacro(Merging, vtkTypeBool);
68  vtkGetMacro(Merging, vtkTypeBool);
69  vtkBooleanMacro(Merging, vtkTypeBool);
71 
73 
78  vtkGetObjectMacro(Locator, vtkIncrementalPointLocator);
80 
85 
89  vtkMTimeType GetMTime() override;
90 
91 protected:
94 
96 
98 
99  // See Set/Get KeepCellIds() for explanations.
101 
102  // Used internal by vtkGenericAdaptorCell::Tessellate()
104 
107 
108 private:
110  void operator=(const vtkGenericDataSetTessellator&) = delete;
111 };
112 
113 VTK_ABI_NAMESPACE_END
114 #endif
tessellates generic, higher-order datasets into linear cells
void SetLocator(vtkIncrementalPointLocator *locator)
Set / get a spatial locator for merging points.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard VTK methods.
void CreateDefaultLocator()
Create default locator.
vtkMTimeType GetMTime() override
Return the MTime also considering the locator.
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
~vtkGenericDataSetTessellator() override
vtkIncrementalPointLocator * Locator
static vtkGenericDataSetTessellator * New()
Standard VTK methods.
Abstract class in support of both point location and point insertion.
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
represent and manipulate point attribute data
Definition: vtkPointData.h:140
Superclass for algorithms that produce only unstructured grid as output.
int vtkTypeBool
Definition: vtkABI.h:64
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:270