MayaFlux 0.2.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 132 of file PointCloudNetwork.cpp.

133{
134 if (!is_enabled() || !m_operator) {
135 return;
136 }
137
139
140 for (unsigned int frame = 0; frame < num_samples; ++frame) {
141 m_operator->process(0.0F);
142 }
143
145 "PointCloudNetwork processed {} frames with {} operator",
146 num_samples, m_operator->get_type_name());
147}
#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: