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;
138 bool pick_first_of_many =
false)
const;
156 bool pick_first_of_many =
false)
const;
165 bool isInstanceProxy(
const UT_StringRef &primpath)
const;
213 STATS_SIMPLE_COUNTS = 0x0000,
214 STATS_PURPOSE_COUNTS = 0x0001,
215 STATS_GEOMETRY_COUNTS = 0x0002,
216 STATS_KIND_COUNTS = 0x0004,
217 STATS_EXCLUDE_ROOT_PRIM = 0x0008
222 flags = STATS_SIMPLE_COUNTS)
const;
234 bool allow_kind_mismatch,
235 bool allow_instance_proxies,
236 bool allow_hidden_prims)
const;
240 bool computeStageStats(
UT_Options &stats)
const;
259 static bool getExpandedPathSet(
const UT_StringRef &filepath,
265 static bool hasAnyPrimsOutside(
const UT_StringRef &filepath,
272 static bool getLayerRootPrims(
const UT_StringRef &filepath,
277 static bool getLayerMetadata(
const UT_StringRef &filepath,
283 static bool getResolverContextStrings(
const UT_StringRef &filepath,
295 QueryAspect
query = QueryAspect::ANY)
const;
298 QueryAspect
query = QueryAspect::ANY)
const;
301 bool hasAuthoredValueForAttrib(
const UT_StringRef &primpath,
326 bool getAttribTimeSamples(
const UT_StringRef &attribpath,
378 bool getPointInstancerXforms(
const UT_StringRef &primpath,
382 exint instance_index,
385 int getPointInstancerInstanceCount(
390 bool hasAnyVisibleLights(
408 bool isCollectionAtPath(
412 bool getCollectionIncludePaths(
415 bool getCollectionExcludePaths(
418 bool getCollectionComputedPaths(
421 bool collectionContains(
426 &collection_info_map)
const;
434 QueryAspect
query = QueryAspect::ANY,
435 bool allow_inheritance =
false)
const;
438 bool allow_inheritance =
false)
const;
443 bool allow_inheritance =
false)
const;
446 bool allow_inheritance =
false)
const;
449 bool allow_inheritance =
false)
const;
450 bool getPrimvarTimeSamples(
const UT_StringRef &primpath,
453 bool allow_inheritance =
false)
const;
459 bool isRelationshipAtPath(
464 bool getRelationshipTargets (
467 bool getRelationshipTargets (
472 bool getRelationshipForwardedTargets (
475 bool getRelationshipForwardedTargets (
480 bool hasAuthoredTargetsForRelationship(
485 bool isPropertyAtPath(
490 bool hasAuthoredValueForProperty(
499 QueryAspect
query = QueryAspect::ANY)
const;
504 bool isActiveLayerPrimAtPath(
const UT_StringRef &primpath,
515 void getShaderInputAttributeNames(
523 template<
typename UtValueType>
526 UtValueType &
value)
const;
529 template<
typename UtValueType>
532 UtValueType &
value)
const;
535 template<
typename UtValueType>
538 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