Wildmeshing Toolkit
|
#include <AccessorBase.hpp>
Public Types | |
using | T = _T |
using | MeshAttributesType = MeshAttributes< T > |
using | AttributeType = Attribute< T > |
template<int D = Dim> | |
using | MapResult = internal::MapResult< T, D > |
template<int D = Dim> | |
using | ConstMapResult = internal::ConstMapResult< T, D > |
Public Member Functions | |
int64_t | reserved_size () const |
int64_t | dimension () const |
const T & | default_value () const |
void | set_attribute (std::vector< T > value) |
template<int D = Dim> | |
ConstMapResult< D > | const_vector_attribute (const int64_t index) const |
template<int D = Dim> | |
MapResult< D > | vector_attribute (const int64_t index) |
T | const_scalar_attribute (const int64_t index) const |
T & | scalar_attribute (const int64_t index) |
T | const_scalar_attribute (const int64_t index, const int8_t offset) const |
T & | scalar_attribute (const int64_t index, const int8_t offset) |
MeshAttributes< T > & | attributes () |
const MeshAttributes< T > & | attributes () const |
Attribute< T > & | attribute () |
const Attribute< T > & | attribute () const |
~AccessorBase () | |
AccessorBase (Mesh &m, const TypedAttributeHandle< T > &handle) | |
AccessorBase (const Mesh &m, const TypedAttributeHandle< T > &handle) | |
MeshAttributeHandle | handle () const |
const TypedAttributeHandle< T > & | typed_handle () const |
PrimitiveType | primitive_type () const |
Mesh & | mesh () |
const Mesh & | mesh () const |
template<int D> | |
auto | const_vector_attribute (const int64_t index) const -> ConstMapResult< D > |
template<int D> | |
auto | vector_attribute (const int64_t index) -> MapResult< D > |
Protected Member Functions | |
const AttributeManager & | attribute_manager () const |
AttributeManager & | attribute_manager () |
Protected Attributes | |
TypedAttributeHandle< T > | m_handle |
Mesh & | m_mesh |
Attribute< T > & | m_attribute |
Friends | |
class | AccessorCache< T > |
template<typename U , typename MeshType , int D> | |
class | Accessor |
Definition at line 27 of file AccessorBase.hpp.
using wmtk::attribute::AccessorBase< _T, Dim >::AttributeType = Attribute<T> |
Definition at line 35 of file AccessorBase.hpp.
using wmtk::attribute::AccessorBase< _T, Dim >::ConstMapResult = internal::ConstMapResult<T, D> |
Definition at line 40 of file AccessorBase.hpp.
using wmtk::attribute::AccessorBase< _T, Dim >::MapResult = internal::MapResult<T, D> |
Definition at line 38 of file AccessorBase.hpp.
using wmtk::attribute::AccessorBase< _T, Dim >::MeshAttributesType = MeshAttributes<T> |
Definition at line 32 of file AccessorBase.hpp.
using wmtk::attribute::AccessorBase< _T, Dim >::T = _T |
Definition at line 30 of file AccessorBase.hpp.
|
inlinedefault |
|
inline |
Definition at line 11 of file AccessorBase.hxx.
wmtk::attribute::AccessorBase< T, Dim >::AccessorBase | ( | const Mesh & | m, |
const TypedAttributeHandle< T > & | handle | ||
) |
Definition at line 17 of file AccessorBase.hxx.
|
inline |
Definition at line 79 of file AccessorBase.hxx.
|
inline |
Definition at line 84 of file AccessorBase.hxx.
|
inlineprotected |
Definition at line 40 of file AccessorBase.hxx.
|
inlineprotected |
Definition at line 34 of file AccessorBase.hxx.
|
inline |
Definition at line 69 of file AccessorBase.hxx.
|
inline |
Definition at line 74 of file AccessorBase.hxx.
|
inline |
Definition at line 125 of file AccessorBase.hxx.
|
inline |
Definition at line 138 of file AccessorBase.hxx.
ConstMapResult<D> wmtk::attribute::AccessorBase< _T, Dim >::const_vector_attribute | ( | const int64_t | index | ) | const |
|
inline |
Definition at line 107 of file AccessorBase.hxx.
|
inline |
Definition at line 63 of file AccessorBase.hxx.
|
inline |
Definition at line 57 of file AccessorBase.hxx.
|
inline |
Definition at line 94 of file AccessorBase.hxx.
|
inline |
Definition at line 23 of file AccessorBase.hxx.
Referenced by wmtk::attribute::Accessor< T, MeshType, Dim >::mesh().
|
inline |
Definition at line 28 of file AccessorBase.hxx.
|
inline |
Definition at line 100 of file AccessorBase.hxx.
|
inline |
Definition at line 51 of file AccessorBase.hxx.
|
inline |
Definition at line 131 of file AccessorBase.hxx.
|
inline |
Definition at line 145 of file AccessorBase.hxx.
|
inline |
Definition at line 152 of file AccessorBase.hxx.
|
inline |
Definition at line 89 of file AccessorBase.hxx.
MapResult<D> wmtk::attribute::AccessorBase< _T, Dim >::vector_attribute | ( | const int64_t | index | ) |
|
inline |
Definition at line 116 of file AccessorBase.hxx.
|
friend |
Definition at line 34 of file AccessorBase.hpp.
|
friend |
Definition at line 1 of file AccessorBase.hpp.
|
protected |
Definition at line 85 of file AccessorBase.hpp.
|
protected |
Definition at line 83 of file AccessorBase.hpp.
|
protected |
Definition at line 84 of file AccessorBase.hpp.