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

◆ extract_vertices()

std::vector< LineVertex > MayaFlux::Nodes::Network::PathOperator::extract_vertices ( ) const

Extract current vertex data as LineVertex array.

Returns
Vector of LineVertex with current positions, colors, thicknesses

Definition at line 103 of file PathOperator.cpp.

104{
105 std::vector<LineVertex> positions;
106
107 for (const auto& path : m_paths) {
108 auto points = path->get_all_vertices();
109 for (const auto& pt : points) {
110 positions.push_back(pt);
111 }
112 }
113
114 return positions;
115}
std::vector< std::shared_ptr< GpuSync::PathGeneratorNode > > m_paths

References m_paths.