MayaFlux 1.0.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 163 of file TopologyGeneratorNode.cpp.

164{
165 if (m_vertices.empty()) {
166 return;
167 }
168
169 const size_t num_points = m_points.size();
170
172 && path_interpolation_viable(m_path_interpolation_mode, num_points)) {
173 write_path_attributes(m_points, num_points);
174 return;
175 }
176
178}
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(), 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: