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

◆ get_node_output()

std::optional< double > MayaFlux::Nodes::Network::PointCloudNetwork::get_node_output ( size_t  index) const
overridevirtual

Get output of specific internal node (for ONE_TO_ONE mapping)

Parameters
indexIndex of node in network
Returns
Output value, or nullopt if not applicable

Reimplemented from MayaFlux::Nodes::Network::NodeNetwork.

Definition at line 167 of file PointCloudNetwork.cpp.

168{
169 if (index >= get_node_count()) {
170 return std::nullopt;
171 }
172
173 return static_cast<double>(index);
174}
size_t get_node_count() const override
Get the number of nodes in the network.

References get_node_count().

+ Here is the call graph for this function: