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
cameraHandler.h
Go to the documentation of this file.
1#line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.11-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
17
18class Path;
19
21
28{
29public:
30 typedef std::shared_ptr<CameraHandler> Ptr;
34 CameraHandler(const CameraHandler&) = default;
36 virtual ~CameraHandler();
37
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:28
CameraHandler()
Constructor.
std::shared_ptr< CameraHandler > Ptr
Definition: cameraHandler.h:30
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:52
Identify an object or 3D path in the scene.
Definition: path.h:38
std::shared_ptr< SceneItem > Ptr
Definition: sceneItem.h:44
Selection list for objects in the scene.
Definition: selection.h:28
Path path(const std::string &pathString)
#define UFE_NS_DEF
Definition: ufe.h:35
#define UFE_SDK_DECL
Definition: ufeExport.h:36