VTK  9.7.1
vtkCellAttributeInformation.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
27 #ifndef vtkCellAttributeInformation_h
28 #define vtkCellAttributeInformation_h
29 
31 #include "vtkFiltersCellGridModule.h" // For export macro.
32 #include "vtkVector.h" // For API.
33 
34 #include <array>
35 #include <string>
36 
37 VTK_ABI_NAMESPACE_BEGIN
38 
39 class VTKFILTERSCELLGRID_EXPORT vtkCellAttributeInformation : public vtkCellAttributeCalculator
40 {
41 public:
43  void PrintSelf(ostream& os, vtkIndent indent) override;
44 
48  virtual int GetBasisOrder() const = 0;
49 
51  virtual int GetNumberOfBasisFunctions() const = 0;
52 
58  virtual int GetBasisValueSize() const = 0;
59 
69  virtual int GetDegreeOfFreedomSize() const = 0;
70 
77  virtual bool GetSharedDegreesOfFreedom() const = 0;
78 
84  virtual std::string GetBasisName() const = 0;
85 
86 protected:
87  vtkCellAttributeInformation() = default;
88  ~vtkCellAttributeInformation() override = default;
89 
90 private:
92  void operator=(const vtkCellAttributeInformation&) = delete;
93 };
94 
95 VTK_ABI_NAMESPACE_END
96 #endif // vtkCellAttributeInformation_h
Perform a per-cell calculation on a vtkCellAttribute.
Provide information about a cell attribute's basis functions on one cell type.
a simple class to control print indentation
Definition: vtkIndent.h:28
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.