ufe 7.0
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 "D:/Jenkins/workspace/EMS/ECG/ufe/full/ufe-full-python3.13-windows/ufe/include/sceneSegmentHandler.h"
2#ifndef UFE_SCENESEGMENTHANDLER_H
3#define UFE_SCENESEGMENTHANDLER_H
4
5// ===========================================================================
6// Copyright 2025 Autodesk, Inc. All rights reserved.
7//
8// The use of this software is subject to the Autodesk Terms of Use or other
9// license agreement provided at the time of installation or download, or
10// which otherwise accompanies this software.
11// ===========================================================================
12
13#include "path.h"
14#include "selection.h"
15
17
44{
45public:
46 typedef std::shared_ptr<SceneSegmentHandler> Ptr;
47
52
59
64 virtual bool isGateway_(const Path& path) const = 0;
65
70 static bool isGateway(const Path& path);
71
78 static bool isGateway(const Path& path, Rtid rtid);
79
86 virtual Selection findGatewayItems_(const Path& path) const = 0;
87
94 virtual Selection findGatewayItems_(const Path& path, Rtid nestedRtid) const = 0;
95
103
110 static Selection findGatewayItems(const Path& path, Rtid nestedRtid);
111
119 virtual Path rootSceneSegmentRootPath() const = 0;
120
126 static Rtid getNestedRuntimeId(const Path& gatewayPath);
127};
128
129}
130
131#endif /* UFE_SCENESEGMENTHANDLER_H */
Identify an object or 3D path in the scene.
Definition: path.h:40
Provides services that operate on a scene segment. This base class defines an interface that runtimes...
static bool isGateway(const Path &path)
static Ptr sceneSegmentHandler(Rtid)
static Selection findGatewayItems(const Path &path, Rtid nestedRtid)
virtual ~SceneSegmentHandler()
Destructor.
static bool isGateway(const Path &path, Rtid rtid)
static Rtid getNestedRuntimeId(const Path &gatewayPath)
virtual Selection findGatewayItems_(const Path &path, Rtid nestedRtid) const =0
SceneSegmentHandler()
Constructor.
std::shared_ptr< SceneSegmentHandler > Ptr
virtual bool isGateway_(const Path &path) const =0
SceneSegmentHandler(const SceneSegmentHandler &)=default
Default copy constructor.
virtual Selection findGatewayItems_(const Path &path) const =0
static Selection findGatewayItems(const Path &path)
virtual Path rootSceneSegmentRootPath() const =0
Selection list for objects in the scene.
Definition: selection.h:29
Path path(const std::string &pathString)
uint32_t Rtid
Definition: rtid.h:27
#define UFE_NS_DEF
Definition: ufe.h:36
#define UFE_SDK_DECL
Definition: ufeExport.h:35