VTK: Filters/CellGrid/vtkCellGridComputeSurface.h Source File

| VTK 9.3.1

vtkCellGridComputeSurface.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
17 #ifndef vtkCellGridComputeSurface_h
18 #define vtkCellGridComputeSurface_h
19
20 #include "vtkCellGridAlgorithm.h"
21 #include "vtkFiltersCellGridModule.h" // For export macro
22 #include "vtkNew.h" // for ivar
23
24 VTK_ABI_NAMESPACE_BEGIN
25 class vtkCellGridSidesQuery;
26
27 class VTKFILTERSCELLGRID_EXPORT vtkCellGridComputeSurface : public vtkCellGridAlgorithm
28 {
29 public:
30 static vtkCellGridComputeSurface* New();
31 vtkTypeMacro(vtkCellGridComputeSurface, vtkCellGridAlgorithm);
32 void PrintSelf(ostream& os, vtkIndent indent) override;
33
34 static vtkStringToken GetSideAttribute();
35
36 protected:
37 vtkCellGridComputeSurface() = default;
38 ~vtkCellGridComputeSurface() override = default;
39
40 int RequestData(
41 vtkInformation* request, vtkInformationVector** inInfo, vtkInformationVector* ouInfo) override;
42
43 vtkNew<vtkCellGridSidesQuery> Request;
44
45 private:
46 vtkCellGridComputeSurface(const vtkCellGridComputeSurface&) = delete;
47 void operator=(const vtkCellGridComputeSurface&) = delete;
48 };
49
50 VTK_ABI_NAMESPACE_END
51 #endif // vtkCellGridComputeSurface_h
vtkCellGridAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkCellGridAlgorithm.h:31
vtkCellGridComputeSurface
Adds arrays holding tuples of sides that are shared an odd number of times.
Definition: vtkCellGridComputeSurface.h:28
vtkCellGridComputeSurface::New
static vtkCellGridComputeSurface * New()
vtkCellGridComputeSurface::~vtkCellGridComputeSurface
~vtkCellGridComputeSurface() override=default
vtkCellGridComputeSurface::GetSideAttribute
static vtkStringToken GetSideAttribute()
vtkCellGridComputeSurface::RequestData
int RequestData(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *ouInfo) override
This is called by the superclass.
vtkCellGridComputeSurface::vtkCellGridComputeSurface
vtkCellGridComputeSurface()=default
vtkCellGridComputeSurface::Request
vtkNew< vtkCellGridSidesQuery > Request
Definition: vtkCellGridComputeSurface.h:43
vtkCellGridComputeSurface::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkCellGridSidesQuery
A cell-grid query for enumerating sides of cells.
Definition: vtkCellGridSidesQuery.h:33
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
vtkNew< vtkCellGridSidesQuery >
vtkStringToken
Represent a string by its integer hash.
Definition: vtkStringToken.h:34
vtkCellGridAlgorithm.h
vtkNew.h