Wildmeshing Toolkit
wmtk::attribute Namespace Reference

Namespaces

 internal
 
 update_strategies
 
 utils
 

Classes

class  Accessor
 A CachingAccessor that uses tuples for accessing attributes instead of indices. More...
 
class  Attribute
 This class stores data of type T in a vector. More...
 
class  MeshAttributes
 Contains all attributes of type T for a single mesh. More...
 
class  AccessorCache
 
class  AccessorBase
 
class  PerThreadAttributeScopeStacks
 
class  TypedAttributeHandle
 Handle that represents attributes for some mesh. More...
 
class  AttributeHandle
 Internal handle representation used by MeshAttributes. More...
 
class  AttributeManager
 
class  CachingAccessor
 An accessor for cached attribute values. More...
 
class  AttributeScope
 
class  AttributeScopeHandle
 This handle is a wrapper for the MeshManager scope funtions. More...
 
class  MeshAttributeHandle
 
class  TupleAccessor
 

Typedefs

template<typename T >
using AttributeCache = internal::AttributeFlatCache< T >
 
template<typename T , int R = Eigen::Dynamic>
using MapResult = typename internal::VectorResult< T, R >::MapType
 the default map type used by attributes is a map of our vector type. More...
 
template<typename T , int R = Eigen::Dynamic>
using ConstMapResult = typename internal::VectorResult< T, R >::ConstMapType
 

Functions

template<typename MeshType >
 TupleAccessor (MeshType &m, const TypedAttributeHandle< int64_t > &handle) -> TupleAccessor< MeshType >
 
template<typename MeshType >
 TupleAccessor (const MeshType &m, const TypedAttributeHandle< int64_t > &handle) -> TupleAccessor< MeshType >
 

Typedef Documentation

◆ AttributeCache

template<typename T >
using wmtk::attribute::AttributeCache = typedef internal::AttributeFlatCache<T>

Definition at line 7 of file AttributeCache.hpp.

◆ ConstMapResult

template<typename T , int R = Eigen::Dynamic>
using wmtk::attribute::ConstMapResult = typedef typename internal::VectorResult<T, R>::ConstMapType

Definition at line 12 of file MapTypes.hpp.

◆ MapResult

template<typename T , int R = Eigen::Dynamic>
using wmtk::attribute::MapResult = typedef typename internal::VectorResult<T, R>::MapType

the default map type used by attributes is a map of our vector type.

Though the max size doesn't affect the storage of the map, this affects the type returned by .eval()

Definition at line 10 of file MapTypes.hpp.

Function Documentation

◆ TupleAccessor() [1/2]

template<typename MeshType >
wmtk::attribute::TupleAccessor ( const MeshType &  m,
const TypedAttributeHandle< int64_t > &  handle 
) -> TupleAccessor< MeshType >

◆ TupleAccessor() [2/2]

template<typename MeshType >
wmtk::attribute::TupleAccessor ( MeshType &  m,
const TypedAttributeHandle< int64_t > &  handle 
) -> TupleAccessor< MeshType >