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);
48 static int valueTypeScalarSize(
const UT_StringRef &valueType);
59 static bool isPathInPrototype(
const HUSD_Path &primpath);
62 static void getGlobalVariantSelectionFallbacks(
68 static bool isStageVariableExpression(
const UT_StringRef &expr,
69 bool check_for_errors =
true);
73 bool isStageValid()
const;
85 bool force_load =
false);
90 bool force_load =
false)
const;
92 void clearGusdXformCache()
const;
100 bool getLayerHierarchy(
UT_InfoTree &hierarchy)
const;
102 bool getLayersAboveLayerBreak(
107 bool getLayerExists(
const UT_StringRef &filepath)
const;
110 bool getStartTimeCode(
fpreal64 &starttimecode)
const;
111 bool getEndTimeCode(
fpreal64 &endtimecode)
const;
112 bool getFramesPerSecond(
fpreal64 &fps)
const;
113 bool getTimeCodesPerSecond(
fpreal64 &tcs)
const;
132 bool pick_first_of_many =
false)
const;
148 bool pick_first_of_many =
false)
const;
200 STATS_SIMPLE_COUNTS = 0x0000,
201 STATS_PURPOSE_COUNTS = 0x0001,
202 STATS_GEOMETRY_COUNTS = 0x0002
207 flags = STATS_SIMPLE_COUNTS)
const;
219 bool allow_kind_mismatch,
220 bool allow_instance_proxies,
221 bool allow_hidden_prims)
const;
225 bool computeStageStats(
UT_Options &stats)
const;
244 static bool getExpandedPathSet(
const UT_StringRef &filepath,
251 static bool getLayerRootPrims(
const UT_StringRef &filepath,
257 static bool hasAnyPrimsOutside(
const UT_StringRef &filepath,
269 QueryAspect
query = QueryAspect::ANY)
const;
272 QueryAspect
query = QueryAspect::ANY)
const;
296 bool getAttribTimeSamples(
const UT_StringRef &attribpath,
345 bool getPointInstancerXforms(
const UT_StringRef &primpath,
349 exint instance_index,
352 int getPointInstancerInstanceCount(
357 bool hasAnyVisibleLights(
370 bool isCollectionAtPath(
374 bool getCollectionIncludePaths(
377 bool getCollectionExcludePaths(
380 bool getCollectionComputedPaths(
383 bool collectionContains(
388 &collection_info_map)
const;
396 QueryAspect
query = QueryAspect::ANY,
397 bool allow_inheritance =
false)
const;
400 bool allow_inheritance =
false)
const;
405 bool allow_inheritance =
false)
const;
408 bool allow_inheritance =
false)
const;
411 bool allow_inheritance =
false)
const;
412 bool getPrimvarTimeSamples(
const UT_StringRef &primpath,
415 bool allow_inheritance =
false)
const;
421 bool isRelationshipAtPath(
426 bool getRelationshipTargets (
429 bool getRelationshipTargets (
434 bool getRelationshipForwardedTargets (
437 bool getRelationshipForwardedTargets (
447 QueryAspect
query = QueryAspect::ANY)
const;
452 bool isActiveLayerPrimAtPath(
const UT_StringRef &primpath,
463 void getShaderInputAttributeNames(
471 template<
typename UtValueType>
474 UtValueType &
value)
const;
477 template<
typename UtValueType>
480 UtValueType &
value)
const;
483 template<
typename UtValueType>
486 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