VTK  9.1.0
vtkGenericDataSetTessellator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGenericDataSetTessellator.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 =========================================================================*/
36 #ifndef vtkGenericDataSetTessellator_h
37 #define vtkGenericDataSetTessellator_h
38 
39 #include "vtkFiltersGenericModule.h" // For export macro
41 
42 class vtkPointData;
44 
45 class VTKFILTERSGENERIC_EXPORT vtkGenericDataSetTessellator : public vtkUnstructuredGridAlgorithm
46 {
47 public:
49 
54  void PrintSelf(ostream& os, vtkIndent indent) override;
56 
58 
64  vtkSetMacro(KeepCellIds, vtkTypeBool);
65  vtkGetMacro(KeepCellIds, vtkTypeBool);
66  vtkBooleanMacro(KeepCellIds, vtkTypeBool);
68 
70 
75  vtkSetMacro(Merging, vtkTypeBool);
76  vtkGetMacro(Merging, vtkTypeBool);
77  vtkBooleanMacro(Merging, vtkTypeBool);
79 
81 
86  vtkGetObjectMacro(Locator, vtkIncrementalPointLocator);
88 
93 
97  vtkMTimeType GetMTime() override;
98 
99 protected:
102 
104 
106 
107  // See Set/Get KeepCellIds() for explanations.
109 
110  // Used internal by vtkGenericAdaptorCell::Tessellate()
112 
115 
116 private:
118  void operator=(const vtkGenericDataSetTessellator&) = delete;
119 };
120 
121 #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:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
represent and manipulate point attribute data
Definition: vtkPointData.h:33
Superclass for algorithms that produce only unstructured grid as output.
int vtkTypeBool
Definition: vtkABI.h:69
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:287