Omnidome
Fulldome Mapping Software Toolkit
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AngleSetup.h
Go to the documentation of this file.
1 /* Copyright (c) 2014-2015 "Omnidome" by cr8tr
2  * Dome Mapping Projection Software (http://omnido.me).
3  * Omnidome was created by Michael Winkelmann aka Wilston Oreo (@WilstonOreo)
4  *
5  * This file is part of Omnidome.
6  *
7  * Omnidome is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU Affero General Public License as
9  * published by the Free Software Foundation, either version 3 of the
10  * License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU Affero General Public License for more details.
16  * You should have received a copy of the GNU Affero General Public License
17  * along with this program. If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef OMNI_PROJ_ANGLESETUP_H_
21 #define OMNI_PROJ_ANGLESETUP_H_
22 
23 #include "Setup.h"
25 
26 namespace omni {
27  namespace proj {
28  /// Basic projector setup with three euler angles and no positioning offsets
29  class AngleSetup :
30  public Setup,
31  public EulerAngles // Inherit from this to get yaw, pitch, roll angle
32  {
33  public:
34  AngleSetup();
35  ~AngleSetup();
36 
37  virtual void setup(Projector&);
38 
39  virtual void toPropertyMap(PropertyMap&) const;
40  virtual void fromPropertyMap(PropertyMap const&);
41 
42  bool flipped() const;
43  };
44  }
45 }
46 
47 #endif /* OMNI_PROJ_ANGLESETUP_H_ */
A projector with a transformation matrix and setup.
Definition: Projector.h:32
virtual void toPropertyMap(PropertyMap &) const
Definition: AngleSetup.cpp:38
virtual void setup(Projector &)
Setup projector with scene size.
Definition: AngleSetup.cpp:48
Basic projector setup with three euler angles and no positioning offsets.
Definition: AngleSetup.h:29
~AngleSetup()
Definition: AngleSetup.cpp:34
bool flipped() const
Definition: AngleSetup.cpp:53
virtual void fromPropertyMap(PropertyMap const &)
Definition: AngleSetup.cpp:43
AngleSetup()
Definition: AngleSetup.cpp:29
Interface for a projector setup.
Definition: Setup.h:32