VTK  9.4.20241016
Public Member Functions | Public Attributes | List of all members
vtkCellAttribute::CellTypeInfo Struct Reference

#include <vtkCellAttribute.h>

Collaboration diagram for vtkCellAttribute::CellTypeInfo:
[legend]

Public Member Functions

template<typename ArrayType >
ArrayType * GetArrayForRoleAs (vtkStringToken role) const
 Return an array (or nullptr) given a role, cast to ArrayType.
 
bool operator!= (const CellTypeInfo &other) const
 Comparator used to test inequality.
 
 CellTypeInfo ()=default
 Explicitly include assignment and copy-construction.
 
 CellTypeInfo (const CellTypeInfo &other)=default
 
CellTypeInfooperator= (const CellTypeInfo &other)=default
 

Public Attributes

vtkStringToken DOFSharing
 
vtkStringToken FunctionSpace
 The function space used to interpolate values of the attribute on cells of the matching type.
 
vtkStringToken Basis
 The interpolation scheme of the attribute on cells of the matching type.
 
int Order
 The interpolation order of the attribute on cells of the matching type.
 
ArraysForCellType ArraysByRole
 A dictionary of arrays indexed by their roles in interpolation.
 

Detailed Description

Definition at line 40 of file vtkCellAttribute.h.

Constructor & Destructor Documentation

◆ CellTypeInfo() [1/2]

vtkCellAttribute::CellTypeInfo::CellTypeInfo ( )
default

Explicitly include assignment and copy-construction.

◆ CellTypeInfo() [2/2]

vtkCellAttribute::CellTypeInfo::CellTypeInfo ( const CellTypeInfo other)
default

Member Function Documentation

◆ GetArrayForRoleAs()

template<typename ArrayType >
ArrayType * vtkCellAttribute::CellTypeInfo::GetArrayForRoleAs ( vtkStringToken  role) const
inline

Return an array (or nullptr) given a role, cast to ArrayType.

Definition at line 74 of file vtkCellAttribute.h.

◆ operator!=()

bool vtkCellAttribute::CellTypeInfo::operator!= ( const CellTypeInfo other) const

Comparator used to test inequality.

◆ operator=()

CellTypeInfo & vtkCellAttribute::CellTypeInfo::operator= ( const CellTypeInfo other)
default

Member Data Documentation

◆ DOFSharing

vtkStringToken vtkCellAttribute::CellTypeInfo::DOFSharing

Definition at line 45 of file vtkCellAttribute.h.

◆ FunctionSpace

vtkStringToken vtkCellAttribute::CellTypeInfo::FunctionSpace

The function space used to interpolate values of the attribute on cells of the matching type.

Examples include "HGRAD", "HDIV", and "HCURL".

Definition at line 50 of file vtkCellAttribute.h.

◆ Basis

vtkStringToken vtkCellAttribute::CellTypeInfo::Basis

The interpolation scheme of the attribute on cells of the matching type.

For polynomial interpolants, this is often used to indicate whether the basis covers the entire polynomial space or a particular subset of it. For example, serendipitity elements are often marked incomplete since they do not cover the entire space along each parametric coordinate axis.

Examples include "I"ncomplete, "C"omplete, and "F"ull.

Definition at line 62 of file vtkCellAttribute.h.

◆ Order

int vtkCellAttribute::CellTypeInfo::Order

The interpolation order of the attribute on cells of the matching type.

Definition at line 65 of file vtkCellAttribute.h.

◆ ArraysByRole

ArraysForCellType vtkCellAttribute::CellTypeInfo::ArraysByRole

A dictionary of arrays indexed by their roles in interpolation.

This is used by render-responders and interpolation calculators to interpolate attribute values.

Definition at line 70 of file vtkCellAttribute.h.


The documentation for this struct was generated from the following file: