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
cameraHandler.h
Go to the documentation of this file.
1 #line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.10-windows/ufe/include/cameraHandler.h"
2 #ifndef _cameraHandler
3 #define _cameraHandler
4 // ===========================================================================
5 // Copyright 2020 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 "camera.h"
13 #include "sceneItem.h"
14 #include "selection.h"
15 
16 UFE_NS_DEF {
17 
18 class Path;
19 
21 
28 {
29 public:
30  typedef std::shared_ptr<CameraHandler> Ptr;
32  CameraHandler();
34  CameraHandler(const CameraHandler&) = default;
36  virtual ~CameraHandler();
37 
44  virtual Camera::Ptr camera(
45  const SceneItem::Ptr& item) const = 0;
46 
53  virtual Selection find_(const Path& path) const = 0;
54 
61  static Selection find(const Path& path);
62 
68  static Selection findAll(const Path& path);
69 };
70 
71 }
72 
73 #endif /* _cameraHandler */
Factory base class for Camera interface.
Definition: cameraHandler.h:27
Identify an object or 3D path in the scene.
Definition: path.h:37
std::shared_ptr< Camera > Ptr
Definition: camera.h:52
Selection list for objects in the scene.
Definition: selection.h:27
#define UFE_NS_DEF
Definition: ufe.h:35
std::shared_ptr< SceneItem > Ptr
Definition: sceneItem.h:40
std::shared_ptr< CameraHandler > Ptr
Definition: cameraHandler.h:30
Path path(const std::string &pathString)
#define UFE_SDK_DECL
Definition: ufeExport.h:36