ufe 5.5
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
hierarchyHandler.h
Go to the documentation of this file.
1#line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.11-windows/ufe/include/hierarchyHandler.h"
2#ifndef _hierarchyHandler
3#define _hierarchyHandler
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 "hierarchy.h"
13#include "sceneItem.h"
14
16
17class Path;
18
20
27{
28public:
29 typedef std::shared_ptr<HierarchyHandler> Ptr;
30
33
36
39
45 virtual Hierarchy::Ptr hierarchy(const SceneItem::Ptr& item) const = 0;
46
51 virtual SceneItem::Ptr createItem(const Path& path) const = 0;
52
55};
56
57}
58
59#endif /* _hierarchyHandler */
Factory base class for scene hierarchy interface.
HierarchyHandler()
Constructor.
virtual Hierarchy::ChildFilter childFilter() const =0
Return the child filter for the hierarchy.
std::shared_ptr< HierarchyHandler > Ptr
virtual Hierarchy::Ptr hierarchy(const SceneItem::Ptr &item) const =0
virtual SceneItem::Ptr createItem(const Path &path) const =0
HierarchyHandler(const HierarchyHandler &)=default
Default copy constructor.
virtual ~HierarchyHandler()
Destructor.
std::shared_ptr< Hierarchy > Ptr
Definition: hierarchy.h:72
std::list< ChildFilterFlag > ChildFilter
Definition: hierarchy.h:73
Identify an object or 3D path in the scene.
Definition: path.h:38
std::shared_ptr< SceneItem > Ptr
Definition: sceneItem.h:44
Path path(const std::string &pathString)
#define UFE_NS_DEF
Definition: ufe.h:35
#define UFE_SDK_DECL
Definition: ufeExport.h:36