VTK: Filters/Geometry/vtkLinearToQuadraticCellsFilter.h Source File

| VTK 9.3.1

vtkLinearToQuadraticCellsFilter.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
3
18 #ifndef vtkLinearToQuadraticCellsFilter_h
19 #define vtkLinearToQuadraticCellsFilter_h
20
21 #include "vtkFiltersGeometryModule.h" // For export macro
22 #include "vtkUnstructuredGridAlgorithm.h"
23
24 VTK_ABI_NAMESPACE_BEGIN
25 class vtkIncrementalPointLocator;
26
27 class VTKFILTERSGEOMETRY_EXPORT vtkLinearToQuadraticCellsFilter
28 : public vtkUnstructuredGridAlgorithm
29 {
30 public:
31 vtkTypeMacro(vtkLinearToQuadraticCellsFilter, vtkUnstructuredGridAlgorithm);
32 void PrintSelf(ostream& os, vtkIndent indent) override;
33 static vtkLinearToQuadraticCellsFilter* New();
34
36
40 void SetLocator(vtkIncrementalPointLocator* locator);
41 vtkGetObjectMacro(Locator, vtkIncrementalPointLocator);
43
48 void CreateDefaultLocator();
49
51
57 vtkSetMacro(OutputPointsPrecision, int);
58 vtkGetMacro(OutputPointsPrecision, int);
60
64 vtkMTimeType GetMTime() override;
65
66 protected:
67 vtkLinearToQuadraticCellsFilter();
68 ~vtkLinearToQuadraticCellsFilter() override;
69
70 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
71
72 vtkIncrementalPointLocator* Locator;
73 int OutputPointsPrecision;
74
75 private:
76 vtkLinearToQuadraticCellsFilter(const vtkLinearToQuadraticCellsFilter&) = delete;
77 void operator=(const vtkLinearToQuadraticCellsFilter&) = delete;
78 };
79
80 VTK_ABI_NAMESPACE_END
81 #endif
vtkIncrementalPointLocator
Abstract class in support of both point location and point insertion.
Definition: vtkIncrementalPointLocator.h:41
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkLinearToQuadraticCellsFilter
degree elevate the cells of a linear unstructured grid.
Definition: vtkLinearToQuadraticCellsFilter.h:29
vtkLinearToQuadraticCellsFilter::GetMTime
vtkMTimeType GetMTime() override
Return the mtime also considering the locator.
vtkLinearToQuadraticCellsFilter::~vtkLinearToQuadraticCellsFilter
~vtkLinearToQuadraticCellsFilter() override
vtkLinearToQuadraticCellsFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkLinearToQuadraticCellsFilter::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkLinearToQuadraticCellsFilter::OutputPointsPrecision
int OutputPointsPrecision
Definition: vtkLinearToQuadraticCellsFilter.h:73
vtkLinearToQuadraticCellsFilter::Locator
vtkIncrementalPointLocator * Locator
Definition: vtkLinearToQuadraticCellsFilter.h:72
vtkLinearToQuadraticCellsFilter::New
static vtkLinearToQuadraticCellsFilter * New()
vtkLinearToQuadraticCellsFilter::CreateDefaultLocator
void CreateDefaultLocator()
Create default locator.
vtkLinearToQuadraticCellsFilter::vtkLinearToQuadraticCellsFilter
vtkLinearToQuadraticCellsFilter()
vtkLinearToQuadraticCellsFilter::SetLocator
void SetLocator(vtkIncrementalPointLocator *locator)
Specify a spatial locator for merging points.
vtkUnstructuredGridAlgorithm
Superclass for algorithms that produce only unstructured grid as output.
Definition: vtkUnstructuredGridAlgorithm.h:30
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:270
vtkUnstructuredGridAlgorithm.h