MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ refresh_attributes()

void MayaFlux::Nodes::GpuSync::TopologyGeneratorNode::refresh_attributes ( )
private

Rewrite colour and thickness over existing positions.

Definition at line 138 of file TopologyGeneratorNode.cpp.

139{
140 if (m_vertices.empty()) {
141 return;
142 }
143
144 const size_t num_points = m_points.size();
145
147 && num_points >= 2
149 write_path_attributes(m_points, num_points);
150 return;
151 }
152
154}
void build_direct_connections(std::span< LineVertex > points, size_t num_points)
std::vector< LineVertex > m_points
Points, newest first: index 0 is the most recently added.
void write_path_attributes(std::span< const LineVertex > points, size_t num_points)
Write colour and thickness for the interpolated path.

References build_direct_connections(), MayaFlux::Kinesis::LINEAR, m_mode, m_path_interpolation_mode, m_points, m_vertices, MayaFlux::Kinesis::SEQUENTIAL, and write_path_attributes().

Referenced by compute_frame().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: