CorePlotting::OwningLineView
CorePlotting::OwningLineView
Line view that owns its vertex data. More…
#include <MappedLineView.hpp>
Public Functions
| Name | |
|---|---|
| OwningLineView(EntityId id, std::vector< MappedVertex > verts) Construct with ownership of vertex data. |
|
| std::span< MappedVertex const > | vertices() const Get vertex range for iteration. |
| std::vector< MappedVertex > & | verticesMut() Get mutable access to vertices. |
Public Attributes
| Name | |
|---|---|
| EntityId | entity_id Entity identifier for the entire line. |
Detailed Description
class CorePlotting::OwningLineView;Line view that owns its vertex data.
Useful when transformations require materialization of vertices, or when the source data lifetime is uncertain.
Public Functions Documentation
function OwningLineView
inline OwningLineView(
EntityId id,
std::vector< MappedVertex > verts
)Construct with ownership of vertex data.
Parameters:
- id Entity identifier
- verts Vertices (moved into ownership)
function vertices
inline std::span< MappedVertex const > vertices() constGet vertex range for iteration.
function verticesMut
inline std::vector< MappedVertex > & verticesMut()Get mutable access to vertices.
Public Attributes Documentation
variable entity_id
EntityId entity_id;Entity identifier for the entire line.
Updated on 2026-11-13 at 20:25:42 +0000