sceneAdapter.h
Go to the documentation of this file.
1 //
2 // Copyright 2025 Pixar
3 //
4 // Licensed under the terms set forth in the LICENSE.txt file available at
5 // https://openusd.org/license.
6 //
7 #ifndef PXR_EXEC_ESF_USD_SCENE_ADAPTER_H
8 #define PXR_EXEC_ESF_USD_SCENE_ADAPTER_H
9 
11 
12 #include "pxr/pxr.h"
13 
14 #include "pxr/exec/esfUsd/api.h"
15 
16 #include "pxr/exec/esf/attribute.h"
17 #include "pxr/exec/esf/object.h"
18 #include "pxr/exec/esf/prim.h"
19 #include "pxr/exec/esf/property.h"
20 #include "pxr/exec/esf/stage.h"
21 #include "pxr/usd/usd/attribute.h"
22 #include "pxr/usd/usd/common.h"
23 #include "pxr/usd/usd/object.h"
24 #include "pxr/usd/usd/prim.h"
25 #include "pxr/usd/usd/property.h"
26 
27 PXR_NAMESPACE_OPEN_SCOPE
28 
37 {
38  static ESFUSD_API
39  EsfStage AdaptStage(const UsdStageConstRefPtr &stage);
40 
41  static ESFUSD_API
42  EsfStage AdaptStage(UsdStageConstRefPtr &&stage);
43 
44  static ESFUSD_API
45  EsfObject AdaptObject(const UsdObject &object);
46 
47  static ESFUSD_API
48  EsfObject AdaptObject(UsdObject &&object);
49 
50  static ESFUSD_API
51  EsfPrim AdaptPrim(const UsdPrim &prim);
52 
53  static ESFUSD_API
54  EsfPrim AdaptPrim(UsdPrim &&prim);
55 
56  static ESFUSD_API
57  EsfProperty AdaptProperty(const UsdProperty &property);
58 
59  static ESFUSD_API
60  EsfProperty AdaptProperty(UsdProperty &&property);
61 
62  static ESFUSD_API
63  EsfAttribute AdaptAttribute(const UsdAttribute &attribute);
64 
65  static ESFUSD_API
66  EsfAttribute AdaptAttribute(UsdAttribute &&attribute);
67 };
68 
69 PXR_NAMESPACE_CLOSE_SCOPE
70 
71 #endif
Holds an implementation of EsfStageInterface in a fixed-size buffer.
Definition: stage.h:107
Holds an implementation of EsfPrimInterface in a fixed-size buffer.
Definition: prim.h:84
Scenegraph object for authoring and retrieving numeric, string, and array valued data,...
Definition: attribute.h:183
Base class for Usd scenegraph objects, providing common API.
Definition: object.h:116
UsdPrim is the sole persistent scenegraph object on a UsdStage, and is the embodiment of a "Prim" as ...
Definition: prim.h:116
Holds an implementation of EsfObjectInterface in a fixed-size buffer.
Definition: object.h:159
Holds an implementation of EsfAttributeInterface in a fixed-size buffer.
Definition: attribute.h:68
Base class for UsdAttribute and UsdRelationship scenegraph objects.
Definition: property.h:38
Holds an implementation of EsfPropertyInterface in a fixed-size buffer.
Definition: property.h:60
Family of static factory methods that produce abstract scene objects from USD scene objects.
Definition: sceneAdapter.h:36