Houdini Engine 7.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
HAPI_Helpers.C
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  * COMMENTS:
7  * Methods for initializing HAPI structs with the correct default values.
8  */
9 
10 #include "HAPI_Helpers.h"
11 
12 #include "HAPI.h"
13 
14 // Session ------------------------------------------------------------------
15 
16 HAPI_DECL_RETURN( void )
18 {
19  in->connectionCount = 0;
20  in->portType = HAPI_TCP_PORT_ANY;
21  in->minPort = 1024;
22  in->maxPort = 65535;
23  in->sharedMemoryBufferType = HAPI_THRIFT_SHARED_MEMORY_FIXED_LENGTH_BUFFER;
24  in->sharedMemoryBufferSize = 100; // 100 MB
25 }
26 
29 {
30  HAPI_SessionInfo info;
31  HAPI_SessionInfo_Init( &info );
32  return info;
33 }
34 
35 // Server -------------------------------------------------------------------
36 
37 HAPI_DECL_RETURN( void )
39 {
40  in->autoClose = true;
41  in->timeoutMs = 30000.f;
42  in->verbosity = HAPI_STATUSVERBOSITY_WARNINGS;
43  in->sharedMemoryBufferType = HAPI_THRIFT_SHARED_MEMORY_FIXED_LENGTH_BUFFER;
44  in->sharedMemoryBufferSize = 100; // 100 MB
45 }
46 
49 {
52  return options;
53 }
54 
55 // TIME ---------------------------------------------------------------------
56 
57 HAPI_DECL_RETURN( void )
59 {
60  in->fps = 0.0f;
61 
62  in->startTime = 0.0f;
63  in->endTime = 0.0f;
64 }
65 
68 {
71  return info;
72 }
73 
74 // COMPOSITOR SETTINGS ------------------------------------------------------
75 
76 HAPI_DECL_RETURN( void )
78 {
79  in->maximumResolutionX = 10000;
80  in->maximumResolutionY = 10000;
81 }
82 
85 {
86  HAPI_CompositorOptions settings;
87  HAPI_CompositorOptions_Init(&settings);
88  return settings;
89 }
90 
91 // ASSETS -------------------------------------------------------------------
92 
93 HAPI_DECL_RETURN( void )
95 {
96  in->nodeId = -1;
97  in->objectNodeId = -1;
98 
99  in->hasEverCooked = false;
100 
101  in->nameSH = 0;
102  in->labelSH = 0;
103  in->filePathSH = 0;
104 
105  in->versionSH = 0;
106  in->fullOpNameSH = 0;
107  in->helpTextSH = 0;
108  in->helpURLSH = 0;
109 
110  in->objectCount = -1;
111  in->handleCount = -1;
112 
113  in->transformInputCount = -1;
114  in->geoInputCount = -1;
115  in->geoOutputCount = -1;
116 
117  in->haveObjectsChanged = false;
118  in->haveMaterialsChanged = false;
119 }
120 
123 {
124  HAPI_AssetInfo info;
125  HAPI_AssetInfo_Init( &info );
126  return info;
127 }
128 
129 HAPI_DECL_RETURN( void )
131 {
132  in->splitGeosByGroup = false;
133  in->splitGroupSH = 0;
134  in->splitGeosByAttribute = false;
135  in->splitAttrSH = 0;
136 
137  in->maxVerticesPerPrimitive = -1;
138 
139  in->refineCurveToLinear = false;
140  in->curveRefineLOD = 8.0f;
141 
142  in->clearErrorsAndWarnings = false;
143 
144  in->cookTemplatedGeos = false;
145 
146  in->splitPointsByVertexAttributes = false;
147 
148  in->packedPrimInstancingMode = HAPI_PACKEDPRIM_INSTANCING_MODE_DISABLED;
149 
150  in->handleBoxPartTypes = false;
151  in->handleSpherePartTypes = false;
152 
153  in->checkPartChanges = false;
154 
155  in->cacheMeshTopology = false;
156 
157  in->preferOutputNodes = false;
158 
159  in->extraFlags = 0;
160 }
161 
164 {
165  HAPI_CookOptions info;
166  HAPI_CookOptions_Init( &info );
167  return info;
168 }
169 
172  const HAPI_CookOptions * left,
173  const HAPI_CookOptions * right )
174 {
175  // Note: DO NOT check the extraFlags here. They do not exist!
176 
177  return left->splitGeosByGroup == right->splitGeosByGroup
178  && left->splitGroupSH == right->splitGroupSH
179  && left->splitGeosByAttribute == right->splitGeosByAttribute
180  && left->splitAttrSH == right->splitAttrSH
181  && left->maxVerticesPerPrimitive == right->maxVerticesPerPrimitive
182  && left->refineCurveToLinear == right->refineCurveToLinear
183  && left->curveRefineLOD == right->curveRefineLOD
184  && left->cookTemplatedGeos == right->cookTemplatedGeos
185  && left->packedPrimInstancingMode == right->packedPrimInstancingMode
186  && left->handleBoxPartTypes == right->handleBoxPartTypes
187  && left->handleSpherePartTypes == right->handleSpherePartTypes
188  && left->cacheMeshTopology == right->cacheMeshTopology;
189 }
190 
191 // NODES --------------------------------------------------------------------
192 
193 HAPI_DECL_RETURN( void )
195 {
196  in->id = -1;
197  in->parentId = -1;
198  in->nameSH = 0;
199  in->type = HAPI_NODETYPE_NONE;
200 
201  in->isValid = true;
202 
203  in->totalCookCount = 0;
204 
205  in->uniqueHoudiniNodeId = -1;
206  in->internalNodePathSH = 0;
207 
208  in->parmCount = 0;
209  in->parmIntValueCount = 0;
210  in->parmFloatValueCount = 0;
211  in->parmStringValueCount = 0;
212  in->parmChoiceCount = 0;
213 
214  in->childNodeCount = 0;
215  in->inputCount = 0;
216  in->outputCount = 0;
217  in->createdPostAssetLoad = false;
218 }
219 
222 {
223  HAPI_NodeInfo info;
224  HAPI_NodeInfo_Init( &info );
225  return info;
226 }
227 
228 // PARAMETERS ---------------------------------------------------------------
229 
230 HAPI_DECL_RETURN( void )
232 {
233  in->id = HAPI_INVALID_PARM_ID;
234  in->parentId = HAPI_INVALID_PARM_ID;
235  in->childIndex = 0;
236 
237  in->type = HAPI_PARMTYPE_INT;
238  in->scriptType = HAPI_PRM_SCRIPT_TYPE_INT;
239  in->typeInfoSH = 0;
240 
241  in->permissions = HAPI_PERMISSIONS_NON_APPLICABLE;
242 
243  in->tagCount = 0;
244 
245  in->size = 0;
246 
247  in->choiceListType = HAPI_CHOICELISTTYPE_NONE;
248  in->choiceCount = 0;
249 
250  in->nameSH = 0;
251  in->labelSH = 0;
252  in->templateNameSH = 0;
253  in->helpSH = 0;
254 
255  in->hasMin = false;
256  in->hasMax = false;
257  in->hasUIMin = false;
258  in->hasUIMax = false;
259 
260  in->min = 0.0f;
261  in->max = 10.0f;
262  in->UIMin = 0.0f;
263  in->UIMax = 10.0f;
264 
265  in->invisible = false;
266  in->disabled = false;
267  in->spare = false;
268  in->joinNext = false;
269  in->labelNone = false;
270 
271  in->intValuesIndex = -1;
272  in->floatValuesIndex = -1;
273  in->stringValuesIndex = -1;
274  in->choiceIndex = -1;
275 
276  in->inputNodeType = HAPI_NODETYPE_NONE;
277  in->inputNodeFlag = HAPI_NODEFLAGS_ANY;
278 
279  in->isChildOfMultiParm = false;
280  in->instanceNum = -1;
281  in->instanceLength = 0;
282  in->instanceCount = 0;
283  in->instanceStartOffset = -1;
284 
285  in->rampType = HAPI_RAMPTYPE_INVALID;
286 
287  in->visibilityConditionSH = 0;
288  in->disabledConditionSH = 0;
289 }
290 
293 {
294  HAPI_ParmInfo info;
295  HAPI_ParmInfo_Init( &info );
296  return info;
297 }
298 
299 HAPI_DECL_RETURN( bool )
301 {
302  return ( in->type >= HAPI_PARMTYPE_INT_START
303  && in->type <= HAPI_PARMTYPE_INT_END ) ||
304  in->type == HAPI_PARMTYPE_MULTIPARMLIST ||
305  in->type == HAPI_PARMTYPE_FOLDERLIST_RADIO;
306 }
307 
308 HAPI_DECL_RETURN( bool )
310 {
311  return ( in->type >= HAPI_PARMTYPE_FLOAT_START
312  && in->type <= HAPI_PARMTYPE_FLOAT_END );
313 }
314 
315 HAPI_DECL_RETURN( bool )
317 {
318  return ( ( in->type >= HAPI_PARMTYPE_STRING_START && in->type <= HAPI_PARMTYPE_STRING_END )
319  || ( in->type == HAPI_PARMTYPE_LABEL )
320  || ( in->type == HAPI_PARMTYPE_PATH_FILE_DIR) );
321 }
322 
323 HAPI_DECL_RETURN( bool )
325 {
326  return ( (in->type >= HAPI_PARMTYPE_PATH_START
327  && in->type <= HAPI_PARMTYPE_PATH_END)
328  || ( in->type == HAPI_PARMTYPE_PATH_FILE_DIR));
329 }
330 
331 HAPI_DECL_RETURN( bool )
333 {
334  return ( in->type >= HAPI_PARMTYPE_NODE_START
335  && in->type <= HAPI_PARMTYPE_NODE_END );
336 }
337 
338 HAPI_DECL_RETURN( bool )
340 {
341  return ( in->type >= HAPI_PARMTYPE_NONVALUE_START
342  && in->type <= HAPI_PARMTYPE_NONVALUE_END );
343 }
344 
345 HAPI_DECL_RETURN( int )
347 {
348  if ( HAPI_ParmInfo_IsInt( in ) )
349  return in->size;
350  else
351  return 0;
352 }
353 
354 HAPI_DECL_RETURN( int )
356 {
357  if ( HAPI_ParmInfo_IsFloat( in ) )
358  return in->size;
359  else
360  return 0;
361 }
362 
363 HAPI_DECL_RETURN( int )
365 {
366  if ( HAPI_ParmInfo_IsString( in ) )
367  return in->size;
368  else
369  return 0;
370 }
371 
372 HAPI_DECL_RETURN( void )
374 {
375  in->parentParmId = 0;
376  in->labelSH = 0;
377  in->valueSH = 0;
378 }
379 
382 {
383  HAPI_ParmChoiceInfo info;
384  HAPI_ParmChoiceInfo_Init( &info );
385  return info;
386 }
387 
388 // HANDLES ------------------------------------------------------------------
389 
390 HAPI_DECL_RETURN( void )
392 {
393  in->nameSH = 0;
394  in->typeNameSH = 0;
395  in->bindingsCount = 0;
396 }
397 
400 {
401  HAPI_HandleInfo info;
402  HAPI_HandleInfo_Init( &info );
403  return info;
404 }
405 
406 HAPI_DECL_RETURN( void )
408 {
409  in->handleParmNameSH = 0;
410  in->assetParmNameSH = 0;
411  in->assetParmId = -1;
412 }
413 
416 {
419  return info;
420 }
421 
422 // OBJECTS ------------------------------------------------------------------
423 
424 HAPI_DECL_RETURN( void )
426 {
427  in->nameSH = 0;
428  in->objectInstancePathSH = 0;
429 
430  in->hasTransformChanged = true;
431  in->haveGeosChanged = true;
432 
433  in->isVisible = true;
434  in->isInstancer = false;
435  in->isInstanced = false;
436 
437  in->geoCount = 0;
438 
439  in->nodeId = -1;
440  in->objectToInstanceId = -1;
441 }
442 
445 {
446  HAPI_ObjectInfo out;
447  HAPI_ObjectInfo_Init( &out );
448  return out;
449 }
450 
451 // GEOMETRY -----------------------------------------------------------------
452 
453 HAPI_DECL_RETURN( void )
455 {
456  in->type = HAPI_GEOTYPE_INVALID;
457  in->nameSH = 0;
458  in->nodeId = -1;
459 
460  in->isEditable = false;
461  in->isTemplated = false;
462  in->isDisplayGeo = true;
463 
464  in->hasGeoChanged = true;
465  in->hasMaterialChanged = true;
466 
467  in->pointGroupCount = 0;
468  in->primitiveGroupCount = 0;
469  in->edgeGroupCount = 0;
470 
471  in->partCount = 1;
472 }
473 
476 {
477  HAPI_GeoInfo info;
478  HAPI_GeoInfo_Init( &info );
479  return info;
480 }
481 
482 HAPI_DECL_RETURN( int )
484  HAPI_GeoInfo * in, HAPI_GroupType type )
485 {
486  if ( !in )
487  return 0;
488 
489  switch ( type )
490  {
491  case HAPI_GROUPTYPE_POINT: return in->pointGroupCount;
492  case HAPI_GROUPTYPE_PRIM: return in->primitiveGroupCount;
493  case HAPI_GROUPTYPE_EDGE: return in->edgeGroupCount;
494  default: return 0;
495  }
496 }
497 
498 HAPI_DECL_RETURN( void )
500 {
501  in->id = 0;
502  in->nameSH = 0;
503  in->type = HAPI_PARTTYPE_INVALID;
504 
505  in->faceCount = 0;
506  in->vertexCount = 0;
507  in->pointCount = 0;
508 
509  in->attributeCounts[ HAPI_ATTROWNER_POINT ] = 0;
510  in->attributeCounts[ HAPI_ATTROWNER_PRIM ] = 0;
511  in->attributeCounts[ HAPI_ATTROWNER_VERTEX ] = 0;
512  in->attributeCounts[ HAPI_ATTROWNER_DETAIL ] = 0;
513 
514  in->isInstanced = false;
515  in->instancedPartCount = 0;
516  in->instanceCount = 0;
517  in->hasChanged = true;
518 }
519 
522 {
523  HAPI_PartInfo info;
524  HAPI_PartInfo_Init( &info );
525  return info;
526 }
527 
528 HAPI_DECL_RETURN( int )
530  HAPI_PartInfo * in, HAPI_AttributeOwner owner )
531 {
532  if ( !in )
533  return 0;
534 
535  switch ( owner )
536  {
537  case HAPI_ATTROWNER_VERTEX: return in->vertexCount;
538  case HAPI_ATTROWNER_POINT: return in->pointCount;
539  case HAPI_ATTROWNER_PRIM: return in->faceCount;
540  case HAPI_ATTROWNER_DETAIL: return 1;
541  default: return 0;
542  }
543 }
544 
545 HAPI_DECL_RETURN( int )
547  HAPI_PartInfo * in, HAPI_GroupType type )
548 {
549  if ( !in )
550  return 0;
551 
552  switch ( type )
553  {
554  case HAPI_GROUPTYPE_POINT: return in->pointCount;
555  case HAPI_GROUPTYPE_PRIM: return in->faceCount;
556  default: return 0;
557  }
558 }
559 
560 HAPI_DECL_RETURN( int )
562  HAPI_PartInfo * in, HAPI_AttributeOwner owner )
563 {
564  if ( !in )
565  return 0;
566 
567  switch ( owner )
568  {
569  case HAPI_ATTROWNER_VERTEX: return in->attributeCounts[ HAPI_ATTROWNER_VERTEX ];
570  case HAPI_ATTROWNER_POINT: return in->attributeCounts[ HAPI_ATTROWNER_POINT ];
571  case HAPI_ATTROWNER_PRIM: return in->attributeCounts[ HAPI_ATTROWNER_PRIM ];
572  case HAPI_ATTROWNER_DETAIL: return in->attributeCounts[ HAPI_ATTROWNER_DETAIL ];
573  default: return 0;
574  }
575 }
576 
577 HAPI_DECL_RETURN( void )
579 {
580  in->exists = false;
581 
582  in->owner = HAPI_ATTROWNER_INVALID;
583  in->storage = HAPI_STORAGETYPE_INVALID;
584 
585  in->originalOwner = HAPI_ATTROWNER_INVALID;
586 
587  in->count = 0;
588  in->tupleSize = 0;
589 
590  in->totalArrayElements = 0;
591  in->typeInfo = HAPI_ATTRIBUTE_TYPE_NONE;
592 }
593 
596 {
597  HAPI_AttributeInfo info;
598  HAPI_AttributeInfo_Init( &info );
599  return info;
600 }
601 
602 // MATERIALS ----------------------------------------------------------------
603 
604 HAPI_DECL_RETURN( void )
606 {
607  in->nodeId = 0;
608  in->exists = false;
609  in->hasChanged = true;
610 }
611 
614 {
615  HAPI_MaterialInfo info;
616  HAPI_MaterialInfo_Init( &info );
617  return info;
618 }
619 
620 HAPI_DECL_RETURN( void )
622 {
623  in->nameSH = 0;
624  in->descriptionSH = 0;
625  in->defaultExtensionSH = 0;
626 }
627 
630 {
632  HAPI_ImageFileFormat_Init( &info );
633  return info;
634 }
635 
636 HAPI_DECL_RETURN( void )
638 {
639  in->imageFileFormatNameSH = 0;
640 
641  in->xRes = 0;
642  in->yRes = 0;
643 
644  in->dataFormat = HAPI_IMAGE_DATA_DEFAULT;
645 
646  in->interleaved = true;
647  in->packing = HAPI_IMAGE_PACKING_DEFAULT4;
648 
649  in->gamma = 2.2;
650 }
651 
654 {
655  HAPI_ImageInfo image_info;
656  HAPI_ImageInfo_Init( &image_info );
657  return image_info;
658 }
659 
660 // ANIMATION ----------------------------------------------------------------
661 
662 HAPI_DECL_RETURN( void )
664 {
665  in->time = 0;
666  in->value = 0;
667  in->inTangent = 0;
668  in->outTangent = 0;
669 }
670 
673 {
674  HAPI_Keyframe info;
675  HAPI_Keyframe_Init( &info );
676  return info;
677 }
678 
679 // VOLUMES ------------------------------------------------------------------
680 
681 HAPI_DECL_RETURN( void )
683 {
684  in->nameSH = 0;
685 
686  in->type = HAPI_VOLUMETYPE_INVALID;
687 
688  in->xLength = 0;
689  in->yLength = 0;
690  in->zLength = 0;
691  in->minX = 0;
692  in->minY = 0;
693  in->minZ = 0;
694 
695  in->tupleSize = 0;
696  in->storage = HAPI_STORAGETYPE_INVALID;
697 
698  in->tileSize = 0;
699 
700  in->hasTaper = false;
701  in->xTaper = 0.0f;
702  in->yTaper = 0.0f;
703 }
704 
707 {
708  HAPI_VolumeInfo info;
709  HAPI_VolumeInfo_Init( &info );
710  return info;
711 }
712 
713 HAPI_DECL_RETURN( void )
715 {
716  in->minX = 0;
717  in->minY = 0;
718  in->minZ = 0;
719  in->isValid = false;
720 }
721 
724 {
725  HAPI_VolumeTileInfo info;
726  HAPI_VolumeTileInfo_Init( &info );
727  return info;
728 }
729 
730 // CURVES -------------------------------------------------------------------
731 
732 HAPI_DECL_RETURN( void )
734 {
735  in->curveType = HAPI_CURVETYPE_LINEAR;
736  in->curveCount = 0;
737  in->vertexCount = 0;
738  in->knotCount = 0;
739 
740  in->isPeriodic = false;
741  in->isRational = false;
742  in->isClosed = false;
743  in->order = 2;
744 
745  in->hasKnots = false;
746 }
747 
750 {
751  HAPI_CurveInfo info;
752  HAPI_CurveInfo_Init( &info );
753  return info;
754 }
755 
756 // INPUT CURVES -------------------------------------------------------------
757 
758 HAPI_DECL_RETURN( void )
760 {
761  in->curveType = HAPI_CURVETYPE_LINEAR;
762  in->closed = false;
763  in->order = 2;
764  in->reverse = false;
765  in->inputMethod = HAPI_CURVEMETHOD_CVS;
766  in->breakpointParameterization = HAPI_CURVEPARAMETERIZATION_UNIFORM;
767 }
768 
771 {
772  HAPI_InputCurveInfo info;
773  HAPI_InputCurveInfo_Init( &info );
774  return info;
775 }
776 
777 // TRANSFORMS ---------------------------
778 
779 HAPI_DECL_RETURN( void )
781 {
782  for ( int n = 0; n < HAPI_POSITION_VECTOR_SIZE; n++ )
783  in->position[ n ] = 0.0f;
784 
785  for ( int n = 0; n < HAPI_QUATERNION_VECTOR_SIZE; n++ )
786  in->rotationQuaternion[ n ] = 0.0f;
787 
788  for ( int n = 0; n < HAPI_SCALE_VECTOR_SIZE; n++ )
789  in->scale[ n ] = 0.0f;
790 
791  for ( int n = 0; n < HAPI_SHEAR_VECTOR_SIZE; n++ )
792  in->shear[ n ] = 0.0f;
793 
794  in->rstOrder = HAPI_RSTORDER_DEFAULT;
795 }
796 
799 {
800  HAPI_Transform transform;
801  HAPI_Transform_Init( &transform );
802  return transform;
803 }
804 
805 HAPI_DECL_RETURN( void )
807 {
808  for ( int n = 0; n < HAPI_POSITION_VECTOR_SIZE; n++ )
809  in->position[ n ] = 0.0f;
810 
811  for ( int n = 0; n < HAPI_EULER_VECTOR_SIZE; n++ )
812  in->rotationEuler[ n ] = 0.0f;
813 
814  for ( int n = 0; n < HAPI_SCALE_VECTOR_SIZE; n++ )
815  in->scale[ n ] = 0.0f;
816 
817  for ( int n = 0; n < HAPI_SHEAR_VECTOR_SIZE; n++ )
818  in->shear[ n ] = 0.0f;
819 
820  in->rstOrder = HAPI_RSTORDER_DEFAULT;
821  in->rotationOrder = HAPI_XYZORDER_DEFAULT;
822 }
823 
826 {
827  HAPI_TransformEuler transformEuler;
828  HAPI_TransformEuler_Init( &transformEuler );
829  return transformEuler;
830 }
831 
832 // SESSIONSYNC --------------------------------------------------------------
833 
834 HAPI_DECL_RETURN( void )
836 {
837  for ( int n = 0; n < HAPI_POSITION_VECTOR_SIZE; n++ )
838  in->position[ n ] = 0.0f;
839 
840  for ( int n = 0; n < HAPI_QUATERNION_VECTOR_SIZE; n++ )
841  in->rotationQuaternion[ n ] = 0.0f;
842 
843  in->offset = 0;
844 }
845 
848 {
849  HAPI_Viewport viewport;
850  HAPI_Viewport_Init( &viewport );
851  return viewport;
852 }
853 
854 HAPI_DECL_RETURN( void )
856 {
857  in->cookUsingHoudiniTime = true;
858  in->syncViewport = false;
859 }
860 
863 {
864  HAPI_SessionSyncInfo syncInfo;
865  HAPI_SessionSyncInfo_Init( &syncInfo );
866  return syncInfo;
867 }
HAPI_ObjectInfo_Init(HAPI_ObjectInfo *in)
Definition: HAPI_Helpers.C:425
#define HAPI_QUATERNION_VECTOR_SIZE
Definition: HAPI_Common.h:20
HAPI_ParmInfo_GetIntValueCount(const HAPI_ParmInfo *in)
Definition: HAPI_Helpers.C:346
Data for an image, used with HAPI_GetImageInfo() and HAPI_SetImageInfo()
Definition: HAPI_Common.h:1840
HAPI_Viewport_Init(HAPI_Viewport *in)
Definition: HAPI_Helpers.C:835
HAPI_GeoInfo_Create()
Definition: HAPI_Helpers.C:475
Used for Results. Equivalent to HAPI_STATUSVERBOSITY_1.
Definition: HAPI_Common.h:226
HAPI_HandleBindingInfo_Init(HAPI_HandleBindingInfo *in)
Definition: HAPI_Helpers.C:407
HAPI_ParmChoiceInfo_Init(HAPI_ParmChoiceInfo *in)
Definition: HAPI_Helpers.C:373
#define HAPI_POSITION_VECTOR_SIZE
Definition: HAPI_Common.h:16
HAPI_VolumeInfo_Create()
Definition: HAPI_Helpers.C:706
HAPI_ParmInfo_IsString(const HAPI_ParmInfo *in)
Definition: HAPI_Helpers.C:316
HAPI_InputCurveInfo_Init(HAPI_InputCurveInfo *in)
Definition: HAPI_Helpers.C:759
HAPI_VolumeTileInfo_Init(HAPI_VolumeTileInfo *in)
Definition: HAPI_Helpers.C:714
HAPI_AttributeInfo_Init(HAPI_AttributeInfo *in)
Definition: HAPI_Helpers.C:578
HAPI_CurveInfo_Init(HAPI_CurveInfo *in)
Definition: HAPI_Helpers.C:733
HAPI_HandleInfo_Init(HAPI_HandleInfo *in)
Definition: HAPI_Helpers.C:391
HAPI_PartInfo_Init(HAPI_PartInfo *in)
Definition: HAPI_Helpers.C:499
HAPI_AssetInfo_Create()
Definition: HAPI_Helpers.C:122
HAPI_ParmInfo_Create()
Creates a struct with default values and returns it.
Definition: HAPI_Helpers.C:292
#define HAPI_INVALID_PARM_ID
Definition: HAPI_Common.h:29
HAPI_ParmInfo_IsInt(const HAPI_ParmInfo *in)
Definition: HAPI_Helpers.C:300
HAPI_InputCurveInfo_Create()
Definition: HAPI_Helpers.C:770
HAPI_VolumeTileInfo_Create()
Definition: HAPI_Helpers.C:723
HAPI_NodeInfo_Init(HAPI_NodeInfo *in)
Definition: HAPI_Helpers.C:194
HAPI_CompositorOptions_Init(HAPI_CompositorOptions *in)
Definition: HAPI_Helpers.C:77
HAPI_ParmInfo_Init(HAPI_ParmInfo *in)
Clears the struct to default values.
Definition: HAPI_Helpers.C:231
HAPI_Keyframe_Init(HAPI_Keyframe *in)
Definition: HAPI_Helpers.C:663
HAPI_CookOptions_AreEqual(const HAPI_CookOptions *left, const HAPI_CookOptions *right)
Definition: HAPI_Helpers.C:171
HAPI_SessionInfo_Create()
Definition: HAPI_Helpers.C:28
HAPI_Transform_Create()
Definition: HAPI_Helpers.C:798
#define HAPI_SHEAR_VECTOR_SIZE
Definition: HAPI_Common.h:18
HAPI_ParmInfo_GetFloatValueCount(const HAPI_ParmInfo *in)
Definition: HAPI_Helpers.C:355
HAPI_GeoInfo_GetGroupCountByType(HAPI_GeoInfo *in, HAPI_GroupType type)
Definition: HAPI_Helpers.C:483
HAPI_TransformEuler_Create()
Definition: HAPI_Helpers.C:825
Meta-data about an HDA, returned by HAPI_GetAssetInfo()
Definition: HAPI_Common.h:1187
HAPI_AttributeOwner
Definition: HAPI_Common.h:568
HAPI_CookOptions_Create()
Definition: HAPI_Helpers.C:163
HAPI_TimelineOptions_Init(HAPI_TimelineOptions *in)
Definition: HAPI_Helpers.C:58
Meta-data for an OBJ Node.
Definition: HAPI_Common.h:1621
HAPI_ImageFileFormat_Init(HAPI_ImageFileFormat *in)
Definition: HAPI_Helpers.C:621
HAPI_PartInfo_Create()
Definition: HAPI_Helpers.C:521
Options to configure a Thrift server being started from HARC.
Definition: HAPI_Common.h:1144
HAPI_PartInfo_GetElementCountByAttributeOwner(HAPI_PartInfo *in, HAPI_AttributeOwner owner)
Definition: HAPI_Helpers.C:529
HAPI_NodeInfo_Create()
Definition: HAPI_Helpers.C:221
Meta-data describing a Geo Part.
Definition: HAPI_Common.h:1714
HAPI_ParmInfo_IsPath(const HAPI_ParmInfo *in)
Definition: HAPI_Helpers.C:324
Meta-data for a Houdini Node.
Definition: HAPI_Common.h:1345
HAPI_ObjectInfo_Create()
Definition: HAPI_Helpers.C:444
HAPI_HandleBindingInfo_Create()
Definition: HAPI_Helpers.C:415
HAPI_SessionSyncInfo_Create()
Definition: HAPI_Helpers.C:862
HAPI_HandleInfo_Create()
Definition: HAPI_Helpers.C:399
Configuration options for Houdini's compositing context.
Definition: HAPI_Common.h:2151
HAPI_AssetInfo_Init(HAPI_AssetInfo *in)
Definition: HAPI_Helpers.C:94
HAPI_PartInfo_GetElementCountByGroupType(HAPI_PartInfo *in, HAPI_GroupType type)
Definition: HAPI_Helpers.C:546
HAPI_ImageInfo_Init(HAPI_ImageInfo *in)
Definition: HAPI_Helpers.C:637
#define HAPI_SCALE_VECTOR_SIZE
Definition: HAPI_Common.h:17
HAPI_ImageFileFormat_Create()
Definition: HAPI_Helpers.C:629
HAPI_SessionInfo_Init(HAPI_SessionInfo *in)
Definition: HAPI_Helpers.C:17
Configurations for sessions.
Definition: HAPI_Common.h:1117
Options which affect how nodes are cooked.
Definition: HAPI_Common.h:1246
HAPI_PartInfo_GetAttributeCountByOwner(HAPI_PartInfo *in, HAPI_AttributeOwner owner)
Definition: HAPI_Helpers.C:561
HAPI_MaterialInfo_Init(HAPI_MaterialInfo *in)
Definition: HAPI_Helpers.C:605
#define HAPI_DECL_RETURN(r)
Definition: HAPI_API.h:96
HAPI_ThriftServerOptions_Create()
Definition: HAPI_Helpers.C:48
HAPI_CompositorOptions_Create()
Definition: HAPI_Helpers.C:84
Meta-data for a SOP Node.
Definition: HAPI_Common.h:1670
HAPI_CookOptions_Init(HAPI_CookOptions *in)
Definition: HAPI_Helpers.C:130
A Transform with Euler rotation.
Definition: HAPI_Common.h:1089
HAPI_TimelineOptions_Create()
Definition: HAPI_Helpers.C:67
Data for global timeline, used with HAPI_SetTimelineOptions()
Definition: HAPI_Common.h:1175
char HAPI_Bool
Definition: HAPI_Common.h:119
HAPI_GeoInfo_Init(HAPI_GeoInfo *in)
Definition: HAPI_Helpers.C:454
HAPI_Viewport_Create()
Definition: HAPI_Helpers.C:847
HAPI_AttributeInfo_Create()
Definition: HAPI_Helpers.C:595
"int", "integer"
Definition: HAPI_Common.h:413
HAPI_VolumeInfo_Init(HAPI_VolumeInfo *in)
Definition: HAPI_Helpers.C:682
Implicit type based on data.
Definition: HAPI_Common.h:661
HAPI_ParmInfo_IsFloat(const HAPI_ParmInfo *in)
Definition: HAPI_Helpers.C:309
A Transform with Quaternion rotation.
Definition: HAPI_Common.h:1077
#define HAPI_EULER_VECTOR_SIZE
Definition: HAPI_Common.h:21
HAPI_GroupType
Definition: HAPI_Common.h:558
HAPI_SessionSyncInfo_Init(HAPI_SessionSyncInfo *in)
Definition: HAPI_Helpers.C:855
Describes an image format, used with HAPI_GetSupportedImageFileFormats()
Definition: HAPI_Common.h:1831
HAPI_ThriftServerOptions_Init(HAPI_ThriftServerOptions *in)
Definition: HAPI_Helpers.C:38
HAPI_MaterialInfo_Create()
Definition: HAPI_Helpers.C:613
Data for a single Key Frame.
Definition: HAPI_Common.h:1869
Parameter is not a menu.
Definition: HAPI_Common.h:478
HAPI_ParmInfo_IsNonValue(const HAPI_ParmInfo *in)
Definition: HAPI_Helpers.C:339
HAPI_ParmChoiceInfo_Create()
Definition: HAPI_Helpers.C:381
HAPI_CurveInfo_Create()
Definition: HAPI_Helpers.C:749
HAPI_ImageInfo_Create()
Definition: HAPI_Helpers.C:653
HAPI_ParmInfo_IsNode(const HAPI_ParmInfo *in)
Definition: HAPI_Helpers.C:332
HAPI_Keyframe_Create()
Definition: HAPI_Helpers.C:672
Meta-data for a combo-box / choice parm.
Definition: HAPI_Common.h:1576
HAPI_TransformEuler_Init(HAPI_TransformEuler *in)
Definition: HAPI_Helpers.C:806
HAPI_ParmInfo_GetStringValueCount(const HAPI_ParmInfo *in)
Definition: HAPI_Helpers.C:364
HAPI_Transform_Init(HAPI_Transform *in)
Definition: HAPI_Helpers.C:780