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"
25PXR_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);
138PXR_NAMESPACE_CLOSE_SCOPE
Abstract interface to scene data.
Scene index that resolves velocity-based motion for all prims that support it.
HDSI_API HdSceneIndexPrim GetPrim(const SdfPath &primPath) const override
Returns a pair of (prim type, datasource).
HDSI_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override
Returns the paths of all scene index prims located immediately below primPath.
A path value used to locate objects in layers or scenegraphs.
Token for efficient comparison, assignment, and hashing of known strings.
Conditional debugging output class and macros.
Standard pointer typedefs.
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.
#define TF_DEBUG_CODES(...)
Define debugging symbols.
This file defines some macros that are useful for declaring and using static TfTokens.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
Small struct representing a 'prim' in the Hydra scene index.
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...