ufe  4.2
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
sceneItem.h
Go to the documentation of this file.
1 #line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.10-windows/ufe/include/sceneItem.h"
2 #ifndef _ufeSceneItem
3 #define _ufeSceneItem
4 // ===========================================================================
5 // Copyright 2018 Autodesk, Inc. All rights reserved.
6 //
7 // Use of this software is subject to the terms of the Autodesk license
8 // agreement provided at the time of installation or download, or which
9 // otherwise accompanies this software in either electronic or hard copy form.
10 // ===========================================================================
11 
12 #include "path.h"
13 
14 #include <cstdint>
15 #include <memory>
16 #include <string>
17 #include <vector>
18 
19 UFE_NS_DEF {
20 
38 {
39 public:
40  typedef std::shared_ptr<SceneItem> Ptr;
41 
44  SceneItem(const Path& path);
45 
47  SceneItem(const SceneItem&) = default;
48 
50  virtual ~SceneItem();
51 
53  const Path& path() const;
54 
56  Rtid runTimeId() const;
57 
59  bool operator==(const SceneItem& rhs) const;
62  bool operator!=(const SceneItem& rhs) const;
64 
66  std::string nodeName() const;
67 
70  virtual std::string nodeType() const = 0;
71 
78  virtual std::vector<std::string> ancestorNodeTypes() const;
79 
83  virtual bool isProperty() const;
84 
85 private:
86 
88 };
89 
90 }
91 
92 #endif /* _ufeSceneItem */
Universal Front End abstract scene item.
Definition: sceneItem.h:37
std::string string(const Path &path)
Identify an object or 3D path in the scene.
Definition: path.h:37
uint32_t Rtid
Definition: rtid.h:26
#define UFE_NS_DEF
Definition: ufe.h:35
std::shared_ptr< SceneItem > Ptr
Definition: sceneItem.h:40
Path path(const std::string &pathString)
#define UFE_SDK_DECL
Definition: ufeExport.h:36