VTK
9.4.20241104
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Filters
CellGrid
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
30
#include "
vtkCellAttributeCalculator.h
"
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
:
42
vtkTypeMacro(
vtkCellAttributeInformation
,
vtkCellAttributeCalculator
);
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
:
91
vtkCellAttributeInformation
(
const
vtkCellAttributeInformation
&) =
delete
;
92
void
operator=(
const
vtkCellAttributeInformation
&) =
delete
;
93
};
94
95
VTK_ABI_NAMESPACE_END
96
#endif
// vtkCellAttributeInformation_h
vtkCellAttributeCalculator
Perform a per-cell calculation on a vtkCellAttribute.
Definition
vtkCellAttributeCalculator.h:36
vtkCellAttributeInformation
Provide information about a cell attribute's basis functions on one cell type.
Definition
vtkCellAttributeInformation.h:40
vtkCellAttributeInformation::~vtkCellAttributeInformation
~vtkCellAttributeInformation() override=default
vtkCellAttributeInformation::GetNumberOfBasisFunctions
virtual int GetNumberOfBasisFunctions() const =0
Return the number of basis functions for the cell type in question.
vtkCellAttributeInformation::GetBasisOrder
virtual int GetBasisOrder() const =0
Return the polynomial order of the interpolant.
vtkCellAttributeInformation::GetBasisName
virtual std::string GetBasisName() const =0
Return a name for a basis function specific to both the cell-metadata and the cell-attribute type.
vtkCellAttributeInformation::vtkCellAttributeInformation
vtkCellAttributeInformation()=default
vtkCellAttributeInformation::GetBasisValueSize
virtual int GetBasisValueSize() const =0
Return the number of components generated for each basis function.
vtkCellAttributeInformation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkCellAttributeInformation::GetDegreeOfFreedomSize
virtual int GetDegreeOfFreedomSize() const =0
Return the number of times each basis function should be applied to obtain an attribute value.
vtkCellAttributeInformation::GetSharedDegreesOfFreedom
virtual bool GetSharedDegreesOfFreedom() const =0
Return whether degrees of freedom are shared by multiple cells or not.
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:108
vtkCellAttributeCalculator.h
vtkVector.h
Generated on Mon Nov 4 2024 13:42:08 for VTK by
1.9.7