18 #ifndef __HUSD_Info_h__
19 #define __HUSD_Info_h__
28 class husd_InfoPrivate;
45 static bool isArrayValueType(
const UT_StringRef &valueType);
46 static bool isTokenArrayValueType(
const UT_StringRef &valueType);
57 static bool isPathInPrototype(
const HUSD_Path &primpath);
60 static void getGlobalVariantSelectionFallbacks(
66 static bool isStageVariableExpression(
const UT_StringRef &expr,
67 bool check_for_errors =
true);
71 bool isStageValid()
const;
83 bool force_load =
false);
88 bool force_load =
false)
const;
90 void clearGusdXformCache()
const;
98 bool getLayerHierarchy(
UT_InfoTree &hierarchy)
const;
100 bool getLayersAboveLayerBreak(
105 bool getLayerExists(
const UT_StringRef &filepath)
const;
108 bool getStartTimeCode(
fpreal64 &starttimecode)
const;
109 bool getEndTimeCode(
fpreal64 &endtimecode)
const;
110 bool getFramesPerSecond(
fpreal64 &fps)
const;
111 bool getTimeCodesPerSecond(
fpreal64 &tcs)
const;
130 bool pick_first_of_many =
false)
const;
146 bool pick_first_of_many =
false)
const;
198 STATS_SIMPLE_COUNTS = 0x0000,
199 STATS_PURPOSE_COUNTS = 0x0001,
200 STATS_GEOMETRY_COUNTS = 0x0002
205 flags = STATS_SIMPLE_COUNTS)
const;
217 bool allow_kind_mismatch,
218 bool allow_instance_proxies,
219 bool allow_hidden_prims)
const;
223 bool computeStageStats(
UT_Options &stats)
const;
242 static bool getExpandedPathSet(
const UT_StringRef &filepath,
249 static bool getLayerRootPrims(
const UT_StringRef &filepath,
255 static bool hasAnyPrimsOutside(
const UT_StringRef &filepath,
267 QueryAspect
query = QueryAspect::ANY)
const;
270 QueryAspect
query = QueryAspect::ANY)
const;
294 bool getAttribTimeSamples(
const UT_StringRef &attribpath,
340 bool getPointInstancerXforms(
const UT_StringRef &primpath,
344 exint instance_index,
347 int getPointInstancerInstanceCount(
361 bool isCollectionAtPath(
365 bool getCollectionIncludePaths(
368 bool getCollectionExcludePaths(
371 bool getCollectionComputedPaths(
374 bool collectionContains(
379 &collection_info_map)
const;
387 QueryAspect
query = QueryAspect::ANY,
388 bool allow_inheritance =
false)
const;
391 bool allow_inheritance =
false)
const;
396 bool allow_inheritance =
false)
const;
399 bool allow_inheritance =
false)
const;
402 bool allow_inheritance =
false)
const;
403 bool getPrimvarTimeSamples(
const UT_StringRef &primpath,
406 bool allow_inheritance =
false)
const;
412 bool isRelationshipAtPath(
417 bool getRelationshipTargets (
420 bool getRelationshipTargets (
425 bool getRelationshipForwardedTargets (
428 bool getRelationshipForwardedTargets (
438 QueryAspect
query = QueryAspect::ANY)
const;
443 bool isActiveLayerPrimAtPath(
const UT_StringRef &primpath,
454 void getShaderInputAttributeNames(
462 template<
typename UtValueType>
465 UtValueType &
value)
const;
468 template<
typename UtValueType>
471 UtValueType &
value)
const;
474 template<
typename UtValueType>
477 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