Blender  V2.93
Public Member Functions | List of all members
blender::nodes::MFNetworkTreeMap Class Reference

#include <NOD_node_tree_multi_function.hh>

Public Member Functions

 MFNetworkTreeMap (const DerivedNodeTree &tree, fn::MFNetwork &network)
 
const DerivedNodeTreetree () const
 
const fn::MFNetworknetwork () const
 
fn::MFNetworknetwork ()
 
void add (const DSocket &dsocket, fn::MFSocket &socket)
 
void add (const DInputSocket &dsocket, fn::MFInputSocket &socket)
 
void add (const DOutputSocket &dsocket, fn::MFOutputSocket &socket)
 
void add (const DTreeContext &context, Span< const InputSocketRef * > dsockets, Span< fn::MFInputSocket * > sockets)
 
void add (const DTreeContext &context, Span< const OutputSocketRef * > dsockets, Span< fn::MFOutputSocket * > sockets)
 
void add_try_match (const DNode &dnode, fn::MFNode &node)
 
void add_try_match (const DTreeContext &context, Span< const InputSocketRef * > dsockets, Span< fn::MFInputSocket * > sockets)
 
void add_try_match (const DTreeContext &context, Span< const OutputSocketRef * > dsockets, Span< fn::MFOutputSocket * > sockets)
 
void add_try_match (const DTreeContext &context, Span< const SocketRef * > dsockets, Span< fn::MFSocket * > sockets)
 
fn::MFOutputSocketlookup (const DOutputSocket &dsocket)
 
Span< fn::MFInputSocket * > lookup (const DInputSocket &dsocket)
 
fn::MFInputSocketlookup_dummy (const DInputSocket &dsocket)
 
fn::MFOutputSocketlookup_dummy (const DOutputSocket &dsocket)
 
bool is_mapped (const DSocket &dsocket) const
 

Detailed Description

A MFNetworkTreeMap maps various components of a node tree to components of a fn::MFNetwork. This is necessary for further processing of a multi-function network that has been generated from a node tree.

Definition at line 41 of file NOD_node_tree_multi_function.hh.

Constructor & Destructor Documentation

◆ MFNetworkTreeMap()

blender::nodes::MFNetworkTreeMap::MFNetworkTreeMap ( const DerivedNodeTree tree,
fn::MFNetwork network 
)
inline

Definition at line 54 of file NOD_node_tree_multi_function.hh.

Member Function Documentation

◆ add() [1/5]

void blender::nodes::MFNetworkTreeMap::add ( const DInputSocket dsocket,
fn::MFInputSocket socket 
)
inline

◆ add() [2/5]

void blender::nodes::MFNetworkTreeMap::add ( const DOutputSocket dsocket,
fn::MFOutputSocket socket 
)
inline

◆ add() [3/5]

void blender::nodes::MFNetworkTreeMap::add ( const DSocket dsocket,
fn::MFSocket socket 
)
inline

◆ add() [4/5]

void blender::nodes::MFNetworkTreeMap::add ( const DTreeContext context,
Span< const InputSocketRef * >  dsockets,
Span< fn::MFInputSocket * >  sockets 
)
inline

◆ add() [5/5]

void blender::nodes::MFNetworkTreeMap::add ( const DTreeContext context,
Span< const OutputSocketRef * >  dsockets,
Span< fn::MFOutputSocket * >  sockets 
)
inline

◆ add_try_match() [1/4]

void blender::nodes::MFNetworkTreeMap::add_try_match ( const DNode dnode,
fn::MFNode node 
)
inline

◆ add_try_match() [2/4]

void blender::nodes::MFNetworkTreeMap::add_try_match ( const DTreeContext context,
Span< const InputSocketRef * >  dsockets,
Span< fn::MFInputSocket * >  sockets 
)
inline

Definition at line 123 of file NOD_node_tree_multi_function.hh.

References add_try_match(), and blender::Span< T >::cast().

◆ add_try_match() [3/4]

void blender::nodes::MFNetworkTreeMap::add_try_match ( const DTreeContext context,
Span< const OutputSocketRef * >  dsockets,
Span< fn::MFOutputSocket * >  sockets 
)
inline

Definition at line 131 of file NOD_node_tree_multi_function.hh.

References add_try_match(), and blender::Span< T >::cast().

◆ add_try_match() [4/4]

void blender::nodes::MFNetworkTreeMap::add_try_match ( const DTreeContext context,
Span< const SocketRef * >  dsockets,
Span< fn::MFSocket * >  sockets 
)
inline

◆ is_mapped()

bool blender::nodes::MFNetworkTreeMap::is_mapped ( const DSocket dsocket) const
inline

◆ lookup() [1/2]

Span<fn::MFInputSocket *> blender::nodes::MFNetworkTreeMap::lookup ( const DInputSocket dsocket)
inline

◆ lookup() [2/2]

fn::MFOutputSocket& blender::nodes::MFNetworkTreeMap::lookup ( const DOutputSocket dsocket)
inline

◆ lookup_dummy() [1/2]

fn::MFInputSocket& blender::nodes::MFNetworkTreeMap::lookup_dummy ( const DInputSocket dsocket)
inline

◆ lookup_dummy() [2/2]

fn::MFOutputSocket& blender::nodes::MFNetworkTreeMap::lookup_dummy ( const DOutputSocket dsocket)
inline

◆ network() [1/2]

fn::MFNetwork& blender::nodes::MFNetworkTreeMap::network ( )
inline

Definition at line 69 of file NOD_node_tree_multi_function.hh.

◆ network() [2/2]

const fn::MFNetwork& blender::nodes::MFNetworkTreeMap::network ( ) const
inline

Definition at line 64 of file NOD_node_tree_multi_function.hh.

◆ tree()

const DerivedNodeTree& blender::nodes::MFNetworkTreeMap::tree ( ) const
inline

Definition at line 59 of file NOD_node_tree_multi_function.hh.


The documentation for this class was generated from the following file: