API Documentation
Loading...
Searching...
No Matches
ViewLocation.h
Go to the documentation of this file.
1
/*--------------------------------------------------------------------------------------------
2
Copyright (c) 2019, NDEVR LLC
3
tyler.parke@ndevr.org
4
__ __ ____ _____ __ __ _______
5
| \ | | | __ \ | ___|\ \ / / | __ \
6
| \ | | | | \ \ | |___ \ \ / / | |__) |
7
| . \| | | |__/ / | |___ \ V / | _ /
8
| |\ |_|_____/__|_____|___\_/____| | \ \
9
|__| \__________________________________| \__\
10
11
Subject to the terms of the Enterprise+ Agreement, NDEVR hereby grants
12
Licensee a limited, non-exclusive, non-transferable, royalty-free license
13
(without the right to sublicense) to use the API solely for the purpose of
14
Licensee's internal development efforts to develop applications for which
15
the API was provided.
16
17
The above copyright notice and this permission notice shall be included in all
18
copies or substantial portions of the Software.
19
20
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
21
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
22
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
23
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
24
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25
DEALINGS IN THE SOFTWARE.
26
27
Library: Design
28
File: ViewLocation
29
Included in API: True
30
Author(s): Tyler Parke
31
*-----------------------------------------------------------------------------------------**/
32
#pragma once
33
34
namespace
NDEVR
35
{
36
/**--------------------------------------------------------------------------------------------------
37
\brief A list of directions that a view can be pointed relative to an object or scene.
38
*-----------------------------------------------------------------------------------------------**/
39
enum class
SnapLocation
40
{
41
e_isometric_nw
42
,
e_isometric_n
43
,
e_isometric_ne
44
45
,
e_isometric_w
46
,
e_top_down_snap
47
,
e_bottom_snap
48
,
e_isometric_e
49
50
,
e_isometric_sw
51
,
e_isometric_s
52
,
e_isometric_se
53
54
,
e_n_side_snap
55
,
e_s_side_snap
56
,
e_e_side_snap
57
,
e_w_side_snap
58
59
,
e_front
60
,
e_back
61
,
e_back_wo_pitch
62
,
e_left
63
,
e_right
64
,
e_front_wo_pitch_yaw
65
,
e_back_wo_pitch_yaw
66
,
e_left_wo_yaw
67
,
e_right_wo_yaw
68
,
e_best_snap
69
,
e_best_side_snap
70
,
e_no_snap
71
};
72
73
/**--------------------------------------------------------------------------------------------------
74
\brief The potential layouts of multiple viewports within the NDEVR engine.
75
*-----------------------------------------------------------------------------------------------**/
76
enum class
ViewportLayoutTheme
77
{
78
e_undefined
79
,
e_1_panel
80
,
e_1l1r_panel
81
,
e_2l1r_panel
82
,
e_1l2r_panel
83
,
e_2l2r_panel
84
};
85
};
86
87
88
89
NDEVR
Definition
ACIColor.h:37
NDEVR::SnapLocation
SnapLocation
A list of directions that a view can be pointed relative to an object or scene.
Definition
ViewLocation.h:40
NDEVR::SnapLocation::e_front
@ e_front
NDEVR::SnapLocation::e_back_wo_pitch_yaw
@ e_back_wo_pitch_yaw
NDEVR::SnapLocation::e_w_side_snap
@ e_w_side_snap
NDEVR::SnapLocation::e_bottom_snap
@ e_bottom_snap
NDEVR::SnapLocation::e_isometric_ne
@ e_isometric_ne
NDEVR::SnapLocation::e_isometric_s
@ e_isometric_s
NDEVR::SnapLocation::e_isometric_w
@ e_isometric_w
NDEVR::SnapLocation::e_no_snap
@ e_no_snap
NDEVR::SnapLocation::e_s_side_snap
@ e_s_side_snap
NDEVR::SnapLocation::e_n_side_snap
@ e_n_side_snap
NDEVR::SnapLocation::e_back
@ e_back
NDEVR::SnapLocation::e_isometric_nw
@ e_isometric_nw
NDEVR::SnapLocation::e_right_wo_yaw
@ e_right_wo_yaw
NDEVR::SnapLocation::e_best_side_snap
@ e_best_side_snap
NDEVR::SnapLocation::e_isometric_e
@ e_isometric_e
NDEVR::SnapLocation::e_e_side_snap
@ e_e_side_snap
NDEVR::SnapLocation::e_front_wo_pitch_yaw
@ e_front_wo_pitch_yaw
NDEVR::SnapLocation::e_isometric_se
@ e_isometric_se
NDEVR::SnapLocation::e_isometric_sw
@ e_isometric_sw
NDEVR::SnapLocation::e_back_wo_pitch
@ e_back_wo_pitch
NDEVR::SnapLocation::e_left_wo_yaw
@ e_left_wo_yaw
NDEVR::SnapLocation::e_isometric_n
@ e_isometric_n
NDEVR::SnapLocation::e_top_down_snap
@ e_top_down_snap
NDEVR::SnapLocation::e_best_snap
@ e_best_snap
NDEVR::ViewportLayoutTheme
ViewportLayoutTheme
The potential layouts of multiple viewports within the NDEVR engine.
Definition
ViewLocation.h:77
NDEVR::ViewportLayoutTheme::e_1_panel
@ e_1_panel
NDEVR::ViewportLayoutTheme::e_1l1r_panel
@ e_1l1r_panel
NDEVR::ViewportLayoutTheme::e_2l2r_panel
@ e_2l2r_panel
NDEVR::ViewportLayoutTheme::e_1l2r_panel
@ e_1l2r_panel
NDEVR::ViewportLayoutTheme::e_2l1r_panel
@ e_2l1r_panel
NDEVR::TextAlignment::e_right
@ e_right
NDEVR::TextAlignment::e_left
@ e_left
NDEVR::ScanMode::e_undefined
@ e_undefined
Design
Headers
ViewLocation.h