C++ API Reference
|
Evaluation graph object. More...
#include <MEvaluationGraph.h>
Public Member Functions | |
virtual | ~MEvaluationGraph () |
Destructor. | |
MDGContext | context (MStatus *ReturnStatus) const |
Provides evaluation context. More... | |
bool | partialEvaluation () const |
Test if graph is partially invalidated. More... | |
MEvaluationNode | rootNode () const |
Get evaluation graph root node. More... | |
Static Public Member Functions | |
static MEvaluationGraph | ownerGraph (const MEvaluationNode &evalNode) |
Access evaluation graph owning given evaluation node. More... | |
static const char * | className () |
Returns the name of this class. More... | |
Evaluation graph object.
The evaluation graph holds information about what in the scene is considered to be live (or time dependent). It is constructed out of dirty messages, and has full knowledge of dependencies between live nodes. This is why it can be used to replace regular Maya evaluation with dirty propagation.
The evaluation graph is linked to DG context and graph construction. This context is fully respected during evaluation.
Evaluation with the evaluation graph can be done in different modes and depending on settings, a different executor is used to traverse the graph and do complete or partial graph computation. Unlike the DG, the evaluation with evaluation graph is using forward evaluation model. Graph topology is defined by directional connections between evaluation nodes.
OPENMAYA_MAJOR_NAMESPACE_OPEN MDGContext context | ( | MStatus * | ReturnStatus | ) | const |
Provides evaluation context.
[in] | ReturnStatus | Status object |
bool partialEvaluation | ( | ) | const |
Test if graph is partially invalidated.
MEvaluationNode rootNode | ( | ) | const |
Get evaluation graph root node.
Every evaluation node in evaluation graph is reachable from root node.
|
static |
Access evaluation graph owning given evaluation node.
[in] | evalNode | Evaluation node to return owning graph |
|
static |
Returns the name of this class.