7 #ifndef PXR_IMAGING_HDSI_VELOCITY_MOTION_RESOLVING_SCENE_INDEX_H 8 #define PXR_IMAGING_HDSI_VELOCITY_MOTION_RESOLVING_SCENE_INDEX_H 10 #include "pxr/imaging/hd/dataSource.h" 11 #include "pxr/imaging/hd/filteringSceneIndex.h" 12 #include "pxr/imaging/hd/sceneIndex.h" 13 #include "pxr/imaging/hd/sceneIndexObserver.h" 14 #include "pxr/imaging/hdsi/api.h" 16 #include "pxr/usd/sdf/path.h" 25 PXR_NAMESPACE_OPEN_SCOPE
28 HDSI_VELOCITY_MOTION);
30 #define HDSI_VELOCITY_MOTION_RESOLVING_SCENE_INDEX_TOKENS \ 35 (timeCodesPerSecond) \ 36 ((velocityMotionMode, "__velocityMotionMode")) 39 HDSI_API, HDSI_VELOCITY_MOTION_RESOLVING_SCENE_INDEX_TOKENS);
100 static HdsiVelocityMotionResolvingSceneIndexRefPtr
102 const HdSceneIndexBaseRefPtr& inputSceneIndex,
103 const HdContainerDataSourceHandle& inputArgs =
nullptr);
115 PrimTypeSupportsVelocityMotion(
const TfToken& primType);
119 const HdSceneIndexBaseRefPtr& inputSceneIndex,
120 const HdContainerDataSourceHandle& inputArgs =
nullptr);
138 PXR_NAMESPACE_CLOSE_SCOPE
140 #endif // PXR_IMAGING_HDSI_VELOCITY_MOTION_RESOLVING_SCENE_INDEX_H
HDSI_API HdSceneIndexPrim GetPrim(const SdfPath &primPath) const override
Returns a pair of (prim type, datasource).
Standard pointer typedefs.
Conditional debugging output class and macros.
TF_DEBUG_CODES(VDF_MUNG_BUFFER_LOCKING, VDF_SPARSE_INPUT_PATH_FINDER, VDF_SCHEDULING)
TF_DEBUG codes for Vdf execution.
Scene index that resolves velocity-based motion for all prims that support it.
Small struct representing a 'prim' in the Hydra scene index.
Token for efficient comparison, assignment, and hashing of known strings.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
Abstract interface to scene data.
A path value used to locate objects in layers or scenegraphs.
HDSI_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override
Returns the paths of all scene index prims located immediately below primPath.
This file defines some macros that are useful for declaring and using static TfTokens.
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...