|
mmcfilters
Public API documentation
|
Owning, move-only native hierarchy returned by builders and consumed by materialization. More...
#include <NativeHierarchyOwned.hpp>

Public Member Functions | |
| NativeHierarchyOwned (std::vector< NodeId > &&parent, std::vector< NodeId > &&smallestNodeMap, std::vector< T > &&nodeAltitudes, NodeId root, std::optional< GridDomain2D > gridDomain2D, MorphologicalTreeSemantics semantics) | |
| Takes ownership of native hierarchy buffers without structural validation. | |
| NativeHierarchyOwned (const NativeHierarchyOwned &)=delete | |
| Disables copy construction. | |
| NativeHierarchyOwned & | operator= (const NativeHierarchyOwned &)=delete |
| Disables copy assignment. | |
| NativeHierarchyOwned (NativeHierarchyOwned &&) noexcept=default | |
| Transfers ownership of the native hierarchy. | |
| NativeHierarchyOwned & | operator= (NativeHierarchyOwned &&) noexcept=default |
| Assigns the supplied object state. | |
Public Attributes | |
| std::vector< NodeId > | parent |
| Parent identifier indexed by internal node. | |
| std::vector< NodeId > | smallestNodeMap |
| Smallest node identifier indexed by pixel. | |
| std::vector< T > | nodeAltitudes |
| Altitude indexed by internal node. | |
| NodeId | root |
| Identifier of the self-parented root. | |
| std::optional< GridDomain2D > | gridDomain2D |
| Optional two-dimensional pixel domain. | |
| MorphologicalTreeSemantics | semantics |
| Semantic metadata, including owned construction adjacencies. | |
Owning, move-only native hierarchy returned by builders and consumed by materialization.
Builders move their existing buffers into this representation. Higra import conversion also produces this representation after validation. Materialization transfers the buffers into the valued-tree owner without another copy. The constructor transfers ownership without structural validation; callers remain responsible for providing valid hierarchy data. This representation also supports producer scalar types outside AltitudeValue; these results cannot be materialized as valued trees without an explicit conversion.
| T | Scalar type stored by the producer; valued-tree materialization requires AltitudeValue. |
Definition at line 26 of file NativeHierarchyOwned.hpp.
|
inline |
Takes ownership of native hierarchy buffers without structural validation.
| parent | Parent identifier indexed by internal node. |
| smallestNodeMap | Smallest node identifier indexed by pixel. |
| nodeAltitudes | Altitude indexed by internal node. |
| root | Identifier of the root. |
| gridDomain2D | Optional two-dimensional pixel domain. |
| semantics | Semantic metadata to transfer with the buffers. |
Definition at line 50 of file NativeHierarchyOwned.hpp.
|
defaultnoexcept |
Assigns the supplied object state.
| std::optional<GridDomain2D> mmcfilters::NativeHierarchyOwned< T >::gridDomain2D |
Optional two-dimensional pixel domain.
Definition at line 36 of file NativeHierarchyOwned.hpp.
| std::vector<T> mmcfilters::NativeHierarchyOwned< T >::nodeAltitudes |
Altitude indexed by internal node.
Definition at line 32 of file NativeHierarchyOwned.hpp.
| std::vector<NodeId> mmcfilters::NativeHierarchyOwned< T >::parent |
Parent identifier indexed by internal node.
Definition at line 28 of file NativeHierarchyOwned.hpp.
| NodeId mmcfilters::NativeHierarchyOwned< T >::root |
Identifier of the self-parented root.
Definition at line 34 of file NativeHierarchyOwned.hpp.
| MorphologicalTreeSemantics mmcfilters::NativeHierarchyOwned< T >::semantics |
Semantic metadata, including owned construction adjacencies.
Definition at line 38 of file NativeHierarchyOwned.hpp.
| std::vector<NodeId> mmcfilters::NativeHierarchyOwned< T >::smallestNodeMap |
Smallest node identifier indexed by pixel.
Definition at line 30 of file NativeHierarchyOwned.hpp.