Wildmeshing Toolkit
|
#include <AttributeScope.hpp>
Public Member Functions | |
AttributeScope () | |
AttributeScope (const AttributeScope &)=delete | |
AttributeScope & | operator= (const AttributeScope &)=delete |
AttributeScope (AttributeScope &&)=default | |
AttributeScope & | operator= (AttributeScope &&)=default |
~AttributeScope () | |
AttributeScope (std::unique_ptr< AttributeScope< T >> &&next) | |
void | apply (Attribute< T > &attr) const |
void | apply (const Attribute< T > &attr, std::vector< T > &data) |
Public Member Functions inherited from wmtk::attribute::internal::AttributeFlatCache< T > | |
AttributeFlatCache () | |
~AttributeFlatCache () | |
AttributeFlatCache (const AttributeFlatCache &)=delete | |
AttributeFlatCache & | operator= (const AttributeFlatCache &)=delete |
AttributeFlatCache (AttributeFlatCache &&)=default | |
AttributeFlatCache & | operator= (AttributeFlatCache &&)=default |
template<typename Derived > | |
void | try_caching (int64_t index, const Eigen::MatrixBase< Derived > &value) |
void | try_caching (int64_t index, const T &value) |
const T * | get_value (int64_t index, size_t dim) const |
void | clear () |
size_t | size () const |
void | apply_to (Attribute< T > &attribute) const |
void | apply_to (AttributeFlatCache< T > &other) const |
void | apply_to (const Attribute< T > &attribute, std::vector< T > &other) const |
const std::vector< T > & | buffer () const |
const std::vector< std::pair< size_t, size_t > > & | indices () const |
Private Types | |
using | MapResult = typename AttributeCache< T >::MapResult |
using | ConstMapResult = typename AttributeCache< T >::ConstMapResult |
Private Member Functions | |
template<int Dim> | |
ConstMapResult | load_const_cached_vector_value (const AccessorBase< T, Dim > &accessor, int64_t index) const |
template<int Dim> | |
T | load_const_cached_scalar_value (const AccessorBase< T > &accessor, int64_t index) const |
AttributeCache< T > & | get_cache () |
Friends | |
template<typename U , int D> | |
class | CachingAccessor |
Additional Inherited Members | |
Public Types inherited from wmtk::attribute::internal::AttributeFlatCache< T > | |
using | Data = AttributeCacheData< T > |
using | MapResult = internal::MapResult< T > |
using | ConstMapResult = internal::ConstMapResult< T > |
Protected Attributes inherited from wmtk::attribute::internal::AttributeFlatCache< T > | |
std::vector< T > | m_buffer |
std::vector< std::pair< size_t, size_t > > | m_indices |
Definition at line 16 of file AttributeScope.hpp.
|
private |
Definition at line 38 of file AttributeScope.hpp.
|
private |
Definition at line 37 of file AttributeScope.hpp.
|
inline |
Definition at line 6 of file AttributeScope.hxx.
|
delete |
|
default |
|
inline |
Definition at line 9 of file AttributeScope.hxx.
wmtk::attribute::AttributeScope< T >::AttributeScope | ( | std::unique_ptr< AttributeScope< T >> && | next | ) |
|
inline |
Definition at line 17 of file AttributeScope.hxx.
References wmtk::attribute::internal::AttributeFlatCache< T >::apply_to().
|
inline |
Definition at line 22 of file AttributeScope.hxx.
References wmtk::attribute::internal::AttributeFlatCache< T >::apply_to().
|
inlineprivate |
Definition at line 46 of file AttributeScope.hpp.
|
private |
|
private |
|
default |
|
delete |
Definition at line 20 of file AttributeScope.hpp.