7#ifndef PXR_USD_IMAGING_USD_IMAGING_STAGE_SCENE_INDEX_INTERFACE_H
8#define PXR_USD_IMAGING_USD_IMAGING_STAGE_SCENE_INDEX_INTERFACE_H
14#include "pxr/usdImaging/usdImaging/api.h"
17#include "pxr/base/tf/type.h"
18#include "pxr/imaging/hd/sceneIndex.h"
19#include "pxr/usd/usd/timeCode.h"
23PXR_NAMESPACE_OPEN_SCOPE
40 virtual void SetStage(UsdStageRefPtr stage) = 0;
69 virtual UsdImagingStageSceneIndexInterfaceRefPtr New()
const = 0;
79 static_assert(std::is_base_of_v<UsdImagingStageSceneIndexInterface, T>);
81 UsdImagingStageSceneIndexInterfaceRefPtr New()
const final {
82 return TfCreateRefPtr(
new T);
86PXR_NAMESPACE_CLOSE_SCOPE
Abstract interface to scene data.
Base class of all factory types.
A factory interface that constructs instances of UsdImagingStageSceneIndexInterface.
A trivial implementation of UsdImagingStageSceneIndexInterfaceFactoryBase that manufactures instances...
An interface for initial scene indices that populate the Hydra scene with prims and data sources from...
virtual void ApplyPendingUpdates()=0
Apply queued stage edits to imaging scene.
virtual void SetTime(UsdTimeCode time)=0
Set the time, and call PrimsDirtied for any time-varying attributes.
virtual UsdTimeCode GetTime() const =0
Return the current time.
virtual void SetStage(UsdStageRefPtr stage)=0
Set the USD stage to pull data from.
The outermost container for scene description, which owns and presents composed prims as a scenegraph...
Represent a time value, which may be either numeric, holding a double value, or a sentinel value UsdT...
Standard pointer typedefs.
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.