18 template <
typename T,
int Dim = Eigen::Dynamic>
29 template <
int D = Dim>
32 template <
int D = Dim>
58 template <
int D = Dim>
64 template <
int D = Dim>
MeshAttributeHandle handle() const
Attribute< T > & attribute()
An accessor for cached attribute values.
typename BaseType::template MapResult< D > MapResult
typename BaseType::template ConstMapResult< D > ConstMapResult
T const_scalar_attribute(const int64_t index) const
CachingAccessor(CachingAccessor &&)=default
const BaseType & base_type() const
CachingAccessor & operator=(const CachingAccessor &)=delete
int64_t stack_depth() const
MapResult< D > vector_attribute(const int64_t index)
T & scalar_attribute(const int64_t index)
CachingAccessor(Mesh &m, const TypedAttributeHandle< T > &handle)
internal::AttributeTransactionStack< T > & m_cache_stack
ConstMapResult< D > const_vector_attribute(const int64_t index) const
CachingAccessor & operator=(CachingAccessor &&)=default
bool writing_enabled() const
CachingAccessor(const CachingAccessor &)=delete
Handle that represents attributes for some mesh.