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

◆ PointCloudNetwork() [2/2]

MayaFlux::Nodes::Network::PointCloudNetwork::PointCloudNetwork ( size_t  num_points,
const glm::vec3 &  bounds_min = glm::vec3(-1.0F),
const glm::vec3 &  bounds_max = glm::vec3(1.0F),
Kinesis::SpatialDistribution  init_mode = Kinesis::SpatialDistribution::RANDOM_CUBE 
)
explicit

Create network with initial point count and bounds.

Parameters
num_pointsNumber of points to generate
bounds_minMinimum coordinate bounds
bounds_maxMaximum coordinate bounds
init_modeHow to distribute initial positions

Definition at line 19 of file PointCloudNetwork.cpp.

24 : m_num_points(num_points)
25 , m_bounds(bounds_min, bounds_max)
26 , m_init_mode(init_mode)
27{
30
32 "Created PointCloudNetwork with {} points, bounds [{:.2f}, {:.2f}, {:.2f}] to [{:.2f}, {:.2f}, {:.2f}]",
33 num_points,
34 bounds_min.x, bounds_min.y, bounds_min.z,
35 bounds_max.x, bounds_max.y, bounds_max.z);
36}
#define MF_INFO(comp, ctx,...)
void set_output_mode(OutputMode mode)
Set the network's output routing mode.
void set_topology(Topology topology) override
Set the network's topology.
@ NodeProcessing
Node graph processing (Nodes::NodeGraphManager)
@ Nodes
DSP Generator and Filter Nodes, graph pipeline, node management.
@ INDEPENDENT
No connections, nodes process independently.
@ GRAPHICS_BIND
State available for visualization (read-only)

References MayaFlux::Nodes::Network::GRAPHICS_BIND, MayaFlux::Nodes::Network::INDEPENDENT, MF_INFO, MayaFlux::Journal::NodeProcessing, MayaFlux::Journal::Nodes, MayaFlux::Nodes::Network::NodeNetwork::set_output_mode(), and set_topology().

+ Here is the call graph for this function: