Houdini Engine 7.0
|
Functions | |
HAPI_DECL | HAPI_CreateHeightFieldInput (const HAPI_Session *session, HAPI_NodeId parent_node_id, const char *name, int xsize, int ysize, float voxelsize, HAPI_HeightFieldSampling sampling, HAPI_NodeId *heightfield_node_id, HAPI_NodeId *height_node_id, HAPI_NodeId *mask_node_id, HAPI_NodeId *merge_node_id) |
Creates the required node hierarchy needed for heightfield inputs. More... | |
HAPI_DECL | HAPI_CreateHeightfieldInputVolumeNode (const HAPI_Session *session, HAPI_NodeId parent_node_id, HAPI_NodeId *new_node_id, const char *name, int xsize, int ysize, float voxelsize) |
Creates a volume input node that can be used with Heightfields. More... | |
Functions for creating and inspecting HAPI session state.
HAPI_DECL HAPI_CreateHeightFieldInput | ( | const HAPI_Session * | session, |
HAPI_NodeId | parent_node_id, | ||
const char * | name, | ||
int | xsize, | ||
int | ysize, | ||
float | voxelsize, | ||
HAPI_HeightFieldSampling | sampling, | ||
HAPI_NodeId * | heightfield_node_id, | ||
HAPI_NodeId * | height_node_id, | ||
HAPI_NodeId * | mask_node_id, | ||
HAPI_NodeId * | merge_node_id | ||
) |
Creates the required node hierarchy needed for heightfield inputs.
Note that when saving the Houdini scene using HAPI_SaveHIPFile() the nodes created with this method will be green and will start with the name "input".
[in] | session | The session of Houdini you are interacting with. See Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | parent_node_id | The parent node network's node id or -1 if the parent network is the manager (top-level) node. In that case, the manager must be identified by the table name in the operator_name. |
[in] | name | Give this input node a name for easy debugging. The node's parent OBJ node and the Null SOP node will both get this given name with "input_" prepended. You can also pass NULL in which case the name will be "input#" where # is some number. |
[in] | xsize | size of the heightfield in X |
[in] | ysize | size of the heightfield in y |
[in] | voxelsize | Size of the voxel |
[in] | sampling | Type of sampling which should be either center or corner. |
[out] | heightfield_node_id | Newly created node id for the heightfield node. Use HAPI_GetNodeInfo() to get more information about the node. |
[out] | height_node_id | Newly created node id for the height volume. Use HAPI_GetNodeInfo() to get more information about the node. |
[out] | mask_node_id | Newly created node id for the mask volume. Use HAPI_GetNodeInfo() to get more information about the node. |
[out] | merge_node_id | Newly created merge node id. The merge node can be used to connect additional input masks. Use HAPI_GetNodeInfo() to get more information about the node. |
HAPI_DECL HAPI_CreateHeightfieldInputVolumeNode | ( | const HAPI_Session * | session, |
HAPI_NodeId | parent_node_id, | ||
HAPI_NodeId * | new_node_id, | ||
const char * | name, | ||
int | xsize, | ||
int | ysize, | ||
float | voxelsize | ||
) |
Creates a volume input node that can be used with Heightfields.
Note that when saving the Houdini scene using HAPI_SaveHIPFile() the nodes created with this method will be green and will start with the name "input".
[in] | session | The session of Houdini you are interacting with. See Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | parent_node_id | The parent node network's node id or -1 if the parent network is the manager (top-level) node. In that case, the manager must be identified by the table name in the operator_name. |
[out] | new_node_id | Newly created node id for the volume. Use HAPI_GetNodeInfo() to get more information about the node. |
[in] | name | The name of the volume to create. You can also pass NULL in which case the name will be "input#" where # is some number. |
[in] | xsize | size of the heightfield in X |
[in] | ysize | size of the heightfield in y |
[in] | voxelsize | Size of the voxel |