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

Public Member Functions | |
| SampledNodeAttributeData (NodeAttributeSampleLayout attrNames, std::vector< Real > buffer, NodeIdSpace outputSpace=NodeIdSpace::MorphologicalTree) | |
| Takes ownership of a sample layout and its flat buffer. | |
| SampledNodeAttributeData (const SampledNodeAttributeData &)=delete | |
| Disables copy construction. | |
| SampledNodeAttributeData & | operator= (const SampledNodeAttributeData &)=delete |
| Disables copy assignment. | |
| SampledNodeAttributeData (SampledNodeAttributeData &&) noexcept=default | |
| Transfers ownership of the layout, buffer, and node-id-space marker. | |
| SampledNodeAttributeData & | operator= (SampledNodeAttributeData &&)=delete |
| Disables move assignment. | |
| NodeAttributeSampleLayout & | attributeNames () noexcept |
| Returns the mutable sampled-attribute layout. | |
| const NodeAttributeSampleLayout & | attributeNames () const noexcept |
| Returns the immutable sampled-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 | |
| NodeAttributeSampleLayout | first |
Sample layout used to interpret second. | |
| std::vector< Real > | second |
Flat per-node, per-sample attribute buffer indexed through first. | |
| NodeIdSpace | nodeIdSpace = NodeIdSpace::MorphologicalTree |
Node-id domain used by the rows of second. | |
Owning result for one sampled node-attribute layout and buffer.
This result is used when one logical node attribute is sampled at several ancestor/current/representative-descendant offsets.
Definition at line 107 of file AttributeResultTypes.hpp.
|
inline |
Takes ownership of a sample layout and its flat buffer.
| attrNames | Layout that maps (attribute, sampleOffset) keys to offsets. |
| buffer | Attribute values stored in node-major order. |
| outputSpace | Node-id domain used by the buffer rows. |
Definition at line 124 of file AttributeResultTypes.hpp.
|
inlinenoexcept |
Returns the immutable sampled-attribute layout.
Definition at line 159 of file AttributeResultTypes.hpp.
|
inlinenoexcept |
Returns the mutable sampled-attribute layout.
Definition at line 152 of file AttributeResultTypes.hpp.
|
inlinenoexcept |
Returns the immutable flat attribute buffer.
Definition at line 173 of file AttributeResultTypes.hpp.
|
inlinenoexcept |
Returns the mutable flat attribute buffer.
Definition at line 166 of file AttributeResultTypes.hpp.
| NodeAttributeSampleLayout mmcfilters::SampledNodeAttributeData< Real >::first |
Sample layout used to interpret second.
Definition at line 109 of file AttributeResultTypes.hpp.
| NodeIdSpace mmcfilters::SampledNodeAttributeData< Real >::nodeIdSpace = NodeIdSpace::MorphologicalTree |
Node-id domain used by the rows of second.
Definition at line 115 of file AttributeResultTypes.hpp.
| std::vector<Real> mmcfilters::SampledNodeAttributeData< Real >::second |
Flat per-node, per-sample attribute buffer indexed through first.
Definition at line 112 of file AttributeResultTypes.hpp.