35#ifndef PXR_IMAGING_HD_PRIM_ORIGIN_SCHEMA_H
36#define PXR_IMAGING_HD_PRIM_ORIGIN_SCHEMA_H
40#include "pxr/imaging/hd/api.h"
42#include "pxr/imaging/hd/schema.h"
47PXR_NAMESPACE_OPEN_SCOPE
52#define HD_PRIM_ORIGIN_SCHEMA_TOKENS \
57 HD_PRIM_ORIGIN_SCHEMA_TOKENS);
62class HdPrimOriginSchema :
public HdSchema
68 HdPrimOriginSchema(HdContainerDataSourceHandle container)
77 static HdPrimOriginSchema GetFromParent(
78 const HdContainerDataSourceHandle &fromParentContainer);
92 const SdfPath &GetPath()
const {
return _path; }
94 bool operator==(
const OriginPath &other)
const {
95 return _path == other._path;
100 friend std::ostream &operator <<(std::ostream &stream,
125 static const TfToken &GetSchemaToken();
155PXR_NAMESPACE_CLOSE_SCOPE
Represents an object that can identify the location of a data source.
Wraps an SdfPath so that it is not affected by the prefixing scene index.
Schema classes represent a structured view of the inherently unstructured container data source passe...
A datasource representing a concretely-typed sampled value.
A path value used to locate objects in layers or scenegraphs.
Token for efficient comparison, assignment, and hashing of known strings.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.