7#ifndef PXR_IMAGING_HD_SCENE_INDEX_OBSERVER_H
8#define PXR_IMAGING_HD_SCENE_INDEX_OBSERVER_H
14#include "pxr/usd/sdf/path.h"
16#include "pxr/imaging/hd/api.h"
17#include "pxr/imaging/hd/dataSourceLocator.h"
19PXR_NAMESPACE_OPEN_SCOPE
89 , dirtyLocators(dirtyLocators)
108 : oldPrimPath(oldPrimPath)
109 , newPrimPath(newPrimPath)
180PXR_NAMESPACE_CLOSE_SCOPE
Represents a set of data source locators closed under descendancy.
Abstract interface to scene data.
virtual HD_API void PrimsDirtied(const HdSceneIndexBase &sender, const DirtiedPrimEntries &entries)=0
A notification indicating prim datasources have been invalidated.
static HD_API void ConvertPrimsRenamedToRemovedAndAdded(const HdSceneIndexBase &sender, const HdSceneIndexObserver::RenamedPrimEntries &renamedEntries, HdSceneIndexObserver::RemovedPrimEntries *outputRemovedEntries, HdSceneIndexObserver::AddedPrimEntries *outputAddedEntries)
A utility for converting prims renamed messages into equivalent removed and added notices.
virtual HD_API void PrimsAdded(const HdSceneIndexBase &sender, const AddedPrimEntries &entries)=0
A notification indicating prims have been added to the scene.
static HD_API void ConvertPrimsRenamedToRemovedAndAdded(const HdSceneIndexBase &sender, const HdSceneIndexObserver::RenamedPrimEntries &renamedEntries, HdSceneIndexObserver *observer)
A utility for converting prims renamed messages into equivalent removed and added notices at the obse...
virtual HD_API void PrimsRenamed(const HdSceneIndexBase &sender, const RenamedPrimEntries &entries)=0
A notification indicating prims (and their descendants) have been renamed or reparented.
virtual HD_API void PrimsRemoved(const HdSceneIndexBase &sender, const RemovedPrimEntries &entries)=0
A notification indicating prims have been removed from the scene.
A path value used to locate objects in layers or scenegraphs.
Token for efficient comparison, assignment, and hashing of known strings.
Enable a concrete base class for use with TfWeakPtr.
Standard pointer typedefs.
#define TF_DECLARE_WEAK_PTRS(type)
Define standard weak pointer types.
#define TF_DECLARE_WEAK_AND_REF_PTRS(type)
Define standard weak, ref, and vector pointer types.
A notice indicating a prim of a given type was added to the scene.
A notice indicating a prim was invalidated.
A notice indicating a prim subtree was removed from the scene.
A notice indicating a prim (and its descendents) was renamed or reparented.