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

◆ process_batch()

void MayaFlux::Nodes::Network::PointCloudNetwork::process_batch ( unsigned int  num_samples)
overridevirtual

Process the network for the given number of samples.

Parameters
num_samplesNumber of samples/frames to process

Subclasses implement their specific processing logic:

  1. Update internal state (physics, relationships, etc.)
  2. Process individual nodes
  3. Apply inter-node interactions
  4. Aggregate outputs if needed

Called by NodeGraphManager during token processing.

Implements MayaFlux::Nodes::Network::NodeNetwork.

Definition at line 138 of file PointCloudNetwork.cpp.

139{
140 if (!is_enabled() || !m_operator) {
141 return;
142 }
143
145
146 for (unsigned int frame = 0; frame < num_samples; ++frame) {
147 m_operator->process(0.0F);
148 }
149
151 "PointCloudNetwork processed {} frames with {} operator",
152 num_samples, m_operator->get_type_name());
153}
#define MF_RT_TRACE(comp, ctx,...)
bool is_enabled() const
Check if network is enabled.
void update_mapped_parameters()
Update mapped parameters before path/topology processing.
std::unique_ptr< NetworkOperator > m_operator
@ NodeProcessing
Node graph processing (Nodes::NodeGraphManager)
@ Nodes
DSP Generator and Filter Nodes, graph pipeline, node management.

References MayaFlux::Nodes::Network::NodeNetwork::is_enabled(), m_operator, MF_RT_TRACE, MayaFlux::Journal::NodeProcessing, MayaFlux::Journal::Nodes, and update_mapped_parameters().

+ Here is the call graph for this function: