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 =========================================================================*/
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 
53  vtkTypeMacro(vtkGenericDataSetTessellator,
55  void PrintSelf(ostream& os, vtkIndent indent) override;
57 
59 
65  vtkSetMacro(KeepCellIds, vtkTypeBool);
66  vtkGetMacro(KeepCellIds, vtkTypeBool);
67  vtkBooleanMacro(KeepCellIds, vtkTypeBool);
69 
70 
72 
77  vtkSetMacro(Merging,vtkTypeBool);
78  vtkGetMacro(Merging,vtkTypeBool);
79  vtkBooleanMacro(Merging,vtkTypeBool);
81 
83 
87  void SetLocator(vtkIncrementalPointLocator *locator);
88  vtkGetObjectMacro(Locator,vtkIncrementalPointLocator);
90 
94  void CreateDefaultLocator();
95 
99  vtkMTimeType GetMTime() override;
100 
101 protected:
103  ~vtkGenericDataSetTessellator() override;
104 
106 
107  int FillInputPortInformation(int, vtkInformation*) override;
108 
109  // See Set/Get KeepCellIds() for explanations.
111 
112  // Used internal by vtkGenericAdaptorCell::Tessellate()
114 
117 
118 private:
120  void operator=(const vtkGenericDataSetTessellator&) = delete;
121 };
122 
123 #endif
vtkPointData
represent and manipulate point attribute data
Definition: vtkPointData.h:31
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkGenericDataSetTessellator
tessellates generic, higher-order datasets into linear cells
Definition: vtkGenericDataSetTessellator.h:45
vtkGenericDataSetTessellator::KeepCellIds
vtkTypeBool KeepCellIds
Definition: vtkGenericDataSetTessellator.h:110
vtkObject::GetMTime
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkUnstructuredGridAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkGenericDataSetTessellator::InternalPD
vtkPointData * InternalPD
Definition: vtkGenericDataSetTessellator.h:113
vtkIncrementalPointLocator
Abstract class in support of both point location and point insertion.
Definition: vtkIncrementalPointLocator.h:51
vtkUnstructuredGridAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkGenericDataSetTessellator::Locator
vtkIncrementalPointLocator * Locator
Definition: vtkGenericDataSetTessellator.h:116
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:80
vtkGenericDataSetTessellator::Merging
vtkTypeBool Merging
Definition: vtkGenericDataSetTessellator.h:115
vtkUnstructuredGridAlgorithm::New
static vtkUnstructuredGridAlgorithm * New()
vtkUnstructuredGridAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkUnstructuredGridAlgorithm.h
vtkUnstructuredGridAlgorithm
Superclass for algorithms that produce only unstructured grid as output.
Definition: vtkUnstructuredGridAlgorithm.h:40
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:302