|
MorphologicalAttributeFilters
Public API documentation
|
Owning result for one delta-augmented attribute layout and buffer. More...
#include <AttributeResultTypes.hpp>

Public Member Functions | |
| ComputedAttributeDataWithDelta (AttributeNamesWithDelta attrNames, std::vector< Real > buffer, NodeIdSpace outputSpace=NodeIdSpace::MORPHOLOGICAL_TREE) | |
| Takes ownership of a delta-augmented layout and its flat buffer. | |
| ComputedAttributeDataWithDelta (const ComputedAttributeDataWithDelta &)=delete | |
| ComputedAttributeDataWithDelta & | operator= (const ComputedAttributeDataWithDelta &)=delete |
| ComputedAttributeDataWithDelta (ComputedAttributeDataWithDelta &&) noexcept=default | |
| Transfers ownership of the layout, buffer, and node-id-space marker. | |
| ComputedAttributeDataWithDelta & | operator= (ComputedAttributeDataWithDelta &&)=delete |
| AttributeNamesWithDelta & | attributeNames () noexcept |
| Returns the mutable delta-aware attribute layout. | |
| const AttributeNamesWithDelta & | attributeNames () const noexcept |
| Returns the immutable delta-aware attribute layout. | |
| std::vector< Real > & | values () noexcept |
| Returns the mutable flat attribute buffer. | |
| const std::vector< Real > & | values () const noexcept |
| Returns the immutable flat attribute buffer. | |
Public Attributes | |
| AttributeNamesWithDelta | first |
Delta-aware layout used to interpret second. | |
| std::vector< Real > | second |
Flat per-node, per-delta attribute buffer indexed through first. | |
| NodeIdSpace | nodeIdSpace = NodeIdSpace::MORPHOLOGICAL_TREE |
Node-id domain used by the rows of second. | |
Owning result for one delta-augmented attribute layout and buffer.
This is the delta-aware counterpart of ComputedAttributeData<Real>. It is used when one logical attribute is sampled at several ancestor/descendant offsets around each node.
Definition at line 84 of file AttributeResultTypes.hpp.
|
inline |
Takes ownership of a delta-augmented layout and its flat buffer.
| attrNames | Layout that maps (attribute, delta) keys to offsets. |
| buffer | Attribute values stored in node-major order. |
| outputSpace | Node-id domain used by the buffer rows. |
Definition at line 101 of file AttributeResultTypes.hpp.
|
inlinenoexcept |
Returns the immutable delta-aware attribute layout.
Definition at line 116 of file AttributeResultTypes.hpp.
|
inlinenoexcept |
Returns the mutable delta-aware attribute layout.
Definition at line 113 of file AttributeResultTypes.hpp.
|
inlinenoexcept |
Returns the immutable flat attribute buffer.
Definition at line 122 of file AttributeResultTypes.hpp.
|
inlinenoexcept |
Returns the mutable flat attribute buffer.
Definition at line 119 of file AttributeResultTypes.hpp.
| AttributeNamesWithDelta mmcfilters::ComputedAttributeDataWithDelta< Real >::first |
Delta-aware layout used to interpret second.
Definition at line 86 of file AttributeResultTypes.hpp.
| NodeIdSpace mmcfilters::ComputedAttributeDataWithDelta< Real >::nodeIdSpace = NodeIdSpace::MORPHOLOGICAL_TREE |
Node-id domain used by the rows of second.
Definition at line 92 of file AttributeResultTypes.hpp.
| std::vector<Real> mmcfilters::ComputedAttributeDataWithDelta< Real >::second |
Flat per-node, per-delta attribute buffer indexed through first.
Definition at line 89 of file AttributeResultTypes.hpp.