18 #ifndef __HUSD_Info_h__
19 #define __HUSD_Info_h__
30 class husd_InfoPrivate;
47 static bool isArrayValueType(
const UT_StringRef &valueType);
48 static bool isTokenArrayValueType(
const UT_StringRef &valueType);
49 static int valueTypeScalarSize(
const UT_StringRef &valueType);
53 static bool getUsingStageSceneIndex();
61 static bool isPathInPrototype(
const HUSD_Path &primpath);
64 static void getGlobalVariantSelectionFallbacks(
70 static bool isStageVariableExpression(
const UT_StringRef &expr,
71 bool check_for_errors =
true);
75 static bool isAnonymousLayer(
const UT_StringRef &identifier);
79 bool isStageValid()
const;
91 bool force_load =
false);
96 bool force_load =
false)
const;
98 void clearGusdXformCache()
const;
106 bool getLayerHierarchy(
UT_InfoTree &hierarchy)
const;
108 bool getLayersAboveLayerBreak(
113 bool getLayerExists(
const UT_StringRef &filepath)
const;
116 bool getStartTimeCode(
fpreal64 &starttimecode)
const;
117 bool getEndTimeCode(
fpreal64 &endtimecode)
const;
118 bool getFramesPerSecond(
fpreal64 &fps)
const;
119 bool getTimeCodesPerSecond(
fpreal64 &tcs)
const;
139 bool pick_first_of_many =
false)
const;
157 bool pick_first_of_many =
false)
const;
166 bool isInstanceProxy(
const UT_StringRef &primpath)
const;
210 bool includerelocates=
false)
const;
217 STATS_SIMPLE_COUNTS = 0x0000,
218 STATS_PURPOSE_COUNTS = 0x0001,
219 STATS_GEOMETRY_COUNTS = 0x0002,
220 STATS_KIND_COUNTS = 0x0004,
221 STATS_EXCLUDE_ROOT_PRIM = 0x0008
226 flags = STATS_SIMPLE_COUNTS)
const;
238 bool allow_kind_mismatch,
239 bool allow_instance_proxies,
240 bool allow_hidden_prims)
const;
244 bool computeStageStats(
UT_Options &stats)
const;
263 static bool getExpandedPathSet(
const UT_StringRef &filepath,
269 static bool hasAnyPrimsOutside(
const UT_StringRef &filepath,
274 static bool getLayerMetadata(
const UT_StringRef &filepath,
280 static bool getResolverContextStrings(
const UT_StringRef &filepath,
292 QueryAspect
query = QueryAspect::ANY)
const;
295 QueryAspect
query = QueryAspect::ANY)
const;
298 bool hasAuthoredValueForAttrib(
const UT_StringRef &primpath,
323 bool getAttribTimeSamples(
const UT_StringRef &attribpath,
344 bool include_interval_limits,
381 bool getPointInstancerXforms(
const UT_StringRef &primpath,
385 exint instance_index,
388 int getPointInstancerInstanceCount(
395 exint getPointInstancerInstanceIndex(
401 bool hasAnyVisibleLights(
419 bool isCollectionAtPath(
423 bool getCollectionIncludePaths(
426 bool getCollectionExcludePaths(
429 bool getCollectionComputedPaths(
432 bool collectionContains(
437 &collection_info_map)
const;
445 QueryAspect
query = QueryAspect::ANY,
446 bool allow_inheritance =
false)
const;
449 bool allow_inheritance =
false)
const;
454 bool allow_inheritance =
false)
const;
457 bool allow_inheritance =
false)
const;
460 bool allow_inheritance =
false)
const;
461 bool getPrimvarTimeSamples(
const UT_StringRef &primpath,
464 bool allow_inheritance =
false)
const;
470 bool isRelationshipAtPath(
475 bool getRelationshipTargets (
478 bool getRelationshipTargets (
483 bool getRelationshipForwardedTargets (
486 bool getRelationshipForwardedTargets (
491 bool hasAuthoredTargetsForRelationship(
496 bool isPropertyAtPath(
501 bool hasAuthoredValueForProperty(
510 QueryAspect
query = QueryAspect::ANY)
const;
515 bool isActiveLayerPrimAtPath(
const UT_StringRef &primpath,
533 void getShaderInputAttributeNames(
541 template<
typename UtValueType>
544 UtValueType &
value)
const;
547 template<
typename UtValueType>
550 UtValueType &
value)
const;
553 template<
typename UtValueType>
556 UtValueType &
value)
const;
PXL_API void reload()
Reload the configuration.
Axis-aligned bounding box (AABB).
GLsizei const GLfloat * value
GLsizei const GLchar *const * path
HUSD_PrimTraversalDemands
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
GLint GLint GLsizei GLint GLenum GLenum type
GU_API GA_OffsetArray getChildren(const GU_Detail *gdp, const GA_Offset &node, bool recurse=false)
static const UT_StringHolder theEmptyString
GLuint const GLchar * name
A map of string to various well defined value types.
GLenum GLsizei GLsizei GLint * values
GEO_API int getPrimType(const TypeMask &mask)
UT_StringMap< UT_StringHolder > HUSD_CollectionInfoMap