|
HDK
|
#include <selectionSceneIndexObserver.h>
Inheritance diagram for HdxSelectionSceneIndexObserver:Queries each prim of the given scene index for the HdSelectionsSchema to compute a HdSelection.
Definition at line 22 of file selectionSceneIndexObserver.h.
| HDX_API HdxSelectionSceneIndexObserver::HdxSelectionSceneIndexObserver | ( | ) |
| HDX_API HdSelectionSharedPtr HdxSelectionSceneIndexObserver::GetSelection | ( | ) |
Get the result of querying the scene index for the selection as HdSelection.
Increased every time the selection in the scene index gets dirtied (or a difference scene index is set).
|
overridevirtual |
A notification indicating prims have been added to the scene. The set of scene prims compiled from added/removed notices should match the set from a traversal based on sender.GetChildPrimNames. Each prim has a path and type. It's possible for PrimsAdded to be called for prims that already exist; in that case, observers should be sure to update the prim type, in case it changed, and resync the prim. This function is not expected to be threadsafe.
Implements HdSceneIndexObserver.
|
overridevirtual |
A notification indicating prim datasources have been invalidated. This message is not considered hierarchical on primPath; if /Path is dirtied, /Path/child is not necessarily dirtied. However datasource locators are considered hierarchical: if primvars is dirtied on a prim, primvars/color is considered dirtied as well. This function is not expected to be threadsafe.
Implements HdSceneIndexObserver.
|
overridevirtual |
A notification indicating prims have been removed from the scene. Note that this message is considered hierarchical; if /Path is removed, /Path/child is considered removed as well. This function is not expected to be threadsafe.
Implements HdSceneIndexObserver.
|
overridevirtual |
A notification indicating prims (and their descendants) have been renamed or reparented. This function is not expected to be threadsafe.
Implements HdSceneIndexObserver.
| HDX_API void HdxSelectionSceneIndexObserver::SetSceneIndex | ( | HdSceneIndexBaseRefPtr const & | sceneIndex | ) |
Set which scene index to query for selection.