OSVR Framework (Internal Development Docs)
0.6-1962-g59773924
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
DisplayInput.h
Go to the documentation of this file.
1
11
// Copyright 2015 Sensics, Inc.
12
//
13
// Licensed under the Apache License, Version 2.0 (the "License");
14
// you may not use this file except in compliance with the License.
15
// You may obtain a copy of the License at
16
//
17
// http://www.apache.org/licenses/LICENSE-2.0
18
//
19
// Unless required by applicable law or agreed to in writing, software
20
// distributed under the License is distributed on an "AS IS" BASIS,
21
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22
// See the License for the specific language governing permissions and
23
// limitations under the License.
24
25
#ifndef INCLUDED_DisplayInput_h_GUID_66C8D271_F035_499C_6BD9_DCA114E2C9AF
26
#define INCLUDED_DisplayInput_h_GUID_66C8D271_F035_499C_6BD9_DCA114E2C9AF
27
28
// Internal Includes
29
#include <
osvr/Client/Export.h
>
30
#include <
osvr/Util/RenderingTypesC.h
>
31
32
// Library/third-party includes
33
// - none
34
35
// Standard includes
36
// - none
37
38
namespace
osvr
{
39
namespace
client {
40
class
DisplayConfigFactory;
41
class
DisplayInput
{
42
public
:
43
DisplayInput
(
OSVR_DisplayDimension
width,
OSVR_DisplayDimension
height);
44
45
OSVR_CLIENT_EXPORT
OSVR_DisplayDimension
getDisplayWidth()
const
;
46
OSVR_CLIENT_EXPORT
OSVR_DisplayDimension
getDisplayHeight()
const
;
47
48
private
:
50
uint32_t m_width;
51
uint32_t m_height;
52
friend
class
DisplayConfigFactory
;
53
};
54
55
}
// namespace client
56
}
// namespace osvr
57
58
#endif // INCLUDED_DisplayInput_h_GUID_66C8D271_F035_499C_6BD9_DCA114E2C9AF
osvr::client::DisplayInput
Definition:
DisplayInput.h:41
osvr
<
Definition:
ClientInterfaceObjectManager.h:43
osvr::client::DisplayConfigFactory
Definition:
DisplayConfig.h:50
RenderingTypesC.h
Header with integer types for Viewer, Eye, and Surface counts/indices, as well as viewport informatio...
Export.h
Automatically-generated export header - do not edit!
OSVR_DisplayDimension
int32_t OSVR_DisplayDimension
The integer type used in specification of size or location of a display input, in pixels...
Definition:
RenderingTypesC.h:56
osvr
Client
DisplayInput.h
Generated on Tue May 16 2017 15:22:20 for OSVR Framework (Internal Development Docs) by
Doxygen
1.8.8