Functions | |
| Float | CalculateTranslationScale (const UnitScaleData *src, const UnitScaleData *dst) |
| Float | CalculateTranslationScale (const BaseDocument *sdoc, const BaseDocument *ddoc) |
| maxon::Result< BaseList2D * > | NbmFindOrCreateCorrespondingBaseList (maxon::NimbusInterface *nbm, const maxon::CString &nodePath) |
| maxon::Result< void > | NbmPortToDescID (maxon::NimbusInterface *nbm, const maxon::NodePath &node, const maxon::NodePath &port, DescID &result) |
| Float cinema::CalculateTranslationScale | ( | const UnitScaleData * | src, |
| const UnitScaleData * | dst | ||
| ) |
Calculates the scale between src and dst unit scale data.
| [in] | src | The source unit scale data. |
| [in] | dst | The destination unit scale data. |
| Float cinema::CalculateTranslationScale | ( | const BaseDocument * | sdoc, |
| const BaseDocument * | ddoc | ||
| ) |
Calculates the scale between sdoc and ddoc documents.
| [in] | sdoc | The source document. |
| [in] | ddoc | The destination document. |
| maxon::Result<BaseList2D*> cinema::NbmFindOrCreateCorrespondingBaseList | ( | maxon::NimbusInterface * | nbm, |
| const maxon::CString & | nodePath | ||
| ) |
Returns the corresponding BaseList element for a GraphNode. This function creates a new one if not already present.
| [in] | nbm | The nimbus class reference. |
| [in] | nodePath | Absolute Path to the Node. |
| maxon::Result<void> cinema::NbmPortToDescID | ( | maxon::NimbusInterface * | nbm, |
| const maxon::NodePath & | node, | ||
| const maxon::NodePath & | port, | ||
| DescID & | result | ||
| ) |
Calculates the DescID for a given port.
| [in] | nbm | The nimbus class reference. |
| [in] | node | The node that owns the port. |
| [in] | port | The port. |
| [out] | result | The description ID of the port. |