ufe  1.0
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
transform3dUndoableCommands.h
Go to the documentation of this file.
1 #line 1 "E:/jenkins/workspace/ufe-full-windows/ufe/include/transform3dUndoableCommands.h"
2 #ifndef _transform3dUndoableCommands
3 #define _transform3dUndoableCommands
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 "common/ufeExport.h"
13 #include "undoableCommand.h"
14 #include "sceneItem.h"
15 
16 #include <memory>
17 
18 UFE_NS_DEF {
19 
22 public:
26  SceneItem::Ptr sceneItem() const;
27 
28 private:
30 };
31 
34 {
35 public:
36  typedef std::shared_ptr<TranslateUndoableCommand> Ptr;
37 
43  virtual ~TranslateUndoableCommand();
44 
54  virtual bool translate(double x, double y, double z) = 0;
55 
56 };
57 
60 {
61 public:
62  typedef std::shared_ptr<RotateUndoableCommand> Ptr;
63 
69  virtual ~RotateUndoableCommand();
70 
79 
80  virtual bool rotate(double x, double y, double z) = 0;
81 
82 };
83 
86 {
87 public:
88  typedef std::shared_ptr<ScaleUndoableCommand> Ptr;
89 
95  virtual ~ScaleUndoableCommand();
96 
105 
106  virtual bool scale(double x, double y, double z) = 0;
107 
108 };
109 
110 
111 
112 }
113 
114 #endif /* _transform3dUndoableCommands */
std::shared_ptr< RotateUndoableCommand > Ptr
Definition of macros for symbol visibility.
Abstract class for undoable scale command.
std::shared_ptr< ScaleUndoableCommand > Ptr
std::shared_ptr< TranslateUndoableCommand > Ptr
Abstract class for undoable rotate command.
Base class for undoable transform operation commands.
#define UFE_NS_DEF
Definition: ufe.h:35
Abstract base class for undoable commands.
std::shared_ptr< SceneItem > Ptr
Definition: sceneItem.h:39
#define UFE_SDK_DECL
Definition: ufeExport.h:36
Abstract class for undoable translate command.