HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HAPI_Common.h File Reference
#include "HAPI_API.h"
#include <stdint.h>
+ Include dependency graph for HAPI_Common.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HAPI_Transform
 A Transform with Quaternion rotation. More...
 
struct  HAPI_TransformEuler
 A Transform with Euler rotation. More...
 
struct  HAPI_Session
 Identifies a session. More...
 
struct  HAPI_SessionInfo
 Configurations for sessions. More...
 
struct  HAPI_ThriftServerOptions
 Options to configure a Thrift server being started from HARC. More...
 
struct  HAPI_TimelineOptions
 Data for global timeline, used with HAPI_SetTimelineOptions() More...
 
struct  HAPI_AssetInfo
 Meta-data about an HDA, returned by HAPI_GetAssetInfo() More...
 
struct  HAPI_CookOptions
 Options which affect how nodes are cooked. More...
 
struct  HAPI_NodeInfo
 Meta-data for a Houdini Node. More...
 
struct  HAPI_ParmInfo
 
struct  HAPI_ParmChoiceInfo
 Meta-data for a combo-box / choice parm. More...
 
struct  HAPI_HandleInfo
 
struct  HAPI_HandleBindingInfo
 
struct  HAPI_ObjectInfo
 Meta-data for an OBJ Node. More...
 
struct  HAPI_GeoInfo
 Meta-data for a SOP Node. More...
 
struct  HAPI_PartInfo
 Meta-data describing a Geo Part. More...
 
struct  HAPI_AttributeInfo
 
struct  HAPI_MaterialInfo
 
struct  HAPI_ImageFileFormat
 Describes an image format, used with HAPI_GetSupportedImageFileFormats() More...
 
struct  HAPI_ImageInfo
 Data for an image, used with HAPI_GetImageInfo() and HAPI_SetImageInfo() More...
 
struct  HAPI_Keyframe
 Data for a single Key Frame. More...
 
struct  HAPI_VolumeInfo
 
struct  HAPI_VolumeTileInfo
 
struct  HAPI_VolumeVisualInfo
 
struct  HAPI_CurveInfo
 
struct  HAPI_InputCurveInfo
 
struct  HAPI_BoxInfo
 Data for a Box Part. More...
 
struct  HAPI_SphereInfo
 Data for a Sphere Part. More...
 
struct  HAPI_PDG_EventInfo
 Data associated with a PDG Event. More...
 
struct  HAPI_PDG_WorkItemInfo
 Info for a PDG work item. More...
 
struct  HAPI_PDG_WorkItemOutputFile
 Data for a PDG output file. More...
 
struct  HAPI_Viewport
 
struct  HAPI_SessionSyncInfo
 
struct  HAPI_CompositorOptions
 Configuration options for Houdini's compositing context. More...
 

Macros

#define HAPI_POSITION_VECTOR_SIZE   3
 
#define HAPI_SCALE_VECTOR_SIZE   3
 
#define HAPI_SHEAR_VECTOR_SIZE   3
 
#define HAPI_NORMAL_VECTOR_SIZE   3
 
#define HAPI_QUATERNION_VECTOR_SIZE   4
 
#define HAPI_EULER_VECTOR_SIZE   3
 
#define HAPI_UV_VECTOR_SIZE   2
 
#define HAPI_COLOR_VECTOR_SIZE   4
 
#define HAPI_CV_VECTOR_SIZE   4
 
#define HAPI_PRIM_MIN_VERTEX_COUNT   1
 
#define HAPI_PRIM_MAX_VERTEX_COUNT   16
 
#define HAPI_INVALID_PARM_ID   -1
 
#define HAPI_MAX_NUM_CONNECTIONS   128
 
#define HAPI_UNGROUPED_GROUP_NAME   "__ungrouped_group"
 
#define HAPI_DEFAULT_IMAGE_FORMAT_NAME   HAPI_PNG_FORMAT_NAME
 
#define HAPI_GLOBAL_NODES_NODE_NAME   "GlobalNodes"
 Name of subnet OBJ node containing the global nodes. More...
 
#define HAPI_ENV_HIP   "HIP"
 Environment variables. More...
 
#define HAPI_ENV_JOB   "JOB"
 
#define HAPI_ENV_CLIENT_NAME   "HAPI_CLIENT_NAME"
 
#define HAPI_CACHE_COP2_COOK   "COP Cook Cache"
 
#define HAPI_CACHE_COP2_FLIPBOOK   "COP Flipbook Cache"
 
#define HAPI_CACHE_IMAGE   "Image Cache"
 
#define HAPI_CACHE_OBJ   "Object Transform Cache"
 
#define HAPI_CACHE_GL_TEXTURE   "OpenGL Texture Cache"
 
#define HAPI_CACHE_GL_VERTEX   "OpenGL Vertex Cache"
 
#define HAPI_CACHE_SOP   "SOP Cache"
 
#define HAPI_CACHE_VEX   "VEX File Cache"
 
#define HAPI_ATTRIB_INPUT_CURVE_COORDS   "hapi_input_curve_coords"
 [HAPI_CACHE] More...
 
#define HAPI_C_ENUM_TYPEDEF(enum_name)   typedef enum enum_name enum_name;
 [HAPI_InputCurve] More...
 
#define HAPI_C_STRUCT_TYPEDEF(struct_name)   typedef struct struct_name struct_name;
 
#define HAPI_ATTRIB_POSITION   "P"
 
#define HAPI_ATTRIB_UV   "uv"
 
#define HAPI_ATTRIB_UV2   "uv2"
 
#define HAPI_ATTRIB_NORMAL   "N"
 
#define HAPI_ATTRIB_TANGENT   "tangentu"
 
#define HAPI_ATTRIB_TANGENT2   "tangentv"
 
#define HAPI_ATTRIB_COLOR   "Cd"
 
#define HAPI_ATTRIB_NAME   "name"
 
#define HAPI_ATTRIB_INSTANCE   "instance"
 
#define HAPI_ATTRIB_ROT   "rot"
 
#define HAPI_ATTRIB_SCALE   "scale"
 
#define HAPI_RAW_FORMAT_NAME   "HAPI_RAW"
 
#define HAPI_PNG_FORMAT_NAME   "PNG"
 
#define HAPI_JPEG_FORMAT_NAME   "JPEG"
 
#define HAPI_BMP_FORMAT_NAME   "Bitmap"
 
#define HAPI_TIFF_FORMAT_NAME   "TIFF"
 
#define HAPI_TGA_FORMAT_NAME   "Targa"
 

Typedefs

typedef char HAPI_Bool
 
typedef uint8_t HAPI_UInt8
 
typedef int8_t HAPI_Int8
 
typedef int16_t HAPI_Int16
 
typedef int64_t HAPI_Int64
 
typedef int HAPI_ProcessId
 
typedef HAPI_Int64 HAPI_SessionId
 Has to be 64-bit. More...
 
typedef int HAPI_StringHandle
 
typedef int HAPI_AssetLibraryId
 
typedef int HAPI_NodeId
 See HAPI_Nodes_Basics. More...
 
typedef int HAPI_ParmId
 
typedef int HAPI_PartId
 
typedef int HAPI_PDG_WorkItemId
 Use this with PDG functions. More...
 
typedef HAPI_PDG_WorkItemId HAPI_PDG_WorkitemId
 Backwards compatibility for HAPI_PDG_WorkitemId. More...
 
typedef int HAPI_PDG_GraphContextId
 Use this with PDG functions. More...
 
typedef int HAPI_HIPFileId
 
typedef int HAPI_ErrorCodeBits
 
typedef int HAPI_NodeTypeBits
 
typedef int HAPI_NodeFlagsBits
 
typedef HAPI_PDG_WorkItemState HAPI_PDG_WorkitemState
 Backwards compatibility for HAPI_PDG_WorkitemState. More...
 
typedef HAPI_PDG_WorkItemInfo HAPI_PDG_WorkitemInfo
 Backwards compatibility for HAPI_PDG_WorkitemInfo. More...
 
typedef HAPI_PDG_WorkItemOutputFile HAPI_PDG_WorkitemResultInfo
 Backwards compatibility for HAPI_PDG_WorkitemResultInfo. More...
 

Enumerations

enum  HAPI_License {
  HAPI_LICENSE_NONE, HAPI_LICENSE_HOUDINI_ENGINE, HAPI_LICENSE_HOUDINI, HAPI_LICENSE_HOUDINI_FX,
  HAPI_LICENSE_HOUDINI_ENGINE_INDIE, HAPI_LICENSE_HOUDINI_INDIE, HAPI_LICENSE_HOUDINI_ENGINE_UNITY_UNREAL, HAPI_LICENSE_HOUDINI_EDUCATION,
  HAPI_LICENSE_HOUDINI_ENGINE_EDUCATION, HAPI_LICENSE_MAX
}
 
enum  HAPI_StatusType { HAPI_STATUS_CALL_RESULT, HAPI_STATUS_COOK_RESULT, HAPI_STATUS_COOK_STATE, HAPI_STATUS_MAX }
 
enum  HAPI_StatusVerbosity {
  HAPI_STATUSVERBOSITY_0, HAPI_STATUSVERBOSITY_1, HAPI_STATUSVERBOSITY_2, HAPI_STATUSVERBOSITY_ALL = HAPI_STATUSVERBOSITY_2,
  HAPI_STATUSVERBOSITY_ERRORS = HAPI_STATUSVERBOSITY_0, HAPI_STATUSVERBOSITY_WARNINGS = HAPI_STATUSVERBOSITY_1, HAPI_STATUSVERBOSITY_MESSAGES = HAPI_STATUSVERBOSITY_2
}
 
enum  HAPI_JobStatus { HAPI_JOB_STATUS_RUNNING, HAPI_JOB_STATUS_IDLE, HAPI_JOB_STATUS_MAX }
 
enum  HAPI_Result {
  HAPI_RESULT_SUCCESS = 0, HAPI_RESULT_FAILURE = 1, HAPI_RESULT_ALREADY_INITIALIZED = 2, HAPI_RESULT_NOT_INITIALIZED = 3,
  HAPI_RESULT_CANT_LOADFILE = 4, HAPI_RESULT_PARM_SET_FAILED = 5, HAPI_RESULT_INVALID_ARGUMENT = 6, HAPI_RESULT_CANT_LOAD_GEO = 7,
  HAPI_RESULT_CANT_GENERATE_PRESET = 8, HAPI_RESULT_CANT_LOAD_PRESET = 9, HAPI_RESULT_ASSET_DEF_ALREADY_LOADED = 10, HAPI_RESULT_NO_LICENSE_FOUND = 110,
  HAPI_RESULT_DISALLOWED_NC_LICENSE_FOUND = 120, HAPI_RESULT_DISALLOWED_NC_ASSET_WITH_C_LICENSE = 130, HAPI_RESULT_DISALLOWED_NC_ASSET_WITH_LC_LICENSE = 140, HAPI_RESULT_DISALLOWED_LC_ASSET_WITH_C_LICENSE = 150,
  HAPI_RESULT_DISALLOWED_HENGINEINDIE_W_3PARTY_PLUGIN = 160, HAPI_RESULT_ASSET_INVALID = 200, HAPI_RESULT_NODE_INVALID = 210, HAPI_RESULT_USER_INTERRUPTED = 300,
  HAPI_RESULT_INVALID_SESSION = 400
}
 
enum  HAPI_ErrorCode { HAPI_ERRORCODE_ASSET_DEF_NOT_FOUND = 1 << 0, HAPI_ERRORCODE_PYTHON_NODE_ERROR = 1 << 1 }
 
enum  HAPI_SessionType {
  HAPI_SESSION_INPROCESS, HAPI_SESSION_THRIFT, HAPI_SESSION_CUSTOM1, HAPI_SESSION_CUSTOM2,
  HAPI_SESSION_CUSTOM3, HAPI_SESSION_MAX
}
 
enum  HAPI_State {
  HAPI_STATE_READY, HAPI_STATE_READY_WITH_FATAL_ERRORS, HAPI_STATE_READY_WITH_COOK_ERRORS, HAPI_STATE_STARTING_COOK,
  HAPI_STATE_COOKING, HAPI_STATE_STARTING_LOAD, HAPI_STATE_LOADING, HAPI_STATE_MAX,
  HAPI_STATE_MAX_READY_STATE = HAPI_STATE_READY_WITH_COOK_ERRORS
}
 
enum  HAPI_PackedPrimInstancingMode {
  HAPI_PACKEDPRIM_INSTANCING_MODE_INVALID = -1, HAPI_PACKEDPRIM_INSTANCING_MODE_DISABLED, HAPI_PACKEDPRIM_INSTANCING_MODE_HIERARCHY, HAPI_PACKEDPRIM_INSTANCING_MODE_FLAT,
  HAPI_PACKEDPRIM_INSTANCING_MODE_MAX
}
 
enum  HAPI_Permissions {
  HAPI_PERMISSIONS_NON_APPLICABLE, HAPI_PERMISSIONS_READ_WRITE, HAPI_PERMISSIONS_READ_ONLY, HAPI_PERMISSIONS_WRITE_ONLY,
  HAPI_PERMISSIONS_MAX
}
 
enum  HAPI_RampType { HAPI_RAMPTYPE_INVALID = -1, HAPI_RAMPTYPE_FLOAT, HAPI_RAMPTYPE_COLOR, HAPI_RAMPTYPE_MAX }
 
enum  HAPI_ParmType {
  HAPI_PARMTYPE_INT = 0, HAPI_PARMTYPE_MULTIPARMLIST, HAPI_PARMTYPE_TOGGLE, HAPI_PARMTYPE_BUTTON,
  HAPI_PARMTYPE_FLOAT, HAPI_PARMTYPE_COLOR, HAPI_PARMTYPE_STRING, HAPI_PARMTYPE_PATH_FILE,
  HAPI_PARMTYPE_PATH_FILE_GEO, HAPI_PARMTYPE_PATH_FILE_IMAGE, HAPI_PARMTYPE_NODE, HAPI_PARMTYPE_FOLDERLIST,
  HAPI_PARMTYPE_FOLDERLIST_RADIO, HAPI_PARMTYPE_FOLDER, HAPI_PARMTYPE_LABEL, HAPI_PARMTYPE_SEPARATOR,
  HAPI_PARMTYPE_PATH_FILE_DIR, HAPI_PARMTYPE_MAX, HAPI_PARMTYPE_INT_START = HAPI_PARMTYPE_INT, HAPI_PARMTYPE_INT_END = HAPI_PARMTYPE_BUTTON,
  HAPI_PARMTYPE_FLOAT_START = HAPI_PARMTYPE_FLOAT, HAPI_PARMTYPE_FLOAT_END = HAPI_PARMTYPE_COLOR, HAPI_PARMTYPE_STRING_START = HAPI_PARMTYPE_STRING, HAPI_PARMTYPE_STRING_END = HAPI_PARMTYPE_NODE,
  HAPI_PARMTYPE_PATH_START = HAPI_PARMTYPE_PATH_FILE, HAPI_PARMTYPE_PATH_END = HAPI_PARMTYPE_PATH_FILE_IMAGE, HAPI_PARMTYPE_NODE_START = HAPI_PARMTYPE_NODE, HAPI_PARMTYPE_NODE_END = HAPI_PARMTYPE_NODE,
  HAPI_PARMTYPE_CONTAINER_START = HAPI_PARMTYPE_FOLDERLIST, HAPI_PARMTYPE_CONTAINER_END = HAPI_PARMTYPE_FOLDERLIST_RADIO, HAPI_PARMTYPE_NONVALUE_START = HAPI_PARMTYPE_FOLDER, HAPI_PARMTYPE_NONVALUE_END = HAPI_PARMTYPE_SEPARATOR
}
 
enum  HAPI_PrmScriptType {
  HAPI_PRM_SCRIPT_TYPE_INT = 0, HAPI_PRM_SCRIPT_TYPE_FLOAT, HAPI_PRM_SCRIPT_TYPE_ANGLE, HAPI_PRM_SCRIPT_TYPE_STRING,
  HAPI_PRM_SCRIPT_TYPE_FILE, HAPI_PRM_SCRIPT_TYPE_DIRECTORY, HAPI_PRM_SCRIPT_TYPE_IMAGE, HAPI_PRM_SCRIPT_TYPE_GEOMETRY,
  HAPI_PRM_SCRIPT_TYPE_TOGGLE, HAPI_PRM_SCRIPT_TYPE_BUTTON, HAPI_PRM_SCRIPT_TYPE_VECTOR2, HAPI_PRM_SCRIPT_TYPE_VECTOR3,
  HAPI_PRM_SCRIPT_TYPE_VECTOR4, HAPI_PRM_SCRIPT_TYPE_INTVECTOR2, HAPI_PRM_SCRIPT_TYPE_INTVECTOR3, HAPI_PRM_SCRIPT_TYPE_INTVECTOR4,
  HAPI_PRM_SCRIPT_TYPE_UV, HAPI_PRM_SCRIPT_TYPE_UVW, HAPI_PRM_SCRIPT_TYPE_DIR, HAPI_PRM_SCRIPT_TYPE_COLOR,
  HAPI_PRM_SCRIPT_TYPE_COLOR4, HAPI_PRM_SCRIPT_TYPE_HUECIRCLE, HAPI_PRM_SCRIPT_TYPE_OPPATH, HAPI_PRM_SCRIPT_TYPE_OPLIST,
  HAPI_PRM_SCRIPT_TYPE_OBJECT, HAPI_PRM_SCRIPT_TYPE_OBJECTLIST, HAPI_PRM_SCRIPT_TYPE_RENDER, HAPI_PRM_SCRIPT_TYPE_SEPARATOR,
  HAPI_PRM_SCRIPT_TYPE_GEOMETRY_DATA, HAPI_PRM_SCRIPT_TYPE_KEY_VALUE_DICT, HAPI_PRM_SCRIPT_TYPE_LABEL, HAPI_PRM_SCRIPT_TYPE_RGBAMASK,
  HAPI_PRM_SCRIPT_TYPE_ORDINAL, HAPI_PRM_SCRIPT_TYPE_RAMP_FLT, HAPI_PRM_SCRIPT_TYPE_RAMP_RGB, HAPI_PRM_SCRIPT_TYPE_FLOAT_LOG,
  HAPI_PRM_SCRIPT_TYPE_INT_LOG, HAPI_PRM_SCRIPT_TYPE_DATA, HAPI_PRM_SCRIPT_TYPE_FLOAT_MINMAX, HAPI_PRM_SCRIPT_TYPE_INT_MINMAX,
  HAPI_PRM_SCRIPT_TYPE_INT_STARTEND, HAPI_PRM_SCRIPT_TYPE_BUTTONSTRIP, HAPI_PRM_SCRIPT_TYPE_ICONSTRIP, HAPI_PRM_SCRIPT_TYPE_GROUPRADIO = 1000,
  HAPI_PRM_SCRIPT_TYPE_GROUPCOLLAPSIBLE, HAPI_PRM_SCRIPT_TYPE_GROUPSIMPLE, HAPI_PRM_SCRIPT_TYPE_GROUP
}
 
enum  HAPI_ChoiceListType {
  HAPI_CHOICELISTTYPE_NONE, HAPI_CHOICELISTTYPE_NORMAL, HAPI_CHOICELISTTYPE_MINI, HAPI_CHOICELISTTYPE_REPLACE,
  HAPI_CHOICELISTTYPE_TOGGLE
}
 
enum  HAPI_PresetType { HAPI_PRESETTYPE_INVALID = -1, HAPI_PRESETTYPE_BINARY = 0, HAPI_PRESETTYPE_IDX, HAPI_PRESETTYPE_MAX }
 
enum  HAPI_NodeType {
  HAPI_NODETYPE_ANY = -1, HAPI_NODETYPE_NONE = 0, HAPI_NODETYPE_OBJ = 1 << 0, HAPI_NODETYPE_SOP = 1 << 1,
  HAPI_NODETYPE_CHOP = 1 << 2, HAPI_NODETYPE_ROP = 1 << 3, HAPI_NODETYPE_SHOP = 1 << 4, HAPI_NODETYPE_COP = 1 << 5,
  HAPI_NODETYPE_VOP = 1 << 6, HAPI_NODETYPE_DOP = 1 << 7, HAPI_NODETYPE_TOP = 1 << 8
}
 
enum  HAPI_NodeFlags {
  HAPI_NODEFLAGS_ANY = -1, HAPI_NODEFLAGS_NONE = 0, HAPI_NODEFLAGS_DISPLAY = 1 << 0, HAPI_NODEFLAGS_RENDER = 1 << 1,
  HAPI_NODEFLAGS_TEMPLATED = 1 << 2, HAPI_NODEFLAGS_LOCKED = 1 << 3, HAPI_NODEFLAGS_EDITABLE = 1 << 4, HAPI_NODEFLAGS_BYPASS = 1 << 5,
  HAPI_NODEFLAGS_NETWORK = 1 << 6, HAPI_NODEFLAGS_OBJ_GEOMETRY = 1 << 7, HAPI_NODEFLAGS_OBJ_CAMERA = 1 << 8, HAPI_NODEFLAGS_OBJ_LIGHT = 1 << 9,
  HAPI_NODEFLAGS_OBJ_SUBNET = 1 << 10, HAPI_NODEFLAGS_SOP_CURVE = 1 << 11, HAPI_NODEFLAGS_SOP_GUIDE = 1 << 12, HAPI_NODEFLAGS_TOP_NONSCHEDULER = 1 << 13,
  HAPI_NODEFLAGS_NON_BYPASS = 1 << 14
}
 
enum  HAPI_GroupType {
  HAPI_GROUPTYPE_INVALID = -1, HAPI_GROUPTYPE_POINT, HAPI_GROUPTYPE_PRIM, HAPI_GROUPTYPE_EDGE,
  HAPI_GROUPTYPE_MAX
}
 
enum  HAPI_AttributeOwner {
  HAPI_ATTROWNER_INVALID = -1, HAPI_ATTROWNER_VERTEX, HAPI_ATTROWNER_POINT, HAPI_ATTROWNER_PRIM,
  HAPI_ATTROWNER_DETAIL, HAPI_ATTROWNER_MAX
}
 
enum  HAPI_CurveType {
  HAPI_CURVETYPE_INVALID = -1, HAPI_CURVETYPE_LINEAR, HAPI_CURVETYPE_NURBS, HAPI_CURVETYPE_BEZIER,
  HAPI_CURVETYPE_MAX
}
 
enum  HAPI_InputCurveMethod { HAPI_CURVEMETHOD_INVALID = -1, HAPI_CURVEMETHOD_CVS, HAPI_CURVEMETHOD_BREAKPOINTS, HAPI_CURVEMETHOD_MAX }
 
enum  HAPI_InputCurveParameterization {
  HAPI_CURVEPARAMETERIZATION_INVALID = -1, HAPI_CURVEPARAMETERIZATION_UNIFORM, HAPI_CURVEPARAMETERIZATION_CHORD, HAPI_CURVEPARAMETERIZATION_CENTRIPETAL,
  HAPI_CURVEPARAMETERIZATION_MAX
}
 
enum  HAPI_VolumeType { HAPI_VOLUMETYPE_INVALID = -1, HAPI_VOLUMETYPE_HOUDINI, HAPI_VOLUMETYPE_VDB, HAPI_VOLUMETYPE_MAX }
 
enum  HAPI_VolumeVisualType {
  HAPI_VOLUMEVISTYPE_INVALID = -1, HAPI_VOLUMEVISTYPE_SMOKE, HAPI_VOLUMEVISTYPE_RAINBOW, HAPI_VOLUMEVISTYPE_ISO,
  HAPI_VOLUMEVISTYPE_INVISIBLE, HAPI_VOLUMEVISTYPE_HEIGHTFIELD, HAPI_VOLUMEVISTYPE_MAX
}
 
enum  HAPI_StorageType {
  HAPI_STORAGETYPE_INVALID = -1, HAPI_STORAGETYPE_INT, HAPI_STORAGETYPE_INT64, HAPI_STORAGETYPE_FLOAT,
  HAPI_STORAGETYPE_FLOAT64, HAPI_STORAGETYPE_STRING, HAPI_STORAGETYPE_UINT8, HAPI_STORAGETYPE_INT8,
  HAPI_STORAGETYPE_INT16, HAPI_STORAGETYPE_DICTIONARY, HAPI_STORAGETYPE_INT_ARRAY, HAPI_STORAGETYPE_INT64_ARRAY,
  HAPI_STORAGETYPE_FLOAT_ARRAY, HAPI_STORAGETYPE_FLOAT64_ARRAY, HAPI_STORAGETYPE_STRING_ARRAY, HAPI_STORAGETYPE_UINT8_ARRAY,
  HAPI_STORAGETYPE_INT8_ARRAY, HAPI_STORAGETYPE_INT16_ARRAY, HAPI_STORAGETYPE_DICTIONARY_ARRAY, HAPI_STORAGETYPE_MAX
}
 
enum  HAPI_AttributeTypeInfo {
  HAPI_ATTRIBUTE_TYPE_INVALID = -1, HAPI_ATTRIBUTE_TYPE_NONE, HAPI_ATTRIBUTE_TYPE_POINT, HAPI_ATTRIBUTE_TYPE_HPOINT,
  HAPI_ATTRIBUTE_TYPE_VECTOR, HAPI_ATTRIBUTE_TYPE_NORMAL, HAPI_ATTRIBUTE_TYPE_COLOR, HAPI_ATTRIBUTE_TYPE_QUATERNION,
  HAPI_ATTRIBUTE_TYPE_MATRIX3, HAPI_ATTRIBUTE_TYPE_MATRIX, HAPI_ATTRIBUTE_TYPE_ST, HAPI_ATTRIBUTE_TYPE_HIDDEN,
  HAPI_ATTRIBUTE_TYPE_BOX2, HAPI_ATTRIBUTE_TYPE_BOX, HAPI_ATTRIBUTE_TYPE_TEXTURE, HAPI_ATTRIBUTE_TYPE_MAX
}
 
enum  HAPI_GeoType {
  HAPI_GEOTYPE_INVALID = -1, HAPI_GEOTYPE_DEFAULT, HAPI_GEOTYPE_INTERMEDIATE, HAPI_GEOTYPE_INPUT,
  HAPI_GEOTYPE_CURVE, HAPI_GEOTYPE_MAX
}
 
enum  HAPI_PartType {
  HAPI_PARTTYPE_INVALID = -1, HAPI_PARTTYPE_MESH, HAPI_PARTTYPE_CURVE, HAPI_PARTTYPE_VOLUME,
  HAPI_PARTTYPE_INSTANCER, HAPI_PARTTYPE_BOX, HAPI_PARTTYPE_SPHERE, HAPI_PARTTYPE_MAX
}
 
enum  HAPI_InputType { HAPI_INPUT_INVALID = -1, HAPI_INPUT_TRANSFORM, HAPI_INPUT_GEOMETRY, HAPI_INPUT_MAX }
 
enum  HAPI_CurveOrders {
  HAPI_CURVE_ORDER_VARYING = 0, HAPI_CURVE_ORDER_INVALID = 1, HAPI_CURVE_ORDER_LINEAR = 2, HAPI_CURVE_ORDER_QUADRATIC = 3,
  HAPI_CURVE_ORDER_CUBIC = 4
}
 
enum  HAPI_TransformComponent {
  HAPI_TRANSFORM_TX = 0, HAPI_TRANSFORM_TY, HAPI_TRANSFORM_TZ, HAPI_TRANSFORM_RX,
  HAPI_TRANSFORM_RY, HAPI_TRANSFORM_RZ, HAPI_TRANSFORM_QX, HAPI_TRANSFORM_QY,
  HAPI_TRANSFORM_QZ, HAPI_TRANSFORM_QW, HAPI_TRANSFORM_SX, HAPI_TRANSFORM_SY,
  HAPI_TRANSFORM_SZ
}
 
enum  HAPI_RSTOrder {
  HAPI_TRS = 0, HAPI_TSR, HAPI_RTS, HAPI_RST,
  HAPI_STR, HAPI_SRT, HAPI_RSTORDER_DEFAULT = HAPI_SRT
}
 
enum  HAPI_XYZOrder {
  HAPI_XYZ = 0, HAPI_XZY, HAPI_YXZ, HAPI_YZX,
  HAPI_ZXY, HAPI_ZYX, HAPI_XYZORDER_DEFAULT = HAPI_XYZ
}
 
enum  HAPI_ImageDataFormat {
  HAPI_IMAGE_DATA_UNKNOWN = -1, HAPI_IMAGE_DATA_INT8, HAPI_IMAGE_DATA_INT16, HAPI_IMAGE_DATA_INT32,
  HAPI_IMAGE_DATA_FLOAT16, HAPI_IMAGE_DATA_FLOAT32, HAPI_IMAGE_DATA_MAX, HAPI_IMAGE_DATA_DEFAULT = HAPI_IMAGE_DATA_INT8
}
 
enum  HAPI_ImagePacking {
  HAPI_IMAGE_PACKING_UNKNOWN = -1, HAPI_IMAGE_PACKING_SINGLE, HAPI_IMAGE_PACKING_DUAL, HAPI_IMAGE_PACKING_RGB,
  HAPI_IMAGE_PACKING_BGR, HAPI_IMAGE_PACKING_RGBA, HAPI_IMAGE_PACKING_ABGR, HAPI_IMAGE_PACKING_MAX,
  HAPI_IMAGE_PACKING_DEFAULT3 = HAPI_IMAGE_PACKING_RGB, HAPI_IMAGE_PACKING_DEFAULT4 = HAPI_IMAGE_PACKING_RGBA
}
 
enum  HAPI_EnvIntType {
  HAPI_ENVINT_INVALID = -1, HAPI_ENVINT_VERSION_HOUDINI_MAJOR = 100, HAPI_ENVINT_VERSION_HOUDINI_MINOR = 110, HAPI_ENVINT_VERSION_HOUDINI_BUILD = 120,
  HAPI_ENVINT_VERSION_HOUDINI_PATCH = 130, HAPI_ENVINT_VERSION_HOUDINI_ENGINE_MAJOR = 200, HAPI_ENVINT_VERSION_HOUDINI_ENGINE_MINOR = 210, HAPI_ENVINT_VERSION_HOUDINI_ENGINE_API = 220,
  HAPI_ENVINT_MAX
}
 
enum  HAPI_SessionEnvIntType { HAPI_SESSIONENVINT_INVALID = -1, HAPI_SESSIONENVINT_LICENSE = 100, HAPI_SESSIONENVINT_MAX }
 
enum  HAPI_CacheProperty {
  HAPI_CACHEPROP_CURRENT, HAPI_CACHEPROP_HAS_MIN, HAPI_CACHEPROP_MIN, HAPI_CACHEPROP_HAS_MAX,
  HAPI_CACHEPROP_MAX, HAPI_CACHEPROP_CULL_LEVEL
}
 Identifies a memory cache. More...
 
enum  HAPI_HeightFieldSampling { HAPI_HEIGHTFIELD_SAMPLING_CENTER, HAPI_HEIGHTFIELD_SAMPLING_CORNER }
 Type of sampling for heightfield. More...
 
enum  HAPI_PDG_State { HAPI_PDG_STATE_READY, HAPI_PDG_STATE_COOKING, HAPI_PDG_STATE_MAX, HAPI_PDG_STATE_MAX_READY_STATE = HAPI_PDG_STATE_READY }
 Used with PDG functions. More...
 
enum  HAPI_PDG_EventType {
  HAPI_PDG_EVENT_NULL, HAPI_PDG_EVENT_WORKITEM_ADD, HAPI_PDG_EVENT_WORKITEM_REMOVE, HAPI_PDG_EVENT_WORKITEM_STATE_CHANGE,
  HAPI_PDG_EVENT_WORKITEM_ADD_DEP, HAPI_PDG_EVENT_WORKITEM_REMOVE_DEP, HAPI_PDG_EVENT_WORKITEM_ADD_PARENT, HAPI_PDG_EVENT_WORKITEM_REMOVE_PARENT,
  HAPI_PDG_EVENT_NODE_CLEAR, HAPI_PDG_EVENT_COOK_ERROR, HAPI_PDG_EVENT_COOK_WARNING, HAPI_PDG_EVENT_COOK_COMPLETE,
  HAPI_PDG_EVENT_DIRTY_START, HAPI_PDG_EVENT_DIRTY_STOP, HAPI_PDG_EVENT_DIRTY_ALL, HAPI_PDG_EVENT_UI_SELECT,
  HAPI_PDG_EVENT_NODE_CREATE, HAPI_PDG_EVENT_NODE_REMOVE, HAPI_PDG_EVENT_NODE_RENAME, HAPI_PDG_EVENT_NODE_CONNECT,
  HAPI_PDG_EVENT_NODE_DISCONNECT, HAPI_PDG_EVENT_NODE_FIRST_COOK, HAPI_PDG_EVENT_WORKITEM_SET_INT, HAPI_PDG_EVENT_WORKITEM_SET_FLOAT,
  HAPI_PDG_EVENT_WORKITEM_SET_STRING, HAPI_PDG_EVENT_WORKITEM_SET_FILE, HAPI_PDG_EVENT_WORKITEM_SET_DICT, HAPI_PDG_EVENT_WORKITEM_SET_PYOBJECT,
  HAPI_PDG_EVENT_WORKITEM_SET_GEOMETRY, HAPI_PDG_EVENT_WORKITEM_MERGE, HAPI_PDG_EVENT_WORKITEM_RESULT, HAPI_PDG_EVENT_WORKITEM_PRIORITY,
  HAPI_PDG_EVENT_COOK_START, HAPI_PDG_EVENT_WORKITEM_ADD_STATIC_ANCESTOR, HAPI_PDG_EVENT_WORKITEM_REMOVE_STATIC_ANCESTOR, HAPI_PDG_EVENT_NODE_PROGRESS_UPDATE,
  HAPI_PDG_EVENT_BATCH_ITEM_INITIALIZED, HAPI_PDG_EVENT_ALL, HAPI_PDG_EVENT_LOG, HAPI_PDG_EVENT_SCHEDULER_ADDED,
  HAPI_PDG_EVENT_SCHEDULER_REMOVED, HAPI_PDG_EVENT_SET_SCHEDULER, HAPI_PDG_EVENT_SERVICE_MANAGER_ALL, HAPI_PDG_EVENT_NODE_COOKED,
  HAPI_PDG_EVENT_NODE_GENERATED, HAPI_PDG_CONTEXT_EVENTS
}
 Used with PDG functions. More...
 
enum  HAPI_PDG_WorkItemState {
  HAPI_PDG_WORKITEM_UNDEFINED, HAPI_PDG_WORKITEM_UNCOOKED, HAPI_PDG_WORKITEM_WAITING, HAPI_PDG_WORKITEM_SCHEDULED,
  HAPI_PDG_WORKITEM_COOKING, HAPI_PDG_WORKITEM_COOKED_SUCCESS, HAPI_PDG_WORKITEM_COOKED_CACHE, HAPI_PDG_WORKITEM_COOKED_FAIL,
  HAPI_PDG_WORKITEM_COOKED_CANCEL, HAPI_PDG_WORKITEM_DIRTY
}
 Used with PDG functions. More...
 
enum  HAPI_TCP_PortType { HAPI_TCP_PORT_ANY, HAPI_TCP_PORT_RANGE, HAPI_TCP_PORT_LIST }
 
enum  HAPI_ThriftSharedMemoryBufferType { HAPI_THRIFT_SHARED_MEMORY_FIXED_LENGTH_BUFFER, HAPI_THRIFT_SHARED_MEMORY_RING_BUFFER }
 

Functions

 HAPI_STATIC_ASSERT (sizeof(HAPI_UInt8)==1, unsupported_size_of_uint8)
 
 HAPI_STATIC_ASSERT (sizeof(HAPI_Int8)==1, unsupported_size_of_int8)
 
 HAPI_STATIC_ASSERT (sizeof(HAPI_Int16)==2, unsupported_size_of_int16)
 
 HAPI_STATIC_ASSERT (sizeof(HAPI_Int64)==8, unsupported_size_of_long)
 

Macro Definition Documentation

#define HAPI_ATTRIB_COLOR   "Cd"

Common Default Attributes' Names

Definition at line 41 of file HAPI_Common.h.

#define HAPI_ATTRIB_INPUT_CURVE_COORDS   "hapi_input_curve_coords"

[HAPI_CACHE]

[HAPI_InputCurve] HAPI input curve attribute

Definition at line 97 of file HAPI_Common.h.

#define HAPI_ATTRIB_INSTANCE   "instance"

Common Default Attributes' Names

Definition at line 43 of file HAPI_Common.h.

#define HAPI_ATTRIB_NAME   "name"

Common Default Attributes' Names

Definition at line 42 of file HAPI_Common.h.

#define HAPI_ATTRIB_NORMAL   "N"

Common Default Attributes' Names

Definition at line 38 of file HAPI_Common.h.

#define HAPI_ATTRIB_POSITION   "P"

Common Default Attributes' Names

Definition at line 35 of file HAPI_Common.h.

#define HAPI_ATTRIB_ROT   "rot"

Common Default Attributes' Names

Definition at line 44 of file HAPI_Common.h.

#define HAPI_ATTRIB_SCALE   "scale"

Common Default Attributes' Names

Definition at line 45 of file HAPI_Common.h.

#define HAPI_ATTRIB_TANGENT   "tangentu"

Common Default Attributes' Names

Definition at line 39 of file HAPI_Common.h.

#define HAPI_ATTRIB_TANGENT2   "tangentv"

Common Default Attributes' Names

Definition at line 40 of file HAPI_Common.h.

#define HAPI_ATTRIB_UV   "uv"

Common Default Attributes' Names

Definition at line 36 of file HAPI_Common.h.

#define HAPI_ATTRIB_UV2   "uv2"

Common Default Attributes' Names

Definition at line 37 of file HAPI_Common.h.

#define HAPI_BMP_FORMAT_NAME   "Bitmap"

Common image file format names (to use with the material extract APIs). Note that you may still want to check if they are supported via HAPI_GetSupportedImageFileFormats() since all formats are loaded dynamically by Houdini on-demand so just because these formats are defined here doesn't mean they are supported in your instance.

Definition at line 64 of file HAPI_Common.h.

#define HAPI_C_ENUM_TYPEDEF (   enum_name)    typedef enum enum_name enum_name;

[HAPI_InputCurve]

Definition at line 106 of file HAPI_Common.h.

#define HAPI_C_STRUCT_TYPEDEF (   struct_name)    typedef struct struct_name struct_name;

Definition at line 108 of file HAPI_Common.h.

#define HAPI_CACHE_COP2_COOK   "COP Cook Cache"

[HAPI_CACHE] Common cache names. You can see these same cache names in the Cache Manager window in Houdini (Windows > Cache Manager).

Definition at line 85 of file HAPI_Common.h.

#define HAPI_CACHE_COP2_FLIPBOOK   "COP Flipbook Cache"

Definition at line 86 of file HAPI_Common.h.

#define HAPI_CACHE_GL_TEXTURE   "OpenGL Texture Cache"

Definition at line 89 of file HAPI_Common.h.

#define HAPI_CACHE_GL_VERTEX   "OpenGL Vertex Cache"

Definition at line 90 of file HAPI_Common.h.

#define HAPI_CACHE_IMAGE   "Image Cache"

Definition at line 87 of file HAPI_Common.h.

#define HAPI_CACHE_OBJ   "Object Transform Cache"

Definition at line 88 of file HAPI_Common.h.

#define HAPI_CACHE_SOP   "SOP Cache"

Definition at line 91 of file HAPI_Common.h.

#define HAPI_CACHE_VEX   "VEX File Cache"

Definition at line 92 of file HAPI_Common.h.

#define HAPI_COLOR_VECTOR_SIZE   4

Definition at line 23 of file HAPI_Common.h.

#define HAPI_CV_VECTOR_SIZE   4

Definition at line 24 of file HAPI_Common.h.

#define HAPI_DEFAULT_IMAGE_FORMAT_NAME   HAPI_PNG_FORMAT_NAME

Default image file format's name - used when the image generated and has no "original" file format and the user does not specify a format to convert to.

Definition at line 72 of file HAPI_Common.h.

#define HAPI_ENV_CLIENT_NAME   "HAPI_CLIENT_NAME"

Definition at line 80 of file HAPI_Common.h.

#define HAPI_ENV_HIP   "HIP"

Environment variables.

Definition at line 78 of file HAPI_Common.h.

#define HAPI_ENV_JOB   "JOB"

Definition at line 79 of file HAPI_Common.h.

#define HAPI_EULER_VECTOR_SIZE   3

Definition at line 21 of file HAPI_Common.h.

#define HAPI_GLOBAL_NODES_NODE_NAME   "GlobalNodes"

Name of subnet OBJ node containing the global nodes.

Definition at line 75 of file HAPI_Common.h.

#define HAPI_INVALID_PARM_ID   -1

Definition at line 29 of file HAPI_Common.h.

#define HAPI_JPEG_FORMAT_NAME   "JPEG"

Common image file format names (to use with the material extract APIs). Note that you may still want to check if they are supported via HAPI_GetSupportedImageFileFormats() since all formats are loaded dynamically by Houdini on-demand so just because these formats are defined here doesn't mean they are supported in your instance.

Definition at line 63 of file HAPI_Common.h.

#define HAPI_MAX_NUM_CONNECTIONS   128

Definition at line 31 of file HAPI_Common.h.

#define HAPI_NORMAL_VECTOR_SIZE   3

Definition at line 19 of file HAPI_Common.h.

#define HAPI_PNG_FORMAT_NAME   "PNG"

Common image file format names (to use with the material extract APIs). Note that you may still want to check if they are supported via HAPI_GetSupportedImageFileFormats() since all formats are loaded dynamically by Houdini on-demand so just because these formats are defined here doesn't mean they are supported in your instance.

Definition at line 62 of file HAPI_Common.h.

#define HAPI_POSITION_VECTOR_SIZE   3

Definition at line 16 of file HAPI_Common.h.

#define HAPI_PRIM_MAX_VERTEX_COUNT   16

Definition at line 27 of file HAPI_Common.h.

#define HAPI_PRIM_MIN_VERTEX_COUNT   1

Definition at line 26 of file HAPI_Common.h.

#define HAPI_QUATERNION_VECTOR_SIZE   4

Definition at line 20 of file HAPI_Common.h.

#define HAPI_RAW_FORMAT_NAME   "HAPI_RAW"

Common image file format names (to use with the material extract APIs). Note that you may still want to check if they are supported via HAPI_GetSupportedImageFileFormats() since all formats are loaded dynamically by Houdini on-demand so just because these formats are defined here doesn't mean they are supported in your instance.

Definition at line 61 of file HAPI_Common.h.

#define HAPI_SCALE_VECTOR_SIZE   3

Definition at line 17 of file HAPI_Common.h.

#define HAPI_SHEAR_VECTOR_SIZE   3

Definition at line 18 of file HAPI_Common.h.

#define HAPI_TGA_FORMAT_NAME   "Targa"

Common image file format names (to use with the material extract APIs). Note that you may still want to check if they are supported via HAPI_GetSupportedImageFileFormats() since all formats are loaded dynamically by Houdini on-demand so just because these formats are defined here doesn't mean they are supported in your instance.

Definition at line 66 of file HAPI_Common.h.

#define HAPI_TIFF_FORMAT_NAME   "TIFF"

Common image file format names (to use with the material extract APIs). Note that you may still want to check if they are supported via HAPI_GetSupportedImageFileFormats() since all formats are loaded dynamically by Houdini on-demand so just because these formats are defined here doesn't mean they are supported in your instance.

Definition at line 65 of file HAPI_Common.h.

#define HAPI_UNGROUPED_GROUP_NAME   "__ungrouped_group"

This is the name of the primitive group created from all the primitives that are not in any user-defined group. This way, when you put all the groups together you cover the entire mesh. This is important for some clients where the mesh has to be defined in terms of submeshes that cover the entire original mesh.

Definition at line 53 of file HAPI_Common.h.

#define HAPI_UV_VECTOR_SIZE   2

Definition at line 22 of file HAPI_Common.h.

Typedef Documentation

Definition at line 162 of file HAPI_Common.h.

typedef char HAPI_Bool

Definition at line 119 of file HAPI_Common.h.

Definition at line 276 of file HAPI_Common.h.

When we load a HIP file, we associate a HIP file ID with the created nodes so that they can be looked up later

Definition at line 186 of file HAPI_Common.h.

typedef int16_t HAPI_Int16

Definition at line 142 of file HAPI_Common.h.

typedef int64_t HAPI_Int64

Definition at line 144 of file HAPI_Common.h.

typedef int8_t HAPI_Int8

Definition at line 140 of file HAPI_Common.h.

Definition at line 556 of file HAPI_Common.h.

typedef int HAPI_NodeId

See HAPI_Nodes_Basics.

Definition at line 165 of file HAPI_Common.h.

Definition at line 516 of file HAPI_Common.h.

typedef int HAPI_ParmId

Either get this from the HAPI_ParmInfo or HAPI_GetParmIdFromName(). See HAPI_Parameters.

Definition at line 169 of file HAPI_Common.h.

typedef int HAPI_PartId

Use this with HAPI_GetPartInfo(). See HAPI_Parts.

Definition at line 173 of file HAPI_Common.h.

Use this with PDG functions.

Definition at line 182 of file HAPI_Common.h.

Use this with PDG functions.

Definition at line 176 of file HAPI_Common.h.

Backwards compatibility for HAPI_PDG_WorkitemId.

Definition at line 179 of file HAPI_Common.h.

Backwards compatibility for HAPI_PDG_WorkitemInfo.

Definition at line 2083 of file HAPI_Common.h.

Backwards compatibility for HAPI_PDG_WorkitemResultInfo.

Definition at line 2102 of file HAPI_Common.h.

Backwards compatibility for HAPI_PDG_WorkitemState.

Definition at line 1054 of file HAPI_Common.h.

Definition at line 152 of file HAPI_Common.h.

Has to be 64-bit.

Definition at line 156 of file HAPI_Common.h.

Use this with HAPI_GetString() to get the value. See HAPI_Fundamentals_Strings.

Definition at line 160 of file HAPI_Common.h.

typedef uint8_t HAPI_UInt8

Definition at line 135 of file HAPI_Common.h.

Enumeration Type Documentation

Enumerator
HAPI_ATTROWNER_INVALID 
HAPI_ATTROWNER_VERTEX 
HAPI_ATTROWNER_POINT 
HAPI_ATTROWNER_PRIM 
HAPI_ATTROWNER_DETAIL 
HAPI_ATTROWNER_MAX 

Definition at line 568 of file HAPI_Common.h.

Enumerator
HAPI_ATTRIBUTE_TYPE_INVALID 
HAPI_ATTRIBUTE_TYPE_NONE 

Implicit type based on data.

HAPI_ATTRIBUTE_TYPE_POINT 

Position.

HAPI_ATTRIBUTE_TYPE_HPOINT 

Homogeneous position.

HAPI_ATTRIBUTE_TYPE_VECTOR 

Direction vector.

HAPI_ATTRIBUTE_TYPE_NORMAL 

Normal.

HAPI_ATTRIBUTE_TYPE_COLOR 

Color.

HAPI_ATTRIBUTE_TYPE_QUATERNION 

Quaternion.

HAPI_ATTRIBUTE_TYPE_MATRIX3 

3x3 Matrix

HAPI_ATTRIBUTE_TYPE_MATRIX 

Matrix.

HAPI_ATTRIBUTE_TYPE_ST 

Parametric interval.

HAPI_ATTRIBUTE_TYPE_HIDDEN 

"Private" (hidden)

HAPI_ATTRIBUTE_TYPE_BOX2 

2x2 Bounding box

HAPI_ATTRIBUTE_TYPE_BOX 

3x3 Bounding box

HAPI_ATTRIBUTE_TYPE_TEXTURE 

Texture coordinate.

HAPI_ATTRIBUTE_TYPE_MAX 

Definition at line 657 of file HAPI_Common.h.

Identifies a memory cache.

Enumerator
HAPI_CACHEPROP_CURRENT 

Current memory usage in MB. Setting this to 0 invokes a cache clear.

HAPI_CACHEPROP_HAS_MIN 
HAPI_CACHEPROP_MIN 

True if it actually has a minimum size.

HAPI_CACHEPROP_HAS_MAX 

Min cache memory limit in MB.

HAPI_CACHEPROP_MAX 

True if it actually has a maximum size.

HAPI_CACHEPROP_CULL_LEVEL 

Max cache memory limit in MB.

How aggressive to cull memory. This only works for:

  • HAPI_CACHE_COP2_COOK where: 0 -> Never reduce inactive cache. 1 -> Always reduce inactive cache.
  • HAPI_CACHE_OBJ where: 0 -> Never enforce the max memory limit. 1 -> Always enforce the max memory limit.
  • HAPI_CACHE_SOP where: 0 -> When to Unload = Never When to Limit Max Memory = Never 1-2 -> When to Unload = Based on Flag When to Limit Max Memory = Never 3-4 -> When to Unload = Based on Flag When to Limit Max Memory = Always 5 -> When to Unload = Always When to Limit Max Memory = Always

Definition at line 873 of file HAPI_Common.h.

Enumerator
HAPI_CHOICELISTTYPE_NONE 

Parameter is not a menu.

HAPI_CHOICELISTTYPE_NORMAL 

Menu Only, Single Selection.

HAPI_CHOICELISTTYPE_MINI 

Mini Menu Only, Single Selection.

HAPI_CHOICELISTTYPE_REPLACE 

Field + Single Selection Menu.

HAPI_CHOICELISTTYPE_TOGGLE 

Field + Multiple Selection Menu.

Definition at line 475 of file HAPI_Common.h.

Enumerator
HAPI_CURVE_ORDER_VARYING 
HAPI_CURVE_ORDER_INVALID 
HAPI_CURVE_ORDER_LINEAR 
HAPI_CURVE_ORDER_QUADRATIC 
HAPI_CURVE_ORDER_CUBIC 

Definition at line 738 of file HAPI_Common.h.

Enumerator
HAPI_CURVETYPE_INVALID 
HAPI_CURVETYPE_LINEAR 
HAPI_CURVETYPE_NURBS 
HAPI_CURVETYPE_BEZIER 
HAPI_CURVETYPE_MAX 

Definition at line 579 of file HAPI_Common.h.

Used with HAPI_GetEnvInt() to retrieve basic information about the HAPI implementation currently being linked against. Note that as of HAPI version 2.0, these enum values are guaranteed never to change so you can reliably get this information from any post-2.0 version of HAPI. The same goes for the actual HAPI_GetEnvInt() API call.

Enumerator
HAPI_ENVINT_INVALID 
HAPI_ENVINT_VERSION_HOUDINI_MAJOR 

The three components of the Houdini version that HAPI is expecting to link against.

HAPI_ENVINT_VERSION_HOUDINI_MINOR 

The three components of the Houdini version that HAPI is expecting to link against.

HAPI_ENVINT_VERSION_HOUDINI_BUILD 

The three components of the Houdini version that HAPI is expecting to link against.

HAPI_ENVINT_VERSION_HOUDINI_PATCH 

The three components of the Houdini version that HAPI is expecting to link against.

HAPI_ENVINT_VERSION_HOUDINI_ENGINE_MAJOR 

The two components of the Houdini Engine (marketed) version.

HAPI_ENVINT_VERSION_HOUDINI_ENGINE_MINOR 

The two components of the Houdini Engine (marketed) version.

HAPI_ENVINT_VERSION_HOUDINI_ENGINE_API 

This is a monotonously increasing API version number that can be used to lock against a certain API for compatibility purposes. Basically, when this number changes code compiled against the HAPI.h methods might no longer compile. Semantic changes to the methods will also cause this version to increase. This number will be reset to 0 every time the Houdini Engine version is bumped.

HAPI_ENVINT_MAX 

Definition at line 828 of file HAPI_Common.h.

Enumerator
HAPI_ERRORCODE_ASSET_DEF_NOT_FOUND 
HAPI_ERRORCODE_PYTHON_NODE_ERROR 

Definition at line 270 of file HAPI_Common.h.

Enumerator
HAPI_GEOTYPE_INVALID 
HAPI_GEOTYPE_DEFAULT 

Most geos will be of this type which essentially means a geo not of the other types.

HAPI_GEOTYPE_INTERMEDIATE 

An exposed edit node. See HAPI_IntermediateAssetsResults.

HAPI_GEOTYPE_INPUT 

An input geo that can accept geometry from the host. See HAPI_AssetInputs_MarshallingGeometryIntoHoudini.

HAPI_GEOTYPE_CURVE 

A curve. See HAPI_Curves.

HAPI_GEOTYPE_MAX 

Definition at line 692 of file HAPI_Common.h.

Enumerator
HAPI_GROUPTYPE_INVALID 
HAPI_GROUPTYPE_POINT 
HAPI_GROUPTYPE_PRIM 
HAPI_GROUPTYPE_EDGE 
HAPI_GROUPTYPE_MAX 

Definition at line 558 of file HAPI_Common.h.

Type of sampling for heightfield.

Enumerator
HAPI_HEIGHTFIELD_SAMPLING_CENTER 
HAPI_HEIGHTFIELD_SAMPLING_CORNER 

Definition at line 906 of file HAPI_Common.h.

Enumerator
HAPI_IMAGE_DATA_UNKNOWN 
HAPI_IMAGE_DATA_INT8 
HAPI_IMAGE_DATA_INT16 
HAPI_IMAGE_DATA_INT32 
HAPI_IMAGE_DATA_FLOAT16 
HAPI_IMAGE_DATA_FLOAT32 
HAPI_IMAGE_DATA_MAX 
HAPI_IMAGE_DATA_DEFAULT 

Definition at line 792 of file HAPI_Common.h.

Enumerator
HAPI_IMAGE_PACKING_UNKNOWN 
HAPI_IMAGE_PACKING_SINGLE 
HAPI_IMAGE_PACKING_DUAL 

Single Channel.

HAPI_IMAGE_PACKING_RGB 

Dual Channel.

HAPI_IMAGE_PACKING_BGR 

RGB.

HAPI_IMAGE_PACKING_RGBA 

RGB Reversed.

HAPI_IMAGE_PACKING_ABGR 

RGBA.

HAPI_IMAGE_PACKING_MAX 

RGBA Reversed.

HAPI_IMAGE_PACKING_DEFAULT3 
HAPI_IMAGE_PACKING_DEFAULT4 

Definition at line 806 of file HAPI_Common.h.

Enumerator
HAPI_CURVEMETHOD_INVALID 
HAPI_CURVEMETHOD_CVS 
HAPI_CURVEMETHOD_BREAKPOINTS 
HAPI_CURVEMETHOD_MAX 

Definition at line 589 of file HAPI_Common.h.

Enumerator
HAPI_CURVEPARAMETERIZATION_INVALID 
HAPI_CURVEPARAMETERIZATION_UNIFORM 
HAPI_CURVEPARAMETERIZATION_CHORD 
HAPI_CURVEPARAMETERIZATION_CENTRIPETAL 
HAPI_CURVEPARAMETERIZATION_MAX 

Definition at line 598 of file HAPI_Common.h.

Enumerator
HAPI_INPUT_INVALID 
HAPI_INPUT_TRANSFORM 
HAPI_INPUT_GEOMETRY 
HAPI_INPUT_MAX 

Definition at line 729 of file HAPI_Common.h.

Enumerator
HAPI_JOB_STATUS_RUNNING 
HAPI_JOB_STATUS_IDLE 
HAPI_JOB_STATUS_MAX 

Definition at line 232 of file HAPI_Common.h.

Enumerator
HAPI_LICENSE_NONE 
HAPI_LICENSE_HOUDINI_ENGINE 
HAPI_LICENSE_HOUDINI 
HAPI_LICENSE_HOUDINI_FX 
HAPI_LICENSE_HOUDINI_ENGINE_INDIE 
HAPI_LICENSE_HOUDINI_INDIE 
HAPI_LICENSE_HOUDINI_ENGINE_UNITY_UNREAL 
HAPI_LICENSE_HOUDINI_EDUCATION 
HAPI_LICENSE_HOUDINI_ENGINE_EDUCATION 
HAPI_LICENSE_MAX 

Definition at line 191 of file HAPI_Common.h.

Flags used to filter compositions of node lists. Flags marked 'Recursive Flag' will exclude children whos parent does not satisfy the flag, even if the children themselves satisfy the flag.

Enumerator
HAPI_NODEFLAGS_ANY 
HAPI_NODEFLAGS_NONE 
HAPI_NODEFLAGS_DISPLAY 

Recursive Flag.

HAPI_NODEFLAGS_RENDER 

Recursive Flag.

HAPI_NODEFLAGS_TEMPLATED 
HAPI_NODEFLAGS_LOCKED 
HAPI_NODEFLAGS_EDITABLE 
HAPI_NODEFLAGS_BYPASS 
HAPI_NODEFLAGS_NETWORK 
HAPI_NODEFLAGS_OBJ_GEOMETRY 

OBJ Node Specific Flags.

HAPI_NODEFLAGS_OBJ_CAMERA 
HAPI_NODEFLAGS_OBJ_LIGHT 
HAPI_NODEFLAGS_OBJ_SUBNET 
HAPI_NODEFLAGS_SOP_CURVE 

SOP Node Specific Flags Looks for "curve"

HAPI_NODEFLAGS_SOP_GUIDE 

Looks for Guide Geometry.

HAPI_NODEFLAGS_TOP_NONSCHEDULER 

TOP Node Specific Flags All TOP nodes except schedulers

HAPI_NODEFLAGS_NON_BYPASS 

Recursive Flag Nodes that are not bypassed

Definition at line 521 of file HAPI_Common.h.

Enumerator
HAPI_NODETYPE_ANY 
HAPI_NODETYPE_NONE 
HAPI_NODETYPE_OBJ 
HAPI_NODETYPE_SOP 
HAPI_NODETYPE_CHOP 
HAPI_NODETYPE_ROP 
HAPI_NODETYPE_SHOP 
HAPI_NODETYPE_COP 
HAPI_NODETYPE_VOP 
HAPI_NODETYPE_DOP 
HAPI_NODETYPE_TOP 

Definition at line 501 of file HAPI_Common.h.

Enumerator
HAPI_PACKEDPRIM_INSTANCING_MODE_INVALID 
HAPI_PACKEDPRIM_INSTANCING_MODE_DISABLED 
HAPI_PACKEDPRIM_INSTANCING_MODE_HIERARCHY 
HAPI_PACKEDPRIM_INSTANCING_MODE_FLAT 
HAPI_PACKEDPRIM_INSTANCING_MODE_MAX 

Definition at line 307 of file HAPI_Common.h.

Represents the data type of a parm. As you can see, some of these high level types share the same underlying raw data type. For instance, both string and file parameter types can be represented with strings, yet semantically they are different. We will group high level parameter types that share an underlying raw data type together, so you can always check the raw data type of a parameter based on its high level data type by checking a range of values.

Enumerator
HAPI_PARMTYPE_INT 

}@

HAPI_PARMTYPE_MULTIPARMLIST 

}@

HAPI_PARMTYPE_TOGGLE 

}@

HAPI_PARMTYPE_BUTTON 

}@

HAPI_PARMTYPE_FLOAT 

}@

HAPI_PARMTYPE_COLOR 

}@

HAPI_PARMTYPE_STRING 
HAPI_PARMTYPE_PATH_FILE 
HAPI_PARMTYPE_PATH_FILE_GEO 
HAPI_PARMTYPE_PATH_FILE_IMAGE 
HAPI_PARMTYPE_NODE 
HAPI_PARMTYPE_FOLDERLIST 
HAPI_PARMTYPE_FOLDERLIST_RADIO 
HAPI_PARMTYPE_FOLDER 
HAPI_PARMTYPE_LABEL 
HAPI_PARMTYPE_SEPARATOR 
HAPI_PARMTYPE_PATH_FILE_DIR 
HAPI_PARMTYPE_MAX 

Total number of supported parameter types.

HAPI_PARMTYPE_INT_START 
HAPI_PARMTYPE_INT_END 
HAPI_PARMTYPE_FLOAT_START 
HAPI_PARMTYPE_FLOAT_END 
HAPI_PARMTYPE_STRING_START 
HAPI_PARMTYPE_STRING_END 
HAPI_PARMTYPE_PATH_START 
HAPI_PARMTYPE_PATH_END 
HAPI_PARMTYPE_NODE_START 
HAPI_PARMTYPE_NODE_END 
HAPI_PARMTYPE_CONTAINER_START 
HAPI_PARMTYPE_CONTAINER_END 
HAPI_PARMTYPE_NONVALUE_START 
HAPI_PARMTYPE_NONVALUE_END 

Definition at line 343 of file HAPI_Common.h.

Enumerator
HAPI_PARTTYPE_INVALID 
HAPI_PARTTYPE_MESH 
HAPI_PARTTYPE_CURVE 
HAPI_PARTTYPE_VOLUME 
HAPI_PARTTYPE_INSTANCER 
HAPI_PARTTYPE_BOX 
HAPI_PARTTYPE_SPHERE 
HAPI_PARTTYPE_MAX 

Definition at line 716 of file HAPI_Common.h.

Used with PDG functions.

Enumerator
HAPI_PDG_EVENT_NULL 

An empty, undefined event. Should be ignored.

HAPI_PDG_EVENT_WORKITEM_ADD 

Sent when a new work item is added by a node.

HAPI_PDG_EVENT_WORKITEM_REMOVE 

Sent when a work item is deleted from a node.

HAPI_PDG_EVENT_WORKITEM_STATE_CHANGE 

Sent when a work item's state changes.

HAPI_PDG_EVENT_WORKITEM_ADD_DEP 

Sent when a work item has a dependency added.

HAPI_PDG_EVENT_WORKITEM_REMOVE_DEP 

Sent when a dependency is removed from a work item.

HAPI_PDG_EVENT_WORKITEM_ADD_PARENT 

Sent from dynamic work items that generate from a cooked item.

HAPI_PDG_EVENT_WORKITEM_REMOVE_PARENT 

Sent when the parent item for a work item is deleted.

HAPI_PDG_EVENT_NODE_CLEAR 

A node event that indicates that node is about to have all its work items cleared.

HAPI_PDG_EVENT_COOK_ERROR 

Sent when an error is issued by the node.

HAPI_PDG_EVENT_COOK_WARNING 

Sent when an warning is issued by the node.

HAPI_PDG_EVENT_COOK_COMPLETE 

Sent for each node in the graph, when a cook completes.

HAPI_PDG_EVENT_DIRTY_START 

A node event indicating that one more items in the node will be dirtied.

HAPI_PDG_EVENT_DIRTY_STOP 

A node event indicating that the node has finished dirtying items.

HAPI_PDG_EVENT_DIRTY_ALL 

A event indicating that the entire graph is about to be dirtied.

HAPI_PDG_EVENT_UI_SELECT 

A work item event that indicates the item has been selected in the TOPs UI.

HAPI_PDG_EVENT_NODE_CREATE 

Sent when a new node is created.

HAPI_PDG_EVENT_NODE_REMOVE 

Sent when a node was removed from the graph.

HAPI_PDG_EVENT_NODE_RENAME 

Sent when a node was renamed.

HAPI_PDG_EVENT_NODE_CONNECT 

Sent when a node was connected to another node.

HAPI_PDG_EVENT_NODE_DISCONNECT 

Sent when a node is disconnected from another node.

HAPI_PDG_EVENT_NODE_FIRST_COOK 

Sent when a node cooks for the first time.

HAPI_PDG_EVENT_WORKITEM_SET_INT 

Deprecated.

HAPI_PDG_EVENT_WORKITEM_SET_FLOAT 

Deprecated.

HAPI_PDG_EVENT_WORKITEM_SET_STRING 

Deprecated.

HAPI_PDG_EVENT_WORKITEM_SET_FILE 

Deprecated.

HAPI_PDG_EVENT_WORKITEM_SET_DICT 

Deprecated.

HAPI_PDG_EVENT_WORKITEM_SET_PYOBJECT 

Deprecated.

HAPI_PDG_EVENT_WORKITEM_SET_GEOMETRY 

Deprecated.

HAPI_PDG_EVENT_WORKITEM_MERGE 

Deprecated.

HAPI_PDG_EVENT_WORKITEM_RESULT 

Sent when an output file is added to a work item.

HAPI_PDG_EVENT_WORKITEM_PRIORITY 

Deprecated.

HAPI_PDG_EVENT_COOK_START 

Sent for each node in the graph, when a cook starts.

HAPI_PDG_EVENT_WORKITEM_ADD_STATIC_ANCESTOR 

Deprecated.

HAPI_PDG_EVENT_WORKITEM_REMOVE_STATIC_ANCESTOR 

Deprecated.

HAPI_PDG_EVENT_NODE_PROGRESS_UPDATE 

Deprecated.

HAPI_PDG_EVENT_BATCH_ITEM_INITIALIZED 

Deprecated.

HAPI_PDG_EVENT_ALL 

A special enum that represents the OR of all event types.

HAPI_PDG_EVENT_LOG 

A special enum that represents the OR of both the CookError and CookWarning events.

HAPI_PDG_EVENT_SCHEDULER_ADDED 

Sent when a new scheduler is added to the graph.

HAPI_PDG_EVENT_SCHEDULER_REMOVED 

Sent when a scheduler is removed from the graph.

HAPI_PDG_EVENT_SET_SCHEDULER 

Deprecated.

HAPI_PDG_EVENT_SERVICE_MANAGER_ALL 

Deprecated.

HAPI_PDG_EVENT_NODE_COOKED 

Sent when a node finishes cooking.

HAPI_PDG_EVENT_NODE_GENERATED 

Sent when a node finished generating.

HAPI_PDG_CONTEXT_EVENTS 

Definition at line 925 of file HAPI_Common.h.

Used with PDG functions.

Enumerator
HAPI_PDG_STATE_READY 
HAPI_PDG_STATE_COOKING 
HAPI_PDG_STATE_MAX 
HAPI_PDG_STATE_MAX_READY_STATE 

Definition at line 914 of file HAPI_Common.h.

Used with PDG functions.

Enumerator
HAPI_PDG_WORKITEM_UNDEFINED 
HAPI_PDG_WORKITEM_UNCOOKED 
HAPI_PDG_WORKITEM_WAITING 
HAPI_PDG_WORKITEM_SCHEDULED 
HAPI_PDG_WORKITEM_COOKING 
HAPI_PDG_WORKITEM_COOKED_SUCCESS 
HAPI_PDG_WORKITEM_COOKED_CACHE 
HAPI_PDG_WORKITEM_COOKED_FAIL 
HAPI_PDG_WORKITEM_COOKED_CANCEL 
HAPI_PDG_WORKITEM_DIRTY 

Definition at line 1038 of file HAPI_Common.h.

Enumerator
HAPI_PERMISSIONS_NON_APPLICABLE 
HAPI_PERMISSIONS_READ_WRITE 
HAPI_PERMISSIONS_READ_ONLY 
HAPI_PERMISSIONS_WRITE_ONLY 
HAPI_PERMISSIONS_MAX 

Definition at line 317 of file HAPI_Common.h.

Enumerator
HAPI_PRESETTYPE_INVALID 
HAPI_PRESETTYPE_BINARY 

Just the presets binary blob.

HAPI_PRESETTYPE_IDX 

Presets blob within an .idx file format.

HAPI_PRESETTYPE_MAX 

Definition at line 490 of file HAPI_Common.h.

Corresponds to the types as shown in the Houdini Type Properties window and in DialogScript files. Available on HAPI_ParmInfo See: Parameter types

Enumerator
HAPI_PRM_SCRIPT_TYPE_INT 

"int", "integer"

HAPI_PRM_SCRIPT_TYPE_FLOAT 
HAPI_PRM_SCRIPT_TYPE_ANGLE 
HAPI_PRM_SCRIPT_TYPE_STRING 
HAPI_PRM_SCRIPT_TYPE_FILE 
HAPI_PRM_SCRIPT_TYPE_DIRECTORY 
HAPI_PRM_SCRIPT_TYPE_IMAGE 
HAPI_PRM_SCRIPT_TYPE_GEOMETRY 
HAPI_PRM_SCRIPT_TYPE_TOGGLE 

"toggle", "embed"

HAPI_PRM_SCRIPT_TYPE_BUTTON 
HAPI_PRM_SCRIPT_TYPE_VECTOR2 
HAPI_PRM_SCRIPT_TYPE_VECTOR3 

"vector", "vector3"

HAPI_PRM_SCRIPT_TYPE_VECTOR4 
HAPI_PRM_SCRIPT_TYPE_INTVECTOR2 
HAPI_PRM_SCRIPT_TYPE_INTVECTOR3 

"intvector", "intvector3"

HAPI_PRM_SCRIPT_TYPE_INTVECTOR4 
HAPI_PRM_SCRIPT_TYPE_UV 
HAPI_PRM_SCRIPT_TYPE_UVW 
HAPI_PRM_SCRIPT_TYPE_DIR 

"dir", "direction"

HAPI_PRM_SCRIPT_TYPE_COLOR 

"color", "rgb"

HAPI_PRM_SCRIPT_TYPE_COLOR4 

"color4", "rgba"

HAPI_PRM_SCRIPT_TYPE_HUECIRCLE 
HAPI_PRM_SCRIPT_TYPE_OPPATH 
HAPI_PRM_SCRIPT_TYPE_OPLIST 
HAPI_PRM_SCRIPT_TYPE_OBJECT 
HAPI_PRM_SCRIPT_TYPE_OBJECTLIST 
HAPI_PRM_SCRIPT_TYPE_RENDER 
HAPI_PRM_SCRIPT_TYPE_SEPARATOR 
HAPI_PRM_SCRIPT_TYPE_GEOMETRY_DATA 
HAPI_PRM_SCRIPT_TYPE_KEY_VALUE_DICT 
HAPI_PRM_SCRIPT_TYPE_LABEL 
HAPI_PRM_SCRIPT_TYPE_RGBAMASK 
HAPI_PRM_SCRIPT_TYPE_ORDINAL 
HAPI_PRM_SCRIPT_TYPE_RAMP_FLT 
HAPI_PRM_SCRIPT_TYPE_RAMP_RGB 
HAPI_PRM_SCRIPT_TYPE_FLOAT_LOG 
HAPI_PRM_SCRIPT_TYPE_INT_LOG 
HAPI_PRM_SCRIPT_TYPE_DATA 
HAPI_PRM_SCRIPT_TYPE_FLOAT_MINMAX 
HAPI_PRM_SCRIPT_TYPE_INT_MINMAX 
HAPI_PRM_SCRIPT_TYPE_INT_STARTEND 
HAPI_PRM_SCRIPT_TYPE_BUTTONSTRIP 
HAPI_PRM_SCRIPT_TYPE_ICONSTRIP 
HAPI_PRM_SCRIPT_TYPE_GROUPRADIO 

The following apply to HAPI_PARMTYPE_FOLDER type parms. Radio buttons Folder

HAPI_PRM_SCRIPT_TYPE_GROUPCOLLAPSIBLE 

Collapsible Folder.

HAPI_PRM_SCRIPT_TYPE_GROUPSIMPLE 

Simple Folder.

HAPI_PRM_SCRIPT_TYPE_GROUP 

Tabs Folder.

Definition at line 410 of file HAPI_Common.h.

Enumerator
HAPI_RAMPTYPE_INVALID 
HAPI_RAMPTYPE_FLOAT 
HAPI_RAMPTYPE_COLOR 
HAPI_RAMPTYPE_MAX 

Definition at line 327 of file HAPI_Common.h.

Enumerator
HAPI_RESULT_SUCCESS 
HAPI_RESULT_FAILURE 
HAPI_RESULT_ALREADY_INITIALIZED 
HAPI_RESULT_NOT_INITIALIZED 
HAPI_RESULT_CANT_LOADFILE 
HAPI_RESULT_PARM_SET_FAILED 
HAPI_RESULT_INVALID_ARGUMENT 
HAPI_RESULT_CANT_LOAD_GEO 
HAPI_RESULT_CANT_GENERATE_PRESET 
HAPI_RESULT_CANT_LOAD_PRESET 
HAPI_RESULT_ASSET_DEF_ALREADY_LOADED 
HAPI_RESULT_NO_LICENSE_FOUND 
HAPI_RESULT_DISALLOWED_NC_LICENSE_FOUND 
HAPI_RESULT_DISALLOWED_NC_ASSET_WITH_C_LICENSE 
HAPI_RESULT_DISALLOWED_NC_ASSET_WITH_LC_LICENSE 
HAPI_RESULT_DISALLOWED_LC_ASSET_WITH_C_LICENSE 
HAPI_RESULT_DISALLOWED_HENGINEINDIE_W_3PARTY_PLUGIN 
HAPI_RESULT_ASSET_INVALID 
HAPI_RESULT_NODE_INVALID 
HAPI_RESULT_USER_INTERRUPTED 
HAPI_RESULT_INVALID_SESSION 

Definition at line 240 of file HAPI_Common.h.

Enumerator
HAPI_TRS 
HAPI_TSR 
HAPI_RTS 
HAPI_RST 
HAPI_STR 
HAPI_SRT 
HAPI_RSTORDER_DEFAULT 

Definition at line 766 of file HAPI_Common.h.

This enum is to be used with HAPI_GetSessionEnvInt() to retrieve basic session-specific information.

Enumerator
HAPI_SESSIONENVINT_INVALID 
HAPI_SESSIONENVINT_LICENSE 

License Type. See HAPI_License.

HAPI_SESSIONENVINT_MAX 

Definition at line 861 of file HAPI_Common.h.

Enumerator
HAPI_SESSION_INPROCESS 
HAPI_SESSION_THRIFT 
HAPI_SESSION_CUSTOM1 
HAPI_SESSION_CUSTOM2 
HAPI_SESSION_CUSTOM3 
HAPI_SESSION_MAX 

Definition at line 278 of file HAPI_Common.h.

enum HAPI_State
Enumerator
HAPI_STATE_READY 

Everything cook successfully without errors.

HAPI_STATE_READY_WITH_FATAL_ERRORS 

You should abort the cook.

HAPI_STATE_READY_WITH_COOK_ERRORS 

Only some objects failed.

HAPI_STATE_STARTING_COOK 
HAPI_STATE_COOKING 
HAPI_STATE_STARTING_LOAD 
HAPI_STATE_LOADING 
HAPI_STATE_MAX 
HAPI_STATE_MAX_READY_STATE 

Definition at line 289 of file HAPI_Common.h.

Enumerator
HAPI_STATUS_CALL_RESULT 
HAPI_STATUS_COOK_RESULT 
HAPI_STATUS_COOK_STATE 
HAPI_STATUS_MAX 

Definition at line 206 of file HAPI_Common.h.

Enumerator
HAPI_STATUSVERBOSITY_0 
HAPI_STATUSVERBOSITY_1 
HAPI_STATUSVERBOSITY_2 
HAPI_STATUSVERBOSITY_ALL 

Used for Results. Equivalent to HAPI_STATUSVERBOSITY_2.

HAPI_STATUSVERBOSITY_ERRORS 

Used for Results. Equivalent to HAPI_STATUSVERBOSITY_0.

HAPI_STATUSVERBOSITY_WARNINGS 

Used for Results. Equivalent to HAPI_STATUSVERBOSITY_1.

HAPI_STATUSVERBOSITY_MESSAGES 

Used for Results. Equivalent to HAPI_STATUSVERBOSITY_2.

Definition at line 215 of file HAPI_Common.h.

Enumerator
HAPI_STORAGETYPE_INVALID 
HAPI_STORAGETYPE_INT 
HAPI_STORAGETYPE_INT64 
HAPI_STORAGETYPE_FLOAT 
HAPI_STORAGETYPE_FLOAT64 
HAPI_STORAGETYPE_STRING 
HAPI_STORAGETYPE_UINT8 
HAPI_STORAGETYPE_INT8 
HAPI_STORAGETYPE_INT16 
HAPI_STORAGETYPE_DICTIONARY 
HAPI_STORAGETYPE_INT_ARRAY 
HAPI_STORAGETYPE_INT64_ARRAY 
HAPI_STORAGETYPE_FLOAT_ARRAY 
HAPI_STORAGETYPE_FLOAT64_ARRAY 
HAPI_STORAGETYPE_STRING_ARRAY 
HAPI_STORAGETYPE_UINT8_ARRAY 
HAPI_STORAGETYPE_INT8_ARRAY 
HAPI_STORAGETYPE_INT16_ARRAY 
HAPI_STORAGETYPE_DICTIONARY_ARRAY 
HAPI_STORAGETYPE_MAX 

Definition at line 629 of file HAPI_Common.h.

Enumerator
HAPI_TCP_PORT_ANY 
HAPI_TCP_PORT_RANGE 
HAPI_TCP_PORT_LIST 

Definition at line 1056 of file HAPI_Common.h.

Enumerator
HAPI_THRIFT_SHARED_MEMORY_FIXED_LENGTH_BUFFER 
HAPI_THRIFT_SHARED_MEMORY_RING_BUFFER 

Definition at line 1064 of file HAPI_Common.h.

Enumerator
HAPI_TRANSFORM_TX 
HAPI_TRANSFORM_TY 
HAPI_TRANSFORM_TZ 
HAPI_TRANSFORM_RX 
HAPI_TRANSFORM_RY 
HAPI_TRANSFORM_RZ 
HAPI_TRANSFORM_QX 
HAPI_TRANSFORM_QY 
HAPI_TRANSFORM_QZ 
HAPI_TRANSFORM_QW 
HAPI_TRANSFORM_SX 
HAPI_TRANSFORM_SY 
HAPI_TRANSFORM_SZ 

Definition at line 748 of file HAPI_Common.h.

Enumerator
HAPI_VOLUMETYPE_INVALID 
HAPI_VOLUMETYPE_HOUDINI 
HAPI_VOLUMETYPE_VDB 
HAPI_VOLUMETYPE_MAX 

Definition at line 608 of file HAPI_Common.h.

Enumerator
HAPI_VOLUMEVISTYPE_INVALID 
HAPI_VOLUMEVISTYPE_SMOKE 
HAPI_VOLUMEVISTYPE_RAINBOW 
HAPI_VOLUMEVISTYPE_ISO 
HAPI_VOLUMEVISTYPE_INVISIBLE 
HAPI_VOLUMEVISTYPE_HEIGHTFIELD 
HAPI_VOLUMEVISTYPE_MAX 

Definition at line 617 of file HAPI_Common.h.

Enumerator
HAPI_XYZ 
HAPI_XZY 
HAPI_YXZ 
HAPI_YZX 
HAPI_ZXY 
HAPI_ZYX 
HAPI_XYZORDER_DEFAULT 

Definition at line 779 of file HAPI_Common.h.

Function Documentation

HAPI_STATIC_ASSERT ( sizeof(HAPI_UInt8 = =1,
unsupported_size_of_uint8   
)
HAPI_STATIC_ASSERT ( sizeof(HAPI_Int8 = =1,
unsupported_size_of_int8   
)
HAPI_STATIC_ASSERT ( sizeof(HAPI_Int16 = =2,
unsupported_size_of_int16   
)
HAPI_STATIC_ASSERT ( sizeof(HAPI_Int64 = =8,
unsupported_size_of_long   
)