86 void add_axis(
const LineVertex& origin,
const glm::vec3& direction,
float length);
91 void clear_segments();
109 const std::vector<LineVertex>& path_vertices,
125 const std::vector<LineVertex>& path_vertices,
141 const std::vector<LineVertex>& path_vertices,
162 void compute_frame()
override;
169 return Portal::Graphics::PrimitiveTopology::LINE_LIST;
175 void append_pairs(
const std::vector<LineVertex>& pairs);
size_t get_segment_count() const
Number of segments currently accumulated.
Portal::Graphics::PrimitiveTopology get_primitive_topology() const override
Returns LINE_LIST; fixed for this node type.
std::vector< LineVertex > m_segments
Accumulates discrete unconnected line segments for LINE_LIST rendering.
Generates dense vertex paths from sparse control points or freehand drawing.
PrimitiveTopology
Vertex assembly primitive topology.
Vertex type for line primitives (LINE_LIST / LINE_STRIP topology)