VTK  9.3.1
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 
77  void SetLocator(vtkIncrementalPointLocator* locator);
78  vtkGetObjectMacro(Locator, vtkIncrementalPointLocator);
80 
84  void CreateDefaultLocator();
85 
89  vtkMTimeType GetMTime() override;
90 
91 protected:
93  ~vtkGenericDataSetTessellator() override;
94 
96 
97  int FillInputPortInformation(int, vtkInformation*) override;
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
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
represent and manipulate point attribute data
Definition: vtkPointData.h:29
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:270
static vtkUnstructuredGridAlgorithm * New()
Abstract class in support of both point location and point insertion.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int vtkTypeBool
Definition: vtkABI.h:64
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual vtkMTimeType GetMTime()
Return this object's modified time.
Superclass for algorithms that produce only unstructured grid as output.
Store zero or more vtkInformation instances.
tessellates generic, higher-order datasets into linear cells
vtkIncrementalPointLocator * Locator