HDK
|
Functions | |
HAPI_DECL | HAPI_GetAttributeInfo (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeOwner owner, HAPI_AttributeInfo *attr_info) |
Get the attribute info struct for the attribute specified by name. More... | |
HAPI_DECL | HAPI_GetAttributeNames (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, HAPI_AttributeOwner owner, HAPI_StringHandle *attribute_names_array, int count) |
Get list of attribute names by attribute owner. Note that the name string handles are only valid until the next time this function is called. More... | |
HAPI_DECL | HAPI_GetAttributeIntData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, int stride, int *data_array, int start, int length) |
Get attribute integer data. More... | |
HAPI_DECL | HAPI_GetAttributeIntArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, int *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length) |
Get array attribute integer data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More... | |
HAPI_DECL | HAPI_GetAttributeUInt8Data (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, int stride, HAPI_UInt8 *data_array, int start, int length) |
Get attribute unsigned 8-bit integer data. More... | |
HAPI_DECL | HAPI_GetAttributeUInt8ArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, HAPI_UInt8 *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length) |
Get array attribute unsigned 8-bit integer data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More... | |
HAPI_DECL | HAPI_GetAttributeInt8Data (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, int stride, HAPI_Int8 *data_array, int start, int length) |
Get attribute 8-bit integer data. More... | |
HAPI_DECL | HAPI_GetAttributeInt8ArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, HAPI_Int8 *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length) |
Get array attribute 8-bit integer data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More... | |
HAPI_DECL | HAPI_GetAttributeInt16Data (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, int stride, HAPI_Int16 *data_array, int start, int length) |
Get attribute 16-bit integer data. More... | |
HAPI_DECL | HAPI_GetAttributeInt16ArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, HAPI_Int16 *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length) |
Get array attribute 16-bit integer data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More... | |
HAPI_DECL | HAPI_GetAttributeInt64Data (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, int stride, HAPI_Int64 *data_array, int start, int length) |
Get attribute 64-bit integer data. More... | |
HAPI_DECL | HAPI_GetAttributeInt64ArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, HAPI_Int64 *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length) |
Get array attribute 64-bit integer data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More... | |
HAPI_DECL | HAPI_GetAttributeFloatData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, int stride, float *data_array, int start, int length) |
Get attribute float data. More... | |
HAPI_DECL | HAPI_GetAttributeFloatArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, float *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length) |
Get array attribute float data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More... | |
HAPI_DECL | HAPI_GetAttributeFloat64Data (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, int stride, double *data_array, int start, int length) |
Get 64-bit attribute float data. More... | |
HAPI_DECL | HAPI_GetAttributeFloat64ArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, double *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length) |
Get array attribute 64-bit float data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More... | |
HAPI_DECL | HAPI_GetAttributeStringData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, HAPI_StringHandle *data_array, int start, int length) |
Get attribute string data. Note that the string handles returned are only valid until the next time this function is called. More... | |
HAPI_DECL | HAPI_GetAttributeStringArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, HAPI_StringHandle *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length) |
Get array attribute string data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. Note that the string handles returned are only valid until the next time this function is called. More... | |
HAPI_DECL | HAPI_GetAttributeDictionaryData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, HAPI_StringHandle *data_array, int start, int length) |
Get attribute dictionary data. More... | |
HAPI_DECL | HAPI_GetAttributeDictionaryArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, HAPI_StringHandle *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length) |
Get array attribute dictionary data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More... | |
HAPI_DECL | HAPI_GetAttributeIntDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, int stride, int *data_array, int start, int length, int *job_id) |
Get attribute integer data asynchronously. More... | |
HAPI_DECL | HAPI_GetAttributeUInt8DataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, int stride, HAPI_UInt8 *data_array, int start, int length, int *job_id) |
Get attribute unsigned 8-bit integer data asynchronously. More... | |
HAPI_DECL | HAPI_GetAttributeInt8DataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, int stride, HAPI_Int8 *data_array, int start, int length, int *job_id) |
Get attribute 8-bit integer data asynchronously. More... | |
HAPI_DECL | HAPI_GetAttributeInt16DataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, int stride, HAPI_Int16 *data_array, int start, int length, int *job_id) |
Get attribute 16-bit integer data asynchronously. More... | |
HAPI_DECL | HAPI_GetAttributeInt64DataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, int stride, HAPI_Int64 *data_array, int start, int length, int *job_id) |
Get attribute 64-bit integer data asynchronously. More... | |
HAPI_DECL | HAPI_GetAttributeFloatDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, int stride, float *data_array, int start, int length, int *job_id) |
Get attribute float data asynchronously. More... | |
HAPI_DECL | HAPI_GetAttributeFloat64DataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, int stride, double *data_array, int start, int length, int *job_id) |
Get attribute 64-bit float data asynchronously. More... | |
HAPI_DECL | HAPI_GetAttributeStringDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, HAPI_StringHandle *data_array, int start, int length, int *job_id) |
Get attribute string data asynchronously. More... | |
HAPI_DECL | HAPI_GetAttributeDictionaryDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, HAPI_AttributeInfo *attr_info, HAPI_StringHandle *data_array, int start, int length, int *job_id) |
Get attribute dictionary data asynchronously. More... | |
HAPI_DECL | HAPI_GetAttributeIntArrayDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *attr_name, HAPI_AttributeInfo *attr_info, int *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length, int *job_id) |
Get array attribute integer data asynchronously. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More... | |
HAPI_DECL | HAPI_GetAttributeUInt8ArrayDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *attr_name, HAPI_AttributeInfo *attr_info, HAPI_UInt8 *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length, int *job_id) |
Get array attribute unsigned 8-bit integer data asynchronously. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More... | |
HAPI_DECL | HAPI_GetAttributeInt8ArrayDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *attr_name, HAPI_AttributeInfo *attr_info, HAPI_Int8 *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length, int *job_id) |
Get array attribute 8-bit integer data asynchronously. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More... | |
HAPI_DECL | HAPI_GetAttributeInt16ArrayDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *attr_name, HAPI_AttributeInfo *attr_info, HAPI_Int16 *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length, int *job_id) |
Get array attribute 16-bit integer data asynchronously. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More... | |
HAPI_DECL | HAPI_GetAttributeInt64ArrayDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *attr_name, HAPI_AttributeInfo *attr_info, HAPI_Int64 *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length, int *job_id) |
Get array attribute 64-bit integer data asynchronously. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More... | |
HAPI_DECL | HAPI_GetAttributeFloatArrayDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *attr_name, HAPI_AttributeInfo *attr_info, float *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length, int *job_id) |
Get array attribute float data asynchronously. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More... | |
HAPI_DECL | HAPI_GetAttributeFloat64ArrayDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *attr_name, HAPI_AttributeInfo *attr_info, double *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length, int *job_id) |
Get array attribute 64-bit float data asynchronously. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More... | |
HAPI_DECL | HAPI_GetAttributeStringArrayDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *attr_name, HAPI_AttributeInfo *attr_info, HAPI_StringHandle *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length, int *job_id) |
Get array attribute string data asynchronously. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More... | |
HAPI_DECL | HAPI_GetAttributeDictionaryArrayDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *attr_name, HAPI_AttributeInfo *attr_info, HAPI_StringHandle *data_fixed_array, int data_fixed_length, int *sizes_fixed_array, int start, int sizes_fixed_length, int *job_id) |
Get array attribute dictionary data asynchronously. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. More... | |
HAPI_DECL | HAPI_AddAttribute (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info) |
Add an attribute. More... | |
HAPI_DECL | HAPI_DeleteAttribute (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info) |
Delete an attribute from an input geo. More... | |
HAPI_DECL | HAPI_SetAttributeIntData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const int *data_array, int start, int length) |
Set attribute integer data. More... | |
HAPI_DECL | HAPI_SetAttributeUInt8Data (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_UInt8 *data_array, int start, int length) |
Set unsigned 8-bit attribute integer data. More... | |
HAPI_DECL | HAPI_SetAttributeInt8Data (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int8 *data_array, int start, int length) |
Set 8-bit attribute integer data. More... | |
HAPI_DECL | HAPI_SetAttributeInt16Data (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int16 *data_array, int start, int length) |
Set 16-bit attribute integer data. More... | |
HAPI_DECL | HAPI_SetAttributeInt64Data (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int64 *data_array, int start, int length) |
Set 64-bit attribute integer data. More... | |
HAPI_DECL | HAPI_SetAttributeFloatData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const float *data_array, int start, int length) |
Set attribute float data. More... | |
HAPI_DECL | HAPI_SetAttributeFloat64Data (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const double *data_array, int start, int length) |
Set 64-bit attribute float data. More... | |
HAPI_DECL | HAPI_SetAttributeStringData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const char **data_array, int start, int length) |
Set attribute string data. More... | |
HAPI_DECL | HAPI_SetAttributeIndexedStringData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const char **string_array, int string_count, const int *indices_array, int indices_start, int indices_length) |
Set attribute string data by index. More... | |
HAPI_DECL | HAPI_SetAttributeStringUniqueData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const char *data_array, int data_length, int start_index, int num_indices) |
Set multiple attribute string data to the same unique value. More... | |
HAPI_DECL | HAPI_SetAttributeIntUniqueData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const int *data_array, int data_length, int start_index, int num_indices) |
Set multiple attribute int data to the same unique value. More... | |
HAPI_DECL | HAPI_SetAttributeUInt8UniqueData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_UInt8 *data_array, int data_length, int start_index, int num_indices) |
Set multiple attribute unsigned 8-bit int data to the same unique value. More... | |
HAPI_DECL | HAPI_SetAttributeInt8UniqueData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int8 *data_array, int data_length, int start_index, int num_indices) |
Set multiple attribute 8-bit int data to the same unique value. More... | |
HAPI_DECL | HAPI_SetAttributeInt16UniqueData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int16 *data_array, int data_length, int start_index, int num_indices) |
Set multiple attribute 16-bit int data to the same unique value. More... | |
HAPI_DECL | HAPI_SetAttributeInt64UniqueData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int64 *data_array, int data_length, int start_index, int num_indices) |
Set multiple attribute 64-bit int data to the same unique value. More... | |
HAPI_DECL | HAPI_SetAttributeFloatUniqueData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const float *data_array, int data_length, int start_index, int num_indices) |
Set multiple attribute float data to the same unique value. More... | |
HAPI_DECL | HAPI_SetAttributeFloat64UniqueData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const double *data_array, int data_length, int start_index, int num_indices) |
Set multiple attribute 64-bit float data to the same unique value. More... | |
HAPI_DECL | HAPI_SetAttributeDictionaryData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const char **data_array, int start, int length) |
Set attribute dictionary data. The dictionary data should be provided as JSON-encoded strings. More... | |
HAPI_DECL | HAPI_SetAttributeIntArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const int *data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length) |
Set integer array attribute data. More... | |
HAPI_DECL | HAPI_SetAttributeUInt8ArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_UInt8 *data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length) |
Set unsigned 8-bit integer array attribute data. More... | |
HAPI_DECL | HAPI_SetAttributeInt8ArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int8 *data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length) |
Set 8-bit integer array attribute data. More... | |
HAPI_DECL | HAPI_SetAttributeInt16ArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int16 *data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length) |
Set 16-bit integer array attribute data. More... | |
HAPI_DECL | HAPI_SetAttributeInt64ArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int64 *data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length) |
Set 64-bit integer array attribute data. More... | |
HAPI_DECL | HAPI_SetAttributeFloatArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const float *data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length) |
Set float array attribute data. More... | |
HAPI_DECL | HAPI_SetAttributeFloat64ArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const double *data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length) |
Set 64-bit float array attribute data. More... | |
HAPI_DECL | HAPI_SetAttributeStringArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const char **data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length) |
Set string array attribute data. More... | |
HAPI_DECL | HAPI_SetAttributeDictionaryArrayData (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const char **data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length) |
Set attribute dictionary array data. The dictionary data should be provided as JSON-encoded strings. More... | |
HAPI_DECL | HAPI_SetAttributeIntDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const int *data_array, int start, int length, int *job_id) |
Set attribute integer data asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeUInt8DataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_UInt8 *data_array, int start, int length, int *job_id) |
Set unsigned 8-bit attribute integer data asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeInt8DataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int8 *data_array, int start, int length, int *job_id) |
Set 8-bit attribute integer data asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeInt16DataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int16 *data_array, int start, int length, int *job_id) |
Set 16-bit attribute integer data asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeInt64DataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int64 *data_array, int start, int length, int *job_id) |
Set 64-bit attribute integer data asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeFloatDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const float *data_array, int start, int length, int *job_id) |
Set attribute float data asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeFloat64DataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const double *data_array, int start, int length, int *job_id) |
Set 64-bit attribute float data asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeStringDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const char **data_array, int start, int length, int *job_id) |
Set attribute string data asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeIndexedStringDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const char **string_array, int string_count, const int *indices_array, int indices_start, int indices_length, int *job_id) |
Set attribute string data by index asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeStringUniqueDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const char *data_array, int data_length, int start_index, int num_indices, int *job_id) |
Set multiple attribute string data to the same unique value asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeIntUniqueDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const int *data_array, int data_length, int start_index, int num_indices, int *job_id) |
Set multiple attribute int data to the same unique value asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeUInt8UniqueDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_UInt8 *data_array, int data_length, int start_index, int num_indices, int *job_id) |
Set multiple attribute unsigned 8-bit int data to the same unique value asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeInt8UniqueDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int8 *data_array, int data_length, int start_index, int num_indices, int *job_id) |
Set multiple attribute 8-bit int data to the same unique value asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeInt16UniqueDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int16 *data_array, int data_length, int start_index, int num_indices, int *job_id) |
Set multiple attribute 16-bit int data to the same unique value asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeInt64UniqueDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int64 *data_array, int data_length, int start_index, int num_indices, int *job_id) |
Set multiple attribute 64-bit int data to the same unique value asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeFloatUniqueDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const float *data_array, int data_length, int start_index, int num_indices, int *job_id) |
Set multiple attribute float data to the same unique value asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeFloat64UniqueDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const double *data_array, int data_length, int start_index, int num_indices, int *job_id) |
Set multiple attribute 64-bit float data to the same unique asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeDictionaryDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const char **data_array, int start, int length, int *job_id) |
Set attribute dictionary data asynchronously. The dictionary data should be provided as JSON-encoded strings. More... | |
HAPI_DECL | HAPI_SetAttributeIntArrayDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const int *data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length, int *job_id) |
Set integer array attribute data asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeUInt8ArrayDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_UInt8 *data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length, int *job_id) |
Set unsigned 8-bit integer array attribute data asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeInt8ArrayDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int8 *data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length, int *job_id) |
Set 8-bit integer array attribute data asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeInt16ArrayDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int16 *data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length, int *job_id) |
Set 16-bit integer array attribute data asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeInt64ArrayDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const HAPI_Int64 *data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length, int *job_id) |
Set 64-bit integer array attribute data asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeFloatArrayDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const float *data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length, int *job_id) |
Set float array attribute data asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeFloat64ArrayDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const double *data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length, int *job_id) |
Set 64-bit float array attribute data asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeStringArrayDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const char **data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length, int *job_id) |
Set string array attribute data asynchronously. More... | |
HAPI_DECL | HAPI_SetAttributeDictionaryArrayDataAsync (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_PartId part_id, const char *name, const HAPI_AttributeInfo *attr_info, const char **data_fixed_array, int data_fixed_length, const int *sizes_fixed_array, int start, int sizes_fixed_length, int *job_id) |
Set attribute dictionary array data asynchronously. The dictionary should be provided as JSON-encoded strings. More... | |
Functions for working with attributes.
HAPI_DECL HAPI_AddAttribute | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info | ||
) |
Add an attribute.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo stores attribute properties. |
HAPI_DECL HAPI_DeleteAttribute | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info | ||
) |
Delete an attribute from an input geo.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo stores attribute properties. |
HAPI_DECL HAPI_GetAttributeDictionaryArrayData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
HAPI_StringHandle * | data_fixed_array, | ||
int | data_fixed_length, | ||
int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length | ||
) |
Get array attribute dictionary data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.
Dictionary data is serialized as JSON-encoded strings. Note that the string handles returned are only valid until the next time this function is called.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for the. totalArrayElements. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[out] | data_fixed_array | An HAPI_StringHandle array at least the size of HAPI_AttributeInfo::totalArrayElements . |
[in] | data_fixed_length | Must be HAPI_AttributeInfo::totalArrayElements . |
[out] | sizes_fixed_array | An integer array at least the size of sizes_fixed_length to hold the size of each entry. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
HAPI_DECL HAPI_GetAttributeDictionaryArrayDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | attr_name, | ||
HAPI_AttributeInfo * | attr_info, | ||
HAPI_StringHandle * | data_fixed_array, | ||
int | data_fixed_length, | ||
int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length, | ||
int * | job_id | ||
) |
Get array attribute dictionary data asynchronously. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | attr_name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[out] | data_fixed_array | An integer array at least the size of HAPI_AttributeInfo::totalArrayElements . |
[in] | data_fixed_length | Must be HAPI_AttributeInfo::totalArrayElements . |
[out] | sizes_fixed_array | An integer array at least the size of sizes_fixed_length to hold the size of each entry. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_GetAttributeDictionaryData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
HAPI_StringHandle * | data_array, | ||
int | start, | ||
int | length | ||
) |
Get attribute dictionary data.
Dictionary data is serialized as JSON-encoded strings. Note that the string handles returned are only valid until the next time this function is called.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[out] | data_array | An HAPI_StringHandle array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
HAPI_DECL HAPI_GetAttributeDictionaryDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
HAPI_StringHandle * | data_array, | ||
int | start, | ||
int | length, | ||
int * | job_id | ||
) |
Get attribute dictionary data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[out] | data_array | An integer array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_GetAttributeFloat64ArrayData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
double * | data_fixed_array, | ||
int | data_fixed_length, | ||
int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length | ||
) |
Get array attribute 64-bit float data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for the. totalArrayElements. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[out] | data_fixed_array | An 64-bit float array at least the size of HAPI_AttributeInfo::totalArrayElements . |
[in] | data_fixed_length | Must be HAPI_AttributeInfo::totalArrayElements . |
[out] | sizes_fixed_array | An integer array at least the size of sizes_fixed_length to hold the size of each entry. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
HAPI_DECL HAPI_GetAttributeFloat64ArrayDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | attr_name, | ||
HAPI_AttributeInfo * | attr_info, | ||
double * | data_fixed_array, | ||
int | data_fixed_length, | ||
int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length, | ||
int * | job_id | ||
) |
Get array attribute 64-bit float data asynchronously. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | attr_name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[out] | data_fixed_array | An integer array at least the size of HAPI_AttributeInfo::totalArrayElements . |
[in] | data_fixed_length | Must be HAPI_AttributeInfo::totalArrayElements . |
[out] | sizes_fixed_array | An integer array at least the size of sizes_fixed_length to hold the size of each entry. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_GetAttributeFloat64Data | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
int | stride, | ||
double * | data_array, | ||
int | start, | ||
int | length | ||
) |
Get 64-bit attribute float data.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | stride | Specifies how many items to skip over for each element. With a stride of -1, the stride will be set to attr_info->tuple_size . Otherwise, the stride will be set to the maximum of attr_info->tuple_size and stride . |
[out] | data_array | An 64-bit float array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
HAPI_DECL HAPI_GetAttributeFloat64DataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
int | stride, | ||
double * | data_array, | ||
int | start, | ||
int | length, | ||
int * | job_id | ||
) |
Get attribute 64-bit float data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | stride | Specifies how many items to skip over for each element. With a stride of -1, the stride will be set to attr_info->tuple_size . Otherwise, the stride will be set to the maximum of attr_info->tuple_size and stride . |
[out] | data_array | An integer array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_GetAttributeFloatArrayData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
float * | data_fixed_array, | ||
int | data_fixed_length, | ||
int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length | ||
) |
Get array attribute float data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[out] | data_fixed_array | An float array at least the size of HAPI_AttributeInfo::totalArrayElements . |
[in] | data_fixed_length | Must be HAPI_AttributeInfo::totalArrayElements . |
[out] | sizes_fixed_array | An integer array at least the size of sizes_fixed_length to hold the size of each entry. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
HAPI_DECL HAPI_GetAttributeFloatArrayDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | attr_name, | ||
HAPI_AttributeInfo * | attr_info, | ||
float * | data_fixed_array, | ||
int | data_fixed_length, | ||
int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length, | ||
int * | job_id | ||
) |
Get array attribute float data asynchronously. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | attr_name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[out] | data_fixed_array | An integer array at least the size of HAPI_AttributeInfo::totalArrayElements . |
[in] | data_fixed_length | Must be HAPI_AttributeInfo::totalArrayElements . |
[out] | sizes_fixed_array | An integer array at least the size of sizes_fixed_length to hold the size of each entry. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_GetAttributeFloatData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
int | stride, | ||
float * | data_array, | ||
int | start, | ||
int | length | ||
) |
Get attribute float data.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | stride | Specifies how many items to skip over for each element. With a stride of -1, the stride will be set to attr_info->tuple_size . Otherwise, the stride will be set to the maximum of attr_info->tuple_size and stride . |
[out] | data_array | An float array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
HAPI_DECL HAPI_GetAttributeFloatDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
int | stride, | ||
float * | data_array, | ||
int | start, | ||
int | length, | ||
int * | job_id | ||
) |
Get attribute float data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | stride | Specifies how many items to skip over for each element. With a stride of -1, the stride will be set to attr_info->tuple_size . Otherwise, the stride will be set to the maximum of attr_info->tuple_size and stride . |
[out] | data_array | An integer array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_GetAttributeInfo | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeOwner | owner, | ||
HAPI_AttributeInfo * | attr_info | ||
) |
Get the attribute info struct for the attribute specified by name.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | owner | Attribute owner. |
[out] | attr_info | HAPI_AttributeInfo to be filled. Check HAPI_AttributeInfo::exists to see if this attribute exists. |
HAPI_DECL HAPI_GetAttributeInt16ArrayData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
HAPI_Int16 * | data_fixed_array, | ||
int | data_fixed_length, | ||
int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length | ||
) |
Get array attribute 16-bit integer data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[out] | data_fixed_array | An 16-bit integer array at least the size of HAPI_AttributeInfo::totalArrayElements . |
[in] | data_fixed_length | Must be HAPI_AttributeInfo::totalArrayElements . |
[out] | sizes_fixed_array | An integer array at least the size of sizes_fixed_length to hold the size of each entry. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
HAPI_DECL HAPI_GetAttributeInt16ArrayDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | attr_name, | ||
HAPI_AttributeInfo * | attr_info, | ||
HAPI_Int16 * | data_fixed_array, | ||
int | data_fixed_length, | ||
int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length, | ||
int * | job_id | ||
) |
Get array attribute 16-bit integer data asynchronously. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | attr_name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[out] | data_fixed_array | An integer array at least the size of HAPI_AttributeInfo::totalArrayElements . |
[in] | data_fixed_length | Must be HAPI_AttributeInfo::totalArrayElements . |
[out] | sizes_fixed_array | An integer array at least the size of sizes_fixed_length to hold the size of each entry. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_GetAttributeInt16Data | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
int | stride, | ||
HAPI_Int16 * | data_array, | ||
int | start, | ||
int | length | ||
) |
Get attribute 16-bit integer data.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | stride | Specifies how many items to skip over for each element. With a stride of -1, the stride will be set to attr_info->tuple_size . Otherwise, the stride will be set to the maximum of attr_info->tuple_size and stride . |
[out] | data_array | An 16-bit integer array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
HAPI_DECL HAPI_GetAttributeInt16DataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
int | stride, | ||
HAPI_Int16 * | data_array, | ||
int | start, | ||
int | length, | ||
int * | job_id | ||
) |
Get attribute 16-bit integer data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | stride | Specifies how many items to skip over for each element. With a stride of -1, the stride will be set to attr_info->tuple_size . Otherwise, the stride will be set to the maximum of attr_info->tuple_size and stride . |
[out] | data_array | An integer array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_GetAttributeInt64ArrayData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
HAPI_Int64 * | data_fixed_array, | ||
int | data_fixed_length, | ||
int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length | ||
) |
Get array attribute 64-bit integer data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[out] | data_fixed_array | An 64-bit integer array at least the size of HAPI_AttributeInfo::totalArrayElements . |
[in] | data_fixed_length | Must be HAPI_AttributeInfo::totalArrayElements . |
[out] | sizes_fixed_array | An integer array at least the size of sizes_fixed_length to hold the size of each entry. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
HAPI_DECL HAPI_GetAttributeInt64ArrayDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | attr_name, | ||
HAPI_AttributeInfo * | attr_info, | ||
HAPI_Int64 * | data_fixed_array, | ||
int | data_fixed_length, | ||
int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length, | ||
int * | job_id | ||
) |
Get array attribute 64-bit integer data asynchronously. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | attr_name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[out] | data_fixed_array | An integer array at least the size of HAPI_AttributeInfo::totalArrayElements . |
[in] | data_fixed_length | Must be HAPI_AttributeInfo::totalArrayElements . |
[out] | sizes_fixed_array | An integer array at least the size of sizes_fixed_length to hold the size of each entry. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_GetAttributeInt64Data | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
int | stride, | ||
HAPI_Int64 * | data_array, | ||
int | start, | ||
int | length | ||
) |
Get attribute 64-bit integer data.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | stride | Specifies how many items to skip over for each element. With a stride of -1, the stride will be set to attr_info->tuple_size . Otherwise, the stride will be set to the maximum of attr_info->tuple_size and stride . |
[out] | data_array | An 64-bit integer array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
HAPI_DECL HAPI_GetAttributeInt64DataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
int | stride, | ||
HAPI_Int64 * | data_array, | ||
int | start, | ||
int | length, | ||
int * | job_id | ||
) |
Get attribute 64-bit integer data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | stride | Specifies how many items to skip over for each element. With a stride of -1, the stride will be set to attr_info->tuple_size . Otherwise, the stride will be set to the maximum of attr_info->tuple_size and stride . |
[out] | data_array | An integer array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_GetAttributeInt8ArrayData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
HAPI_Int8 * | data_fixed_array, | ||
int | data_fixed_length, | ||
int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length | ||
) |
Get array attribute 8-bit integer data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[out] | data_fixed_array | An 8-bit integer array at least the size of HAPI_AttributeInfo::totalArrayElements . |
[in] | data_fixed_length | Must be HAPI_AttributeInfo::totalArrayElements . |
[out] | sizes_fixed_array | An integer array at least the size of sizes_fixed_length to hold the size of each entry. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
HAPI_DECL HAPI_GetAttributeInt8ArrayDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | attr_name, | ||
HAPI_AttributeInfo * | attr_info, | ||
HAPI_Int8 * | data_fixed_array, | ||
int | data_fixed_length, | ||
int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length, | ||
int * | job_id | ||
) |
Get array attribute 8-bit integer data asynchronously. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | attr_name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[out] | data_fixed_array | An integer array at least the size of HAPI_AttributeInfo::totalArrayElements . |
[in] | data_fixed_length | Must be HAPI_AttributeInfo::totalArrayElements . |
[out] | sizes_fixed_array | An integer array at least the size of sizes_fixed_length to hold the size of each entry. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_GetAttributeInt8Data | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
int | stride, | ||
HAPI_Int8 * | data_array, | ||
int | start, | ||
int | length | ||
) |
Get attribute 8-bit integer data.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | stride | Specifies how many items to skip over for each element. With a stride of -1, the stride will be set to attr_info->tuple_size . Otherwise, the stride will be set to the maximum of attr_info->tuple_size and stride . |
[out] | data_array | An 8-bit integer array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
HAPI_DECL HAPI_GetAttributeInt8DataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
int | stride, | ||
HAPI_Int8 * | data_array, | ||
int | start, | ||
int | length, | ||
int * | job_id | ||
) |
Get attribute 8-bit integer data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | stride | Specifies how many items to skip over for each element. With a stride of -1, the stride will be set to attr_info->tuple_size . Otherwise, the stride will be set to the maximum of attr_info->tuple_size and stride . |
[out] | data_array | An integer array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_GetAttributeIntArrayData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
int * | data_fixed_array, | ||
int | data_fixed_length, | ||
int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length | ||
) |
Get array attribute integer data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[out] | data_fixed_array | An integer array at least the size of HAPI_AttributeInfo::totalArrayElements . |
[in] | data_fixed_length | Must be HAPI_AttributeInfo::totalArrayElements . |
[out] | sizes_fixed_array | An integer array at least the size of sizes_fixed_length to hold the size of each entry. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
HAPI_DECL HAPI_GetAttributeIntArrayDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | attr_name, | ||
HAPI_AttributeInfo * | attr_info, | ||
int * | data_fixed_array, | ||
int | data_fixed_length, | ||
int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length, | ||
int * | job_id | ||
) |
Get array attribute integer data asynchronously. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | attr_name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[out] | data_fixed_array | An integer array at least the size of HAPI_AttributeInfo::totalArrayElements . |
[in] | data_fixed_length | Must be HAPI_AttributeInfo::totalArrayElements . |
[out] | sizes_fixed_array | An integer array at least the size of sizes_fixed_length to hold the size of each entry. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_GetAttributeIntData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
int | stride, | ||
int * | data_array, | ||
int | start, | ||
int | length | ||
) |
Get attribute integer data.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | stride | Specifies how many items to skip over for each element. With a stride of -1, the stride will be set to attr_info->tuple_size . Otherwise, the stride will be set to the maximum of attr_info->tuple_size and stride . |
[out] | data_array | An integer array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
HAPI_DECL HAPI_GetAttributeIntDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
int | stride, | ||
int * | data_array, | ||
int | start, | ||
int | length, | ||
int * | job_id | ||
) |
Get attribute integer data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | stride | Specifies how many items to skip over for each element. With a stride of -1, the stride will be set to attr_info->tuple_size . Otherwise, the stride will be set to the maximum of attr_info->tuple_size and stride . |
[out] | data_array | An integer array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_GetAttributeNames | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
HAPI_AttributeOwner | owner, | ||
HAPI_StringHandle * | attribute_names_array, | ||
int | count | ||
) |
Get list of attribute names by attribute owner. Note that the name string handles are only valid until the next time this function is called.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | owner | The HAPI_AttributeOwner enum value specifying the owner of the attribute. |
[out] | attribute_names_array | Array of ints (string handles) to house the attribute names. Should be exactly the size of the appropriate attribute owner type count in HAPI_PartInfo. |
[in] | count | Sanity check count. Must be equal to the appropriate attribute owner type count in HAPI_PartInfo. |
HAPI_DECL HAPI_GetAttributeStringArrayData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
HAPI_StringHandle * | data_fixed_array, | ||
int | data_fixed_length, | ||
int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length | ||
) |
Get array attribute string data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry. Note that the string handles returned are only valid until the next time this function is called.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for the. totalArrayElements. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[out] | data_fixed_array | An HAPI_StringHandle array at least the size of HAPI_AttributeInfo::totalArrayElements . |
[in] | data_fixed_length | Must be HAPI_AttributeInfo::totalArrayElements . |
[out] | sizes_fixed_array | An integer array at least the size of sizes_fixed_length to hold the size of each entry. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
HAPI_DECL HAPI_GetAttributeStringArrayDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | attr_name, | ||
HAPI_AttributeInfo * | attr_info, | ||
HAPI_StringHandle * | data_fixed_array, | ||
int | data_fixed_length, | ||
int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length, | ||
int * | job_id | ||
) |
Get array attribute string data asynchronously. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | attr_name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[out] | data_fixed_array | An integer array at least the size of HAPI_AttributeInfo::totalArrayElements . |
[in] | data_fixed_length | Must be HAPI_AttributeInfo::totalArrayElements . |
[out] | sizes_fixed_array | An integer array at least the size of sizes_fixed_length to hold the size of each entry. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_GetAttributeStringData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
HAPI_StringHandle * | data_array, | ||
int | start, | ||
int | length | ||
) |
Get attribute string data. Note that the string handles returned are only valid until the next time this function is called.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[out] | data_array | An HAPI_StringHandle array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
HAPI_DECL HAPI_GetAttributeStringDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
HAPI_StringHandle * | data_array, | ||
int | start, | ||
int | length, | ||
int * | job_id | ||
) |
Get attribute string data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[out] | data_array | An integer array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_GetAttributeUInt8ArrayData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
HAPI_UInt8 * | data_fixed_array, | ||
int | data_fixed_length, | ||
int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length | ||
) |
Get array attribute unsigned 8-bit integer data. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[out] | data_fixed_array | An unsigned 8-bit integer array at least the size of HAPI_AttributeInfo::totalArrayElements . |
[in] | data_fixed_length | Must be HAPI_AttributeInfo::totalArrayElements . |
[out] | sizes_fixed_array | An integer array at least the size of sizes_fixed_length to hold the size of each entry. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
HAPI_DECL HAPI_GetAttributeUInt8ArrayDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | attr_name, | ||
HAPI_AttributeInfo * | attr_info, | ||
HAPI_UInt8 * | data_fixed_array, | ||
int | data_fixed_length, | ||
int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length, | ||
int * | job_id | ||
) |
Get array attribute unsigned 8-bit integer data asynchronously. Each entry in an array attribute can have varying array lengths. Therefore the array values are returned as a flat array, with another sizes array containing the lengths of each array entry.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | attr_name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[out] | data_fixed_array | An integer array at least the size of HAPI_AttributeInfo::totalArrayElements . |
[in] | data_fixed_length | Must be HAPI_AttributeInfo::totalArrayElements . |
[out] | sizes_fixed_array | An integer array at least the size of sizes_fixed_length to hold the size of each entry. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_GetAttributeUInt8Data | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
int | stride, | ||
HAPI_UInt8 * | data_array, | ||
int | start, | ||
int | length | ||
) |
Get attribute unsigned 8-bit integer data.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | stride | Specifies how many items to skip over for each element. With a stride of -1, the stride will be set to attr_info->tuple_size . Otherwise, the stride will be set to the maximum of attr_info->tuple_size and stride . |
[out] | data_array | An unsigned 8-bit integer array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
HAPI_DECL HAPI_GetAttributeUInt8DataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
HAPI_AttributeInfo * | attr_info, | ||
int | stride, | ||
HAPI_UInt8 * | data_array, | ||
int | start, | ||
int | length, | ||
int * | job_id | ||
) |
Get attribute unsigned 8-bit integer data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The node id. |
[in] | part_id | The part id. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | stride | Specifies how many items to skip over for each element. With a stride of -1, the stride will be set to attr_info->tuple_size . Otherwise, the stride will be set to the maximum of attr_info->tuple_size and stride . |
[out] | data_array | An integer array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . Note, if 0 is passed for length, the function will just do nothing and return HAPI_RESULT_SUCCESS. |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeDictionaryArrayData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const char ** | data_fixed_array, | ||
int | data_fixed_length, | ||
const int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length | ||
) |
Set attribute dictionary array data. The dictionary data should be provided as JSON-encoded strings.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo that contains the description for the attribute that is being set. |
[in] | data_fixed_array | An array containing the dictionary values of the attribute. |
[in] | data_fixed_length | The total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute. |
[in] | sizes_fixed_array | An array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
HAPI_DECL HAPI_SetAttributeDictionaryArrayDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const char ** | data_fixed_array, | ||
int | data_fixed_length, | ||
const int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length, | ||
int * | job_id | ||
) |
Set attribute dictionary array data asynchronously. The dictionary should be provided as JSON-encoded strings.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo that contains the description for the attribute that is being set. |
[in] | data_fixed_array | An array containing the dictionary values of the attribute. |
[in] | data_fixed_length | The total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute. |
[in] | sizes_fixed_array | An array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeDictionaryData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const char ** | data_array, | ||
int | start, | ||
int | length | ||
) |
Set attribute dictionary data. The dictionary data should be provided as JSON-encoded strings.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | An HAPI_StringHandle array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
HAPI_DECL HAPI_SetAttributeDictionaryDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const char ** | data_array, | ||
int | start, | ||
int | length, | ||
int * | job_id | ||
) |
Set attribute dictionary data asynchronously. The dictionary data should be provided as JSON-encoded strings.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | An HAPI_StringHandle array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeFloat64ArrayData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const double * | data_fixed_array, | ||
int | data_fixed_length, | ||
const int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length | ||
) |
Set 64-bit float array attribute data.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo that contains the description for the attribute that is being set. |
[in] | data_fixed_array | An array containing the double values of the attribute. |
[in] | data_fixed_length | The total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute. |
[in] | sizes_fixed_array | An array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
HAPI_DECL HAPI_SetAttributeFloat64ArrayDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const double * | data_fixed_array, | ||
int | data_fixed_length, | ||
const int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length, | ||
int * | job_id | ||
) |
Set 64-bit float array attribute data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo that contains the description for the attribute that is being set. |
[in] | data_fixed_array | An array containing the double values of the attribute. |
[in] | data_fixed_length | The total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute. |
[in] | sizes_fixed_array | An array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeFloat64Data | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const double * | data_array, | ||
int | start, | ||
int | length | ||
) |
Set 64-bit attribute float data.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | An 64-bit float array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
HAPI_DECL HAPI_SetAttributeFloat64DataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const double * | data_array, | ||
int | start, | ||
int | length, | ||
int * | job_id | ||
) |
Set 64-bit attribute float data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | An 64-bit float array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeFloat64UniqueData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const double * | data_array, | ||
int | data_length, | ||
int | start_index, | ||
int | num_indices | ||
) |
Set multiple attribute 64-bit float data to the same unique value.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | A floating point array at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | data_length | An integer of at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | start_index | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | num_indices | Must be at least 0 and at most HAPI_AttributeInfo::count - start_index . |
HAPI_DECL HAPI_SetAttributeFloat64UniqueDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const double * | data_array, | ||
int | data_length, | ||
int | start_index, | ||
int | num_indices, | ||
int * | job_id | ||
) |
Set multiple attribute 64-bit float data to the same unique asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | A floating point array at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | data_length | An integer of at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | start_index | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | num_indices | Must be at least 0 and at most HAPI_AttributeInfo::count - start_index . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeFloatArrayData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const float * | data_fixed_array, | ||
int | data_fixed_length, | ||
const int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length | ||
) |
Set float array attribute data.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo that contains the description for the attribute that is being set. |
[in] | data_fixed_array | An array containing the float values of the attribute. |
[in] | data_fixed_length | The total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute. |
[in] | sizes_fixed_array | An array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
HAPI_DECL HAPI_SetAttributeFloatArrayDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const float * | data_fixed_array, | ||
int | data_fixed_length, | ||
const int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length, | ||
int * | job_id | ||
) |
Set float array attribute data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo that contains the description for the attribute that is being set. |
[in] | data_fixed_array | An array containing the float values of the attribute. |
[in] | data_fixed_length | The total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute. |
[in] | sizes_fixed_array | An array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeFloatData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const float * | data_array, | ||
int | start, | ||
int | length | ||
) |
Set attribute float data.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | An float array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
HAPI_DECL HAPI_SetAttributeFloatDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const float * | data_array, | ||
int | start, | ||
int | length, | ||
int * | job_id | ||
) |
Set attribute float data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | An float array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeFloatUniqueData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const float * | data_array, | ||
int | data_length, | ||
int | start_index, | ||
int | num_indices | ||
) |
Set multiple attribute float data to the same unique value.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | A floating point array at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | data_length | An integer of at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | start_index | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | num_indices | Must be at least 0 and at most HAPI_AttributeInfo::count - start_index . |
HAPI_DECL HAPI_SetAttributeFloatUniqueDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const float * | data_array, | ||
int | data_length, | ||
int | start_index, | ||
int | num_indices, | ||
int * | job_id | ||
) |
Set multiple attribute float data to the same unique value asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | A floating point array at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | data_length | An integer of at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | start_index | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | num_indices | Must be at least 0 and at most HAPI_AttributeInfo::count - start_index . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeIndexedStringData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const char ** | string_array, | ||
int | string_count, | ||
const int * | indices_array, | ||
int | indices_start, | ||
int | indices_length | ||
) |
Set attribute string data by index.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | string_array | An array of strings at least the size of string_count/tt>. |
[in] | string_count | Number of strings that are indexed. |
[in] | indices_array | integer array at least the size of |
[in] | indices_start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | indices_length | Must be at least 0 and at most HAPI_AttributeInfo::count - |
HAPI_DECL HAPI_SetAttributeIndexedStringDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const char ** | string_array, | ||
int | string_count, | ||
const int * | indices_array, | ||
int | indices_start, | ||
int | indices_length, | ||
int * | job_id | ||
) |
Set attribute string data by index asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | string_array | An array of strings at least the size of string_count/tt>. |
[in] | string_count | Number of strings that are indexed. |
[in] | indices_array | integer array at least the size of |
[in] | indices_start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | indices_length | Must be at least 0 and at most HAPI_AttributeInfo::count - |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeInt16ArrayData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const HAPI_Int16 * | data_fixed_array, | ||
int | data_fixed_length, | ||
const int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length | ||
) |
Set 16-bit integer array attribute data.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo that contains the description for the attribute that is being set. |
[in] | data_fixed_array | An array containing the HAPI_Int16 values of the attribute. |
[in] | data_fixed_length | The total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute. |
[in] | sizes_fixed_array | An array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
HAPI_DECL HAPI_SetAttributeInt16ArrayDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const HAPI_Int16 * | data_fixed_array, | ||
int | data_fixed_length, | ||
const int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length, | ||
int * | job_id | ||
) |
Set 16-bit integer array attribute data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo that contains the description for the attribute that is being set. |
[in] | data_fixed_array | An array containing the HAPI_Int16 values of the attribute. |
[in] | data_fixed_length | The total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute. |
[in] | sizes_fixed_array | An array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeInt16Data | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const HAPI_Int16 * | data_array, | ||
int | start, | ||
int | length | ||
) |
Set 16-bit attribute integer data.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | An 16-bit integer array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
HAPI_DECL HAPI_SetAttributeInt16DataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const HAPI_Int16 * | data_array, | ||
int | start, | ||
int | length, | ||
int * | job_id | ||
) |
Set 16-bit attribute integer data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | An 16-bit integer array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeInt16UniqueData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const HAPI_Int16 * | data_array, | ||
int | data_length, | ||
int | start_index, | ||
int | num_indices | ||
) |
Set multiple attribute 16-bit int data to the same unique value.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | A integer array at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | data_length | An integer of at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | start_index | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | num_indices | Must be at least 0 and at most HAPI_AttributeInfo::count - start_index . |
HAPI_DECL HAPI_SetAttributeInt16UniqueDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const HAPI_Int16 * | data_array, | ||
int | data_length, | ||
int | start_index, | ||
int | num_indices, | ||
int * | job_id | ||
) |
Set multiple attribute 16-bit int data to the same unique value asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | A integer array at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | data_length | An integer of at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | start_index | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | num_indices | Must be at least 0 and at most HAPI_AttributeInfo::count - start_index . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeInt64ArrayData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const HAPI_Int64 * | data_fixed_array, | ||
int | data_fixed_length, | ||
const int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length | ||
) |
Set 64-bit integer array attribute data.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo that contains the description for the attribute that is being set. |
[in] | data_fixed_array | An array containing the HAPI_Int64 values of the attribute. |
[in] | data_fixed_length | The total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute. |
[in] | sizes_fixed_array | An array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
HAPI_DECL HAPI_SetAttributeInt64ArrayDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const HAPI_Int64 * | data_fixed_array, | ||
int | data_fixed_length, | ||
const int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length, | ||
int * | job_id | ||
) |
Set 64-bit integer array attribute data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo that contains the description for the attribute that is being set. |
[in] | data_fixed_array | An array containing the HAPI_Int64 values of the attribute. |
[in] | data_fixed_length | The total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute. |
[in] | sizes_fixed_array | An array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeInt64Data | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const HAPI_Int64 * | data_array, | ||
int | start, | ||
int | length | ||
) |
Set 64-bit attribute integer data.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | An 64-bit integer array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
HAPI_DECL HAPI_SetAttributeInt64DataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const HAPI_Int64 * | data_array, | ||
int | start, | ||
int | length, | ||
int * | job_id | ||
) |
Set 64-bit attribute integer data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | An 64-bit integer array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeInt64UniqueData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const HAPI_Int64 * | data_array, | ||
int | data_length, | ||
int | start_index, | ||
int | num_indices | ||
) |
Set multiple attribute 64-bit int data to the same unique value.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | A integer array at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | data_length | An integer of at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | start_index | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | num_indices | Must be at least 0 and at most HAPI_AttributeInfo::count - start_index . |
HAPI_DECL HAPI_SetAttributeInt64UniqueDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const HAPI_Int64 * | data_array, | ||
int | data_length, | ||
int | start_index, | ||
int | num_indices, | ||
int * | job_id | ||
) |
Set multiple attribute 64-bit int data to the same unique value asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | A integer array at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | data_length | An integer of at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | start_index | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | num_indices | Must be at least 0 and at most HAPI_AttributeInfo::count - start_index . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeInt8ArrayData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const HAPI_Int8 * | data_fixed_array, | ||
int | data_fixed_length, | ||
const int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length | ||
) |
Set 8-bit integer array attribute data.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo that contains the description for the attribute that is being set. |
[in] | data_fixed_array | An array containing the HAPI_Int8 values of the attribute. |
[in] | data_fixed_length | The total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute. |
[in] | sizes_fixed_array | An array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
HAPI_DECL HAPI_SetAttributeInt8ArrayDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const HAPI_Int8 * | data_fixed_array, | ||
int | data_fixed_length, | ||
const int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length, | ||
int * | job_id | ||
) |
Set 8-bit integer array attribute data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo that contains the description for the attribute that is being set. |
[in] | data_fixed_array | An array containing the HAPI_Int8 values of the attribute. |
[in] | data_fixed_length | The total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute. |
[in] | sizes_fixed_array | An array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeInt8Data | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const HAPI_Int8 * | data_array, | ||
int | start, | ||
int | length | ||
) |
Set 8-bit attribute integer data.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | An 8-bit integer array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
HAPI_DECL HAPI_SetAttributeInt8DataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const HAPI_Int8 * | data_array, | ||
int | start, | ||
int | length, | ||
int * | job_id | ||
) |
Set 8-bit attribute integer data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | An 8-bit integer array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeInt8UniqueData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const HAPI_Int8 * | data_array, | ||
int | data_length, | ||
int | start_index, | ||
int | num_indices | ||
) |
Set multiple attribute 8-bit int data to the same unique value.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | A integer array at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | data_length | An integer of at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | start_index | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | num_indices | Must be at least 0 and at most HAPI_AttributeInfo::count - start_index . |
HAPI_DECL HAPI_SetAttributeInt8UniqueDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const HAPI_Int8 * | data_array, | ||
int | data_length, | ||
int | start_index, | ||
int | num_indices, | ||
int * | job_id | ||
) |
Set multiple attribute 8-bit int data to the same unique value asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | A integer array at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | data_length | An integer of at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | start_index | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | num_indices | Must be at least 0 and at most HAPI_AttributeInfo::count - start_index . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeIntArrayData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const int * | data_fixed_array, | ||
int | data_fixed_length, | ||
const int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length | ||
) |
Set integer array attribute data.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo that contains the description for the attribute that is being set. |
[in] | data_fixed_array | An array containing the int values of the attribute. |
[in] | data_fixed_length | The total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute. |
[in] | sizes_fixed_array | An array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
HAPI_DECL HAPI_SetAttributeIntArrayDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const int * | data_fixed_array, | ||
int | data_fixed_length, | ||
const int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length, | ||
int * | job_id | ||
) |
Set integer array attribute data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo that contains the description for the attribute that is being set. |
[in] | data_fixed_array | An array containing the int values of the attribute. |
[in] | data_fixed_length | The total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute. |
[in] | sizes_fixed_array | An array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeIntData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const int * | data_array, | ||
int | start, | ||
int | length | ||
) |
Set attribute integer data.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | An integer array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
HAPI_DECL HAPI_SetAttributeIntDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const int * | data_array, | ||
int | start, | ||
int | length, | ||
int * | job_id | ||
) |
Set attribute integer data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | An integer array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeIntUniqueData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const int * | data_array, | ||
int | data_length, | ||
int | start_index, | ||
int | num_indices | ||
) |
Set multiple attribute int data to the same unique value.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | A integer array at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | data_length | An integer of at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | start_index | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | num_indices | Must be at least 0 and at most HAPI_AttributeInfo::count - start_index . |
HAPI_DECL HAPI_SetAttributeIntUniqueDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const int * | data_array, | ||
int | data_length, | ||
int | start_index, | ||
int | num_indices, | ||
int * | job_id | ||
) |
Set multiple attribute int data to the same unique value asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | A integer array at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | data_length | An integer of at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | start_index | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | num_indices | Must be at least 0 and at most HAPI_AttributeInfo::count - start_index . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeStringArrayData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const char ** | data_fixed_array, | ||
int | data_fixed_length, | ||
const int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length | ||
) |
Set string array attribute data.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo that contains the description for the attribute that is being set. |
[in] | data_fixed_array | An array containing the string values of the attribute. |
[in] | data_fixed_length | The total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute. |
[in] | sizes_fixed_array | An array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
HAPI_DECL HAPI_SetAttributeStringArrayDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const char ** | data_fixed_array, | ||
int | data_fixed_length, | ||
const int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length, | ||
int * | job_id | ||
) |
Set string array attribute data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo that contains the description for the attribute that is being set. |
[in] | data_fixed_array | An array containing the string values of the attribute. |
[in] | data_fixed_length | The total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute. |
[in] | sizes_fixed_array | An array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeStringData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const char ** | data_array, | ||
int | start, | ||
int | length | ||
) |
Set attribute string data.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | An HAPI_StringHandle array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
HAPI_DECL HAPI_SetAttributeStringDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const char ** | data_array, | ||
int | start, | ||
int | length, | ||
int * | job_id | ||
) |
Set attribute string data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | An HAPI_StringHandle array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeStringUniqueData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const char * | data_array, | ||
int | data_length, | ||
int | start_index, | ||
int | num_indices | ||
) |
Set multiple attribute string data to the same unique value.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | A string |
[in] | data_length | Must be the length of string data. |
[in] | start_index | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
[in] | num_indices | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
HAPI_DECL HAPI_SetAttributeStringUniqueDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const char * | data_array, | ||
int | data_length, | ||
int | start_index, | ||
int | num_indices, | ||
int * | job_id | ||
) |
Set multiple attribute string data to the same unique value asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | A string |
[in] | data_length | Must be the length of string data. |
[in] | start_index | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
[in] | num_indices | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeUInt8ArrayData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const HAPI_UInt8 * | data_fixed_array, | ||
int | data_fixed_length, | ||
const int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length | ||
) |
Set unsigned 8-bit integer array attribute data.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo that contains the description for the attribute that is being set. |
[in] | data_fixed_array | An array containing the HAPI_UInt8 values of the attribute. |
[in] | data_fixed_length | The total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute. |
[in] | sizes_fixed_array | An array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
HAPI_DECL HAPI_SetAttributeUInt8ArrayDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const HAPI_UInt8 * | data_fixed_array, | ||
int | data_fixed_length, | ||
const int * | sizes_fixed_array, | ||
int | start, | ||
int | sizes_fixed_length, | ||
int * | job_id | ||
) |
Set unsigned 8-bit integer array attribute data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo that contains the description for the attribute that is being set. |
[in] | data_fixed_array | An array containing the HAPI_UInt8 values of the attribute. |
[in] | data_fixed_length | The total size of the data array. The size can be no greater than the HAPI_AttributeInfo::totalArrayElements of the attribute. |
[in] | sizes_fixed_array | An array of integers that contains the sizes of each attribute array. This is required because the attribute array for each geometry component can be of variable size. |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | sizes_fixed_length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeUInt8Data | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const HAPI_UInt8 * | data_array, | ||
int | start, | ||
int | length | ||
) |
Set unsigned 8-bit attribute integer data.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | An unsigned 8-bit integer array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
HAPI_DECL HAPI_SetAttributeUInt8DataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const HAPI_UInt8 * | data_array, | ||
int | start, | ||
int | length, | ||
int * | job_id | ||
) |
Set unsigned 8-bit attribute integer data asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | An unsigned 8-bit integer array at least the size of length * HAPI_AttributeInfo::tupleSize . |
[in] | start | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | length | Must be at least 0 and at most HAPI_AttributeInfo::count - start . |
[out] | job_id | The id assigned to the job. |
HAPI_DECL HAPI_SetAttributeUInt8UniqueData | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const HAPI_UInt8 * | data_array, | ||
int | data_length, | ||
int | start_index, | ||
int | num_indices | ||
) |
Set multiple attribute unsigned 8-bit int data to the same unique value.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | A integer array at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | data_length | An integer of at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | start_index | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | num_indices | Must be at least 0 and at most HAPI_AttributeInfo::count - start_index . |
HAPI_DECL HAPI_SetAttributeUInt8UniqueDataAsync | ( | const HAPI_Session * | session, |
HAPI_NodeId | node_id, | ||
HAPI_PartId | part_id, | ||
const char * | name, | ||
const HAPI_AttributeInfo * | attr_info, | ||
const HAPI_UInt8 * | data_array, | ||
int | data_length, | ||
int | start_index, | ||
int | num_indices, | ||
int * | job_id | ||
) |
Set multiple attribute unsigned 8-bit int data to the same unique value asynchronously.
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The SOP node id. |
[in] | part_id | Currently not used. Just pass 0. |
[in] | name | Attribute name. |
[in] | attr_info | HAPI_AttributeInfo used as input for what tuple size. you want. Also contains some sanity checks like data type. Generally should be the same struct returned by HAPI_GetAttributeInfo(). |
[in] | data_array | A integer array at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | data_length | An integer of at least the size of HAPI_AttributeInfo::tupleSize . |
[in] | start_index | First index of range. Must be at least 0 and at most HAPI_AttributeInfo::count - 1. |
[in] | num_indices | Must be at least 0 and at most HAPI_AttributeInfo::count - start_index . |
[out] | job_id | The id assigned to the job. |