VTK
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 =========================================================================*/
39 #ifndef vtkGenericDataSetTessellator_h
40 #define vtkGenericDataSetTessellator_h
41 
42 #include "vtkFiltersGenericModule.h" // For export macro
44 
45 class vtkPointData;
47 
48 class VTKFILTERSGENERIC_EXPORT vtkGenericDataSetTessellator : public vtkUnstructuredGridAlgorithm
49 {
50 public:
52 
56  vtkTypeMacro(vtkGenericDataSetTessellator,
58  void PrintSelf(ostream& os, vtkIndent indent) override;
60 
62 
68  vtkSetMacro(KeepCellIds, vtkTypeBool);
69  vtkGetMacro(KeepCellIds, vtkTypeBool);
70  vtkBooleanMacro(KeepCellIds, vtkTypeBool);
72 
73 
75 
80  vtkSetMacro(Merging,vtkTypeBool);
81  vtkGetMacro(Merging,vtkTypeBool);
82  vtkBooleanMacro(Merging,vtkTypeBool);
84 
86 
90  void SetLocator(vtkIncrementalPointLocator *locator);
91  vtkGetObjectMacro(Locator,vtkIncrementalPointLocator);
93 
97  void CreateDefaultLocator();
98 
102  vtkMTimeType GetMTime() override;
103 
104 protected:
106  ~vtkGenericDataSetTessellator() override;
107 
109 
110  int FillInputPortInformation(int, vtkInformation*) override;
111 
112  // See Set/Get KeepCellIds() for explanations.
114 
115  // Used internal by vtkGenericAdaptorCell::Tessellate()
117 
120 
121 private:
123  void operator=(const vtkGenericDataSetTessellator&) = delete;
124 };
125 
126 #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:37
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:302
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:69
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:39
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