28 #ifndef PXR_IMAGING_HD_PRIM_ORIGIN_SCHEMA_H 29 #define PXR_IMAGING_HD_PRIM_ORIGIN_SCHEMA_H 31 #include "pxr/imaging/hd/api.h" 33 #include "pxr/imaging/hd/schema.h" 35 PXR_NAMESPACE_OPEN_SCOPE
39 #define HDPRIMORIGIN_SCHEMA_TOKENS \ 44 HDPRIMORIGIN_SCHEMA_TOKENS);
48 class HdPrimOriginSchema :
public HdSchema 51 HdPrimOriginSchema(HdContainerDataSourceHandle container)
64 const SdfPath &GetPath()
const {
return _path; }
66 bool operator==(
const OriginPath &other)
const {
67 return _path == other._path;
72 friend std::ostream &operator <<(std::ostream &stream,
92 static HdPrimOriginSchema GetFromParent(
93 const HdContainerDataSourceHandle &fromParentContainer);
110 PXR_NAMESPACE_CLOSE_SCOPE
Token for efficient comparison, assignment, and hashing of known strings.
Represents an object that can identify the location of a data source.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
A datasource representing a concretely-typed sampled value.
Wraps an SdfPath so that it is not affected by the prefixing scene index.
A path value used to locate objects in layers or scenegraphs.
Schema classes represent a structured view of the inherently unstructured container data source passe...