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
cameraHandler.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/cameraHandler.h"
2#ifndef UFE_CAMERAHANDLER_H
3#define UFE_CAMERAHANDLER_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 "camera.h"
14#include "sceneItem.h"
15#include "selection.h"
16
18
19class Path;
20
22
29{
30public:
31 typedef std::shared_ptr<CameraHandler> Ptr;
35 CameraHandler(const CameraHandler&) = default;
37 virtual ~CameraHandler();
38
46 const SceneItem::Ptr& item) const = 0;
47
54 virtual Selection find_(const Path& path) const = 0;
55
62 static Selection find(const Path& path);
63
69 static Selection findAll(const Path& path);
70};
71
72}
73
74#endif /* UFE_CAMERAHANDLER_H */
Factory base class for Camera interface.
Definition: cameraHandler.h:29
CameraHandler()
Constructor.
std::shared_ptr< CameraHandler > Ptr
Definition: cameraHandler.h:31
static Selection find(const Path &path)
virtual Selection find_(const Path &path) const =0
virtual Camera::Ptr camera(const SceneItem::Ptr &item) const =0
virtual ~CameraHandler()
Destructor.
static Selection findAll(const Path &path)
CameraHandler(const CameraHandler &)=default
Default copy constructor.
std::shared_ptr< Camera > Ptr
Definition: camera.h:53
Identify an object or 3D path in the scene.
Definition: path.h:40
std::shared_ptr< SceneItem > Ptr
Definition: sceneItem.h:45
Selection list for objects in the scene.
Definition: selection.h:29
Path path(const std::string &pathString)
#define UFE_NS_DEF
Definition: ufe.h:36
#define UFE_SDK_DECL
Definition: ufeExport.h:35