Skip to main content

CorePlotting::TimedOwningLineView

CorePlotting::TimedOwningLineView

OwningLineView with temporal distance from the center of a window. More…

#include <SpatialMapper_Window.hpp>

Public Functions

Name
TimedOwningLineView(EntityId id, std::vector< MappedVertex > verts, int dist)
Construct with ownership of vertex data.
TimedOwningLineView(OwningLineView && view, int dist)
Construct from an existing OwningLineView plus temporal distance.
std::span< MappedVertex const > vertices() const
Get vertex range for iteration.
int absTemporalDistance() const
Absolute temporal distance (for alpha computation).

Public Attributes

Name
EntityId entity_id
Entity identifier for the entire line.
int temporal_distance
Signed distance from window center (in time indices).

Detailed Description

class CorePlotting::TimedOwningLineView;

OwningLineView with temporal distance from the center of a window.

Used by OnionSkinView to compute per-line alpha based on how far the line’s time frame is from the current time position.

Public Functions Documentation

function TimedOwningLineView

inline TimedOwningLineView(
    EntityId id,
    std::vector< MappedVertex > verts,
    int dist
)

Construct with ownership of vertex data.

function TimedOwningLineView

inline TimedOwningLineView(
    OwningLineView && view,
    int dist
)

Construct from an existing OwningLineView plus temporal distance.

function vertices

inline std::span< MappedVertex const > vertices() const

Get vertex range for iteration.

function absTemporalDistance

inline int absTemporalDistance() const

Absolute temporal distance (for alpha computation).

Public Attributes Documentation

variable entity_id

EntityId entity_id;

Entity identifier for the entire line.

variable temporal_distance

int temporal_distance;

Signed distance from window center (in time indices).


Updated on 2026-11-13 at 20:25:42 +0000