#include <nimbusbase.h>
NimbusBaseRef manages a NodesGraphModelRef that is owned by a classic BaseList2D object. A BaseList2D object can own multiple graphs, one for each node space.
Public Member Functions | |
MAXON_METHOD const nodes::NodesGraphModelRef & | GetGraph () |
MAXON_METHOD ::BaseList2D * | GetBaseListRoot () |
MAXON_METHOD const Id & | GetSpaceId () |
MAXON_METHOD Result< void > | SetPath (NIMBUS_PATH type, const NodePath &path) |
MAXON_METHOD NodePath | GetPath (NIMBUS_PATH type) |
MAXON_METHOD Result< void > | OpenInEditor (const NodePath &path=NodePath::NullValue()) |
MAXON_METHOD Result< ::BaseList2D * > | UuidToBaseList2D (const Uuid &uuid) const |
MAXON_METHOD Result< Uuid > | BaseList2DToUuid (::BaseList2D *object) const |
MAXON_METHOD Result< void > | GetDescID (const NodePath &port, ::DescID &result) |
Private Member Functions | |
MAXON_INTERFACE (NimbusBaseInterface, MAXON_REFERENCE_NORMAL, "net.maxon.interface.nimbusbase") | |
|
private |
MAXON_METHOD const nodes::NodesGraphModelRef& GetGraph | ( | ) |
Returns the node graph connected to this object.
MAXON_METHOD ::BaseList2D* GetBaseListRoot | ( | ) |
Returns the C4D object that holds the NimbusBaseRef.
MAXON_METHOD const Id& GetSpaceId | ( | ) |
Returns the identifier of the node space of the node graph.
MAXON_METHOD Result<void> SetPath | ( | NIMBUS_PATH | type, |
const NodePath & | path | ||
) |
Sets a path.
[in] | type | Path type. |
[in] | path | Absolute Path to a Node or an empty path. |
MAXON_METHOD NodePath GetPath | ( | NIMBUS_PATH | type | ) |
Returns a path. Note that the returned path can be invalid and point to a non-existing object.
[in] | type | Path type. |
MAXON_METHOD Result<void> OpenInEditor | ( | const NodePath & | path = NodePath::NullValue() | ) |
Opens the node editor for the node graph held by this NimbusBaseRef.
[in] | path | An optional path pointing to a group of the node graph. |
MAXON_METHOD Result< ::BaseList2D*> UuidToBaseList2D | ( | const Uuid & | uuid | ) | const |
Returns the BaseList2D element with the given uuid.
[in] | uuid | Uuid to find. |
MAXON_METHOD Result<Uuid> BaseList2DToUuid | ( | ::BaseList2D * | object | ) | const |
Returns the uuid of the given BaseList2D object.
[in] | object | BaseList2D object to find. |
MAXON_METHOD Result<void> GetDescID | ( | const NodePath & | port, |
::DescID & | result | ||
) |