Functions | |
Float | CalculateTranslationScale (const UnitScaleData *src, const UnitScaleData *dst) |
Float | CalculateTranslationScale (BaseDocument *sdoc, BaseDocument *ddoc) |
maxon::Result< BaseList2D * > | NbmFindOrCreateCorrespondingBaseList (maxon::NimbusInterface *nbm, const maxon::CString &nodePath) |
maxon::Result< void > | NbmPortToDescID (maxon::NimbusInterface *nbm, const maxon::GraphNode &node, const maxon::GraphNode &port, DescID &result) |
Float 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 CalculateTranslationScale | ( | BaseDocument * | sdoc, |
BaseDocument * | ddoc | ||
) |
Calculates the scale between sdoc and ddoc documents.
[in] | sdoc | The source document. |
[in] | ddoc | The destination document. |
maxon::Result<BaseList2D*> 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> NbmPortToDescID | ( | maxon::NimbusInterface * | nbm, |
const maxon::GraphNode & | node, | ||
const maxon::GraphNode & | 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. |