Houdini Engine 3.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
HAPI_Helpers.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * Produced by:
7  * Side Effects Software Inc
8  * 123 Front Street West, Suite 1401
9  * Toronto, Ontario
10  * Canada M5J 2M2
11  * 416-504-9876
12  *
13  * COMMENTS:
14  */
15 
16 #ifndef __HAPI_HELPERS_h__
17 #define __HAPI_HELPERS_h__
18 
19 #include "HAPI_API.h"
20 #include "HAPI_Common.h"
21 
22 // TIME ---------------------------------------------------------------------
23 
24 HAPI_DECL_RETURN( void )
28 
29 // ASSETS -------------------------------------------------------------------
30 
31 HAPI_DECL_RETURN( void )
35 
36 HAPI_DECL_RETURN( void )
42  const HAPI_CookOptions * left,
43  const HAPI_CookOptions * right );
44 
45 // NODES --------------------------------------------------------------------
46 
47 HAPI_DECL_RETURN( void )
51 
52 // PARAMETERS ---------------------------------------------------------------
53 
54 /// Clears the struct to default values.
55 HAPI_DECL_RETURN( void )
57 
58 /// Creates a struct with default values and returns it.
61 
62 /// Convenience function that checks on the value of the ::HAPI_ParmInfo::type
63 /// field to tell you the underlying data type.
64 /// @{
66  HAPI_ParmInfo_IsInt( const HAPI_ParmInfo * in );
72  HAPI_ParmInfo_IsPath( const HAPI_ParmInfo * in );
74  HAPI_ParmInfo_IsNode( const HAPI_ParmInfo * in );
75 /// @}
76 
77 /// Parameter has no underlying No data type. Examples of this are UI items
78 /// such as folder lists and separators.
81 
82 /// Convenience function. If the parameter can be represented by this data
83 /// type, it returns ::HAPI_ParmInfo::size, and zero otherwise.
84 /// @{
85 HAPI_DECL_RETURN( int )
87 HAPI_DECL_RETURN( int )
89 HAPI_DECL_RETURN( int )
91 /// @}
92 
93 HAPI_DECL_RETURN( void )
97 
98 // HANDLES ------------------------------------------------------------------
99 
100 HAPI_DECL_RETURN( void )
104 
105 HAPI_DECL_RETURN( void )
109 
110 // OBJECTS ------------------------------------------------------------------
111 
112 HAPI_DECL_RETURN( void )
116 
117 // GEOMETRY -----------------------------------------------------------------
118 
119 HAPI_DECL_RETURN( void )
123 HAPI_DECL_RETURN( int )
125  HAPI_GeoInfo * in, HAPI_GroupType type );
126 
127 HAPI_DECL_RETURN( void )
131 HAPI_DECL_RETURN( int )
133  HAPI_PartInfo * in, HAPI_AttributeOwner owner );
134 HAPI_DECL_RETURN( int )
136  HAPI_PartInfo * in, HAPI_GroupType type );
137 HAPI_DECL_RETURN( int )
139  HAPI_PartInfo * in, HAPI_AttributeOwner owner );
140 
141 HAPI_DECL_RETURN( void )
145 
146 // MATERIALS ----------------------------------------------------------------
147 
148 HAPI_DECL_RETURN( void )
152 
153 HAPI_DECL_RETURN( void )
157 
158 HAPI_DECL_RETURN( void )
162 
163 // ANIMATION ----------------------------------------------------------------
164 
165 HAPI_DECL_RETURN( void )
169 
170 // VOLUMES ------------------------------------------------------------------
171 
172 HAPI_DECL_RETURN( void )
176 
177 HAPI_DECL_RETURN( void )
181 
182 // CURVES -------------------------------------------------------------------
183 
184 HAPI_DECL_RETURN( void )
188 
189 // TRANSFORMS ---------------------------------------------------------------
190 
191 HAPI_DECL_RETURN( void )
193 
196 
197 HAPI_DECL_RETURN( void )
199 
202 
203 #endif // __HAPI_HELPERS_h__
HAPI_AssetInfo_Create()
HAPI_MaterialInfo_Init(HAPI_MaterialInfo *in)
HAPI_Keyframe_Init(HAPI_Keyframe *in)
HAPI_PartInfo_GetElementCountByAttributeOwner(HAPI_PartInfo *in, HAPI_AttributeOwner owner)
HAPI_HandleBindingInfo_Init(HAPI_HandleBindingInfo *in)
HAPI_ParmChoiceInfo_Init(HAPI_ParmChoiceInfo *in)
HAPI_ParmInfo_GetFloatValueCount(const HAPI_ParmInfo *in)
HAPI_AttributeInfo_Create()
HAPI_ParmInfo_GetIntValueCount(const HAPI_ParmInfo *in)
HAPI_VolumeTileInfo_Init(HAPI_VolumeTileInfo *in)
HAPI_ObjectInfo_Init(HAPI_ObjectInfo *in)
HAPI_PartInfo_Create()
HAPI_MaterialInfo_Create()
HAPI_Keyframe_Create()
HAPI_Transform_Create()
HAPI_CookOptions_AreEqual(const HAPI_CookOptions *left, const HAPI_CookOptions *right)
HAPI_TransformEuler_Init(HAPI_TransformEuler *in)
HAPI_ObjectInfo_Create()
HAPI_GeoInfo_Create()
HAPI_AttributeOwner
Definition: HAPI_Common.h:417
HAPI_TimelineOptions_Create()
HAPI_NodeInfo_Init(HAPI_NodeInfo *in)
HAPI_ParmInfo_IsNode(const HAPI_ParmInfo *in)
HAPI_ParmInfo_IsNonValue(const HAPI_ParmInfo *in)
HAPI_ImageInfo_Init(HAPI_ImageInfo *in)
HAPI_ParmInfo_IsFloat(const HAPI_ParmInfo *in)
See Attributes.
Definition: HAPI_Common.h:1243
HAPI_CookOptions_Create()
HAPI_CurveInfo_Init(HAPI_CurveInfo *in)
HAPI_Transform_Init(HAPI_Transform *in)
HAPI_PartInfo_GetElementCountByGroupType(HAPI_PartInfo *in, HAPI_GroupType type)
HAPI_VolumeInfo_Create()
HAPI_VolumeTileInfo_Create()
HAPI_ImageFileFormat_Init(HAPI_ImageFileFormat *in)
HAPI_ParmInfo_IsString(const HAPI_ParmInfo *in)
HAPI_ParmInfo_IsPath(const HAPI_ParmInfo *in)
HAPI_AssetInfo_Init(HAPI_AssetInfo *in)
HAPI_HandleInfo_Init(HAPI_HandleInfo *in)
HAPI_ParmChoiceInfo_Create()
HAPI_AttributeInfo_Init(HAPI_AttributeInfo *in)
HAPI_ImageInfo_Create()
HAPI_GeoInfo_GetGroupCountByType(HAPI_GeoInfo *in, HAPI_GroupType type)
HAPI_ParmInfo_Create()
Creates a struct with default values and returns it.
HAPI_HandleInfo_Create()
HAPI_CurveInfo_Create()
HAPI_ParmInfo_Init(HAPI_ParmInfo *in)
Clears the struct to default values.
HAPI_VolumeInfo_Init(HAPI_VolumeInfo *in)
#define HAPI_DECL_RETURN(r)
Definition: HAPI_API.h:103
HAPI_ImageFileFormat_Create()
HAPI_TransformEuler_Create()
HAPI_ParmInfo_IsInt(const HAPI_ParmInfo *in)
char HAPI_Bool
Definition: HAPI_Common.h:118
HAPI_TimelineOptions_Init(HAPI_TimelineOptions *in)
HAPI_HandleBindingInfo_Create()
HAPI_PartInfo_GetAttributeCountByOwner(HAPI_PartInfo *in, HAPI_AttributeOwner owner)
[HAPI_CacheProperty]
Definition: HAPI_Common.h:677
HAPI_GroupType
Definition: HAPI_Common.h:408
HAPI_CookOptions_Init(HAPI_CookOptions *in)
HAPI_GeoInfo_Init(HAPI_GeoInfo *in)
HAPI_ParmInfo_GetStringValueCount(const HAPI_ParmInfo *in)
HAPI_NodeInfo_Create()
HAPI_PartInfo_Init(HAPI_PartInfo *in)