VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOculusSettingsRecord.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
15 
16 #include <string>
17 
18 namespace makArchives
19 {
25  {
26  public:
27 
30 
33 
36 
38  DtOculusSettingsRecord& operator=( const DtOculusSettingsRecord& orig );
39 
41  void setName(const std::string& name);
42 
44  const std::string& name() const;
45 
47  void setMirroring(int view);
48 
50  int mirroring() const;
51 
53  void setMonoscopic(bool mirror);
54 
56  bool isMonoscopic() const;
57 
59  void setPixelsPerDisplayPixel(float pixels);
60 
62  float getPixelsPerDisplayPixel() const;
63 
64  protected:
65  friend class boost::serialization::access;
66 
67  template <typename Archive>
68  void serialize(Archive& ar, unsigned int version)
69  {
70  ar & BOOST_SERIALIZATION_NVP(myMirroring);
71  ar & BOOST_SERIALIZATION_NVP(myMonoscopic);
72  ar & BOOST_SERIALIZATION_NVP(myPixelsPerDisplayPixel);
73  }
74 
75  protected:
79  };
80 }
81 

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)