HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
10 /// \file
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 
28 
29 /// Family of static factory methods that produce abstract scene objects from
30 /// USD scene objects.
31 ///
32 /// The underlying implementations of the scene object interfaces are not
33 /// exported by EsfUsd. Clients can only obtain abstract scene objects by using
34 /// this class.
35 ///
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
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
61 
62  static ESFUSD_API
64 
65  static ESFUSD_API
67 };
68 
70 
71 #endif
#define PXR_NAMESPACE_OPEN_SCOPE
Definition: pxr.h:73
Definition: prim.h:84
static ESFUSD_API EsfPrim AdaptPrim(const UsdPrim &prim)
Definition: prim.h:116
#define ESFUSD_API
Definition: api.h:25
static ESFUSD_API EsfObject AdaptObject(const UsdObject &object)
static ESFUSD_API EsfProperty AdaptProperty(const UsdProperty &property)
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74
OIIO_API bool attribute(string_view name, TypeDesc type, const void *val)
static ESFUSD_API EsfStage AdaptStage(const UsdStageConstRefPtr &stage)
static ESFUSD_API EsfAttribute AdaptAttribute(const UsdAttribute &attribute)