16 template <
typename T,
typename MeshType,
int Dim>
26 template <
typename _T,
int Dim = Eigen::Dynamic>
33 template <
typename U,
typename MeshType,
int D>
37 template <
int D = Dim>
39 template <
int D = Dim>
52 template <
int D = Dim>
54 template <
int D = Dim>
T const_scalar_attribute(const int64_t index) const
const T & default_value() const
MeshAttributes< T > & attributes()
AccessorBase(Mesh &m, const TypedAttributeHandle< T > &handle)
TypedAttributeHandle< T > m_handle
const TypedAttributeHandle< T > & typed_handle() const
MeshAttributeHandle handle() const
internal::ConstMapResult< T, D > ConstMapResult
ConstMapResult< D > const_vector_attribute(const int64_t index) const
const AttributeManager & attribute_manager() const
Attribute< T > & m_attribute
PrimitiveType primitive_type() const
void set_attribute(std::vector< T > value)
int64_t dimension() const
Attribute< T > & attribute()
T & scalar_attribute(const int64_t index)
MapResult< D > vector_attribute(const int64_t index)
int64_t reserved_size() const
internal::MapResult< T, D > MapResult
A CachingAccessor that uses tuples for accessing attributes instead of indices.
This class stores data of type T in a vector.
Contains all attributes of type T for a single mesh.
Handle that represents attributes for some mesh.
typename VectorResult< T, R >::MapType MapResult
the default map type used by attributes is a map of our vector type.
typename VectorResult< T, R >::ConstMapType ConstMapResult