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

◆ set_global_line_thickness()

void MayaFlux::Nodes::Network::TopologyOperator::set_global_line_thickness ( float  thickness)

Set the number of neighbors (k) for K-Nearest topology mode.

Parameters
kNumber of neighbors.

Definition at line 290 of file TopologyOperator.cpp.

291{
292 m_default_thickness = thickness;
293 for (auto& topology : m_topologies) {
294 topology->set_line_thickness(thickness);
295 }
296}
std::vector< std::shared_ptr< GpuSync::TopologyGeneratorNode > > m_topologies

References m_default_thickness, and m_topologies.