VTK  9.3.20231002
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
26 
27 class VTKFILTERSCELLGRID_EXPORT vtkCellGridComputeSurface : public vtkCellGridAlgorithm
28 {
29 public:
32  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
39  virtual void SetPreserveRenderableCells(bool preserve);
41  vtkBooleanMacro(PreserveRenderableCells, bool);
42 
44 
45 protected:
47  ~vtkCellGridComputeSurface() override = default;
48 
50  vtkInformation* request, vtkInformationVector** inInfo, vtkInformationVector* ouInfo) override;
51 
53 
54 private:
56  void operator=(const vtkCellGridComputeSurface&) = delete;
57 };
58 
59 VTK_ABI_NAMESPACE_END
60 #endif // vtkCellGridComputeSurface_h
Superclass for algorithms that produce only polydata as output.
Adds arrays holding tuples of sides that are shared an odd number of times.
static vtkCellGridComputeSurface * New()
~vtkCellGridComputeSurface() override=default
virtual void SetPreserveRenderableCells(bool preserve)
Set/get whether the output should include cells which are themselves renderable (surfaces,...
static vtkStringToken GetSideAttribute()
int RequestData(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *ouInfo) override
This is called by the superclass.
vtkNew< vtkCellGridSidesQuery > Request
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
A cell-grid query for enumerating sides of cells.
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Represent a string by its integer hash.