HEGoBaseNode

Inherits: HEGoTrackableNode < RefCounted

Inherited By: HEGoInputReceiverNode, HEGoTransformableNode

Virtual base class for all HEGo node wrappers.

Description

Stores the underlying Houdini node id and provides shared lifecycle behavior for derived HEGo node classes.

A node id of -1 means no valid Houdini node is currently associated with this instance.

Most derived methods assume instantiate() has already produced a valid id.

Methods

int

get_id() const

void

instantiate()

void

reset_node_id()


Method Descriptions

int get_id() const 🔗

Returns the Houdini node id, or -1 when not instantiated.


void instantiate() 🔗

Creates the underlying Houdini node.

This base implementation does nothing. Concrete subclasses override it and usually register themselves with the session manager after successful creation.


void reset_node_id() 🔗

Resets the stored node id to -1.


Class Registration

  • Kind: Virtual