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 static bool isAnonymousLayer(
const UT_StringRef &identifier);
77 bool isStageValid()
const;
89 bool force_load =
false);
94 bool force_load =
false)
const;
96 void clearGusdXformCache()
const;
104 bool getLayerHierarchy(
UT_InfoTree &hierarchy)
const;
106 bool getLayersAboveLayerBreak(
111 bool getLayerExists(
const UT_StringRef &filepath)
const;
114 bool getStartTimeCode(
fpreal64 &starttimecode)
const;
115 bool getEndTimeCode(
fpreal64 &endtimecode)
const;
116 bool getFramesPerSecond(
fpreal64 &fps)
const;
117 bool getTimeCodesPerSecond(
fpreal64 &tcs)
const;
136 bool pick_first_of_many =
false)
const;
152 bool pick_first_of_many =
false)
const;
204 STATS_SIMPLE_COUNTS = 0x0000,
205 STATS_PURPOSE_COUNTS = 0x0001,
206 STATS_GEOMETRY_COUNTS = 0x0002
211 flags = STATS_SIMPLE_COUNTS)
const;
223 bool allow_kind_mismatch,
224 bool allow_instance_proxies,
225 bool allow_hidden_prims)
const;
229 bool computeStageStats(
UT_Options &stats)
const;
248 static bool getExpandedPathSet(
const UT_StringRef &filepath,
255 static bool getLayerRootPrims(
const UT_StringRef &filepath,
261 static bool hasAnyPrimsOutside(
const UT_StringRef &filepath,
273 QueryAspect
query = QueryAspect::ANY)
const;
276 QueryAspect
query = QueryAspect::ANY)
const;
300 bool getAttribTimeSamples(
const UT_StringRef &attribpath,
349 bool getPointInstancerXforms(
const UT_StringRef &primpath,
353 exint instance_index,
356 int getPointInstancerInstanceCount(
361 bool hasAnyVisibleLights(
374 bool isCollectionAtPath(
378 bool getCollectionIncludePaths(
381 bool getCollectionExcludePaths(
384 bool getCollectionComputedPaths(
387 bool collectionContains(
392 &collection_info_map)
const;
400 QueryAspect
query = QueryAspect::ANY,
401 bool allow_inheritance =
false)
const;
404 bool allow_inheritance =
false)
const;
409 bool allow_inheritance =
false)
const;
412 bool allow_inheritance =
false)
const;
415 bool allow_inheritance =
false)
const;
416 bool getPrimvarTimeSamples(
const UT_StringRef &primpath,
419 bool allow_inheritance =
false)
const;
425 bool isRelationshipAtPath(
430 bool getRelationshipTargets (
433 bool getRelationshipTargets (
438 bool getRelationshipForwardedTargets (
441 bool getRelationshipForwardedTargets (
451 QueryAspect
query = QueryAspect::ANY)
const;
456 bool isActiveLayerPrimAtPath(
const UT_StringRef &primpath,
467 void getShaderInputAttributeNames(
475 template<
typename UtValueType>
478 UtValueType &
value)
const;
481 template<
typename UtValueType>
484 UtValueType &
value)
const;
487 template<
typename UtValueType>
490 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