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
sceneSegmentHandler.h
Go to the documentation of this file.
1 #line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.10-windows/ufe/include/sceneSegmentHandler.h"
2 #ifndef _sceneSegmentHandler
3 #define _sceneSegmentHandler
4 // ===========================================================================
5 // Copyright 2022 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 #include "selection.h"
14 
15 UFE_NS_DEF {
16 
43 {
44 public:
45  typedef std::shared_ptr<SceneSegmentHandler> Ptr;
46 
50  static Ptr sceneSegmentHandler(Rtid);
51 
55  SceneSegmentHandler(const SceneSegmentHandler&) = default;
57  virtual ~SceneSegmentHandler();
58 
63  virtual bool isGateway_(const Path& path) const = 0;
64 
69  static bool isGateway(const Path& path);
70 
77  virtual Selection findGatewayItems_(const Path& path) const = 0;
78 
85  virtual Selection findGatewayItems_(const Path& path, Rtid nestedRtid) const = 0;
86 
93  static Selection findGatewayItems(const Path& path);
94 
101  static Selection findGatewayItems(const Path& path, Rtid nestedRtid);
102 };
103 
104 }
105 
106 #endif /* _sceneSegmentHandler */
std::shared_ptr< SceneSegmentHandler > Ptr
Identify an object or 3D path in the scene.
Definition: path.h:37
uint32_t Rtid
Definition: rtid.h:26
Selection list for objects in the scene.
Definition: selection.h:27
#define UFE_NS_DEF
Definition: ufe.h:35
Path path(const std::string &pathString)
Provides services that operate on a scene segment. This base class defines an interface that runtimes...
#define UFE_SDK_DECL
Definition: ufeExport.h:36