18 #ifndef __HUSD_Info_h__
19 #define __HUSD_Info_h__
29 class husd_InfoPrivate;
46 static bool isArrayValueType(
const UT_StringRef &valueType);
47 static bool isTokenArrayValueType(
const UT_StringRef &valueType);
58 static bool isPathInPrototype(
const HUSD_Path &primpath);
61 static void getGlobalVariantSelectionFallbacks(
67 static bool isStageVariableExpression(
const UT_StringRef &expr,
68 bool check_for_errors =
true);
72 bool isStageValid()
const;
84 bool force_load =
false);
89 bool force_load =
false)
const;
91 void clearGusdXformCache()
const;
99 bool getLayerHierarchy(
UT_InfoTree &hierarchy)
const;
101 bool getLayersAboveLayerBreak(
106 bool getLayerExists(
const UT_StringRef &filepath)
const;
109 bool getStartTimeCode(
fpreal64 &starttimecode)
const;
110 bool getEndTimeCode(
fpreal64 &endtimecode)
const;
111 bool getFramesPerSecond(
fpreal64 &fps)
const;
112 bool getTimeCodesPerSecond(
fpreal64 &tcs)
const;
131 bool pick_first_of_many =
false)
const;
147 bool pick_first_of_many =
false)
const;
199 STATS_SIMPLE_COUNTS = 0x0000,
200 STATS_PURPOSE_COUNTS = 0x0001,
201 STATS_GEOMETRY_COUNTS = 0x0002
206 flags = STATS_SIMPLE_COUNTS)
const;
218 bool allow_kind_mismatch,
219 bool allow_instance_proxies,
220 bool allow_hidden_prims)
const;
224 bool computeStageStats(
UT_Options &stats)
const;
243 static bool getExpandedPathSet(
const UT_StringRef &filepath,
250 static bool getLayerRootPrims(
const UT_StringRef &filepath,
256 static bool hasAnyPrimsOutside(
const UT_StringRef &filepath,
268 QueryAspect
query = QueryAspect::ANY)
const;
271 QueryAspect
query = QueryAspect::ANY)
const;
295 bool getAttribTimeSamples(
const UT_StringRef &attribpath,
344 bool getPointInstancerXforms(
const UT_StringRef &primpath,
348 exint instance_index,
351 int getPointInstancerInstanceCount(
356 bool hasAnyVisibleLights(
369 bool isCollectionAtPath(
373 bool getCollectionIncludePaths(
376 bool getCollectionExcludePaths(
379 bool getCollectionComputedPaths(
382 bool collectionContains(
387 &collection_info_map)
const;
395 QueryAspect
query = QueryAspect::ANY,
396 bool allow_inheritance =
false)
const;
399 bool allow_inheritance =
false)
const;
404 bool allow_inheritance =
false)
const;
407 bool allow_inheritance =
false)
const;
410 bool allow_inheritance =
false)
const;
411 bool getPrimvarTimeSamples(
const UT_StringRef &primpath,
414 bool allow_inheritance =
false)
const;
420 bool isRelationshipAtPath(
425 bool getRelationshipTargets (
428 bool getRelationshipTargets (
433 bool getRelationshipForwardedTargets (
436 bool getRelationshipForwardedTargets (
446 QueryAspect
query = QueryAspect::ANY)
const;
451 bool isActiveLayerPrimAtPath(
const UT_StringRef &primpath,
462 void getShaderInputAttributeNames(
470 template<
typename UtValueType>
473 UtValueType &
value)
const;
476 template<
typename UtValueType>
479 UtValueType &
value)
const;
482 template<
typename UtValueType>
485 UtValueType &
value)
const;
PXL_API void reload()
Reload the configuration.
Axis-aligned bounding box (AABB).
GLsizei const GLchar *const * path
HUSD_PrimTraversalDemands
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
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