HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
DM_ViewportType.h
Go to the documentation of this file.
1
/*
2
* PROPRIETARY INFORMATION. This software is proprietary to
3
* Side Effects Software Inc., and is not to be reproduced,
4
* transmitted, or disclosed in any way without written permission.
5
*
6
* NAME: DM_ViewportType.h ( DM Library, C++)
7
*
8
* COMMENTS:
9
*/
10
11
#ifndef __DM_ViewportType__
12
#define __DM_ViewportType__
13
14
#define DM_VIEWPORT_ORTHO 0x0ff
15
#define DM_VIEWPORT_TOP 0x001
16
#define DM_VIEWPORT_FRONT 0x002
17
#define DM_VIEWPORT_RIGHT 0x004
18
#define DM_VIEWPORT_BOTTOM 0x008
19
#define DM_VIEWPORT_BACK 0x010
20
#define DM_VIEWPORT_LEFT 0x020
21
22
#define DM_VIEWPORT_PERSPECTIVE 0xf00
23
24
#define DM_VIEWPORT_ALL_3D (DM_VIEWPORT_PERSPECTIVE|DM_VIEWPORT_ORTHO)
25
26
#define DM_VIEWPORT_UV 0x1000
27
#define DM_VIEWPORT_IMAGE 0x2000
28
#define DM_VIEWPORT_ALL_2D 0x3000
29
30
#define DM_VIEWPORT_ALL (DM_VIEWPORT_ALL_3D | DM_VIEWPORT_ALL_2D)
31
32
typedef
int
DM_ViewportType
;
33
34
/// Enumerates the ways in which the viewport can display stereo 3d images
35
enum
DM_S3DDisplayFormat
36
{
37
DM_S3D_DISP_ANAGLYPH
,
// red-cyan anaglyph
38
DM_S3D_DISP_H_INTERLACE
,
// horizontal line interlace
39
DM_S3D_DISP_H_INTERLACE_REV
,
// as above, but with even lines for R-eye
40
DM_S3D_DISP_QUAD_BUFFER
,
// OpenGL quad buffer stereo
41
DM_S3D_DISP_LEFT_RIGHT
,
// Left/Right image (2 in 1, horiz aligned)
42
DM_S3D_DISP_LEFT_RIGHT_REV
,
// Right/Left image (2 in 1, horiz aligned)
43
DM_S3D_DISP_OVER_UNDER
,
// Over/under image (2 in 1 LR vert aligned)
44
DM_S3D_DISP_OVER_UNDER_REV
,
// Over/under image (2 in 1 RL vert aligned)
45
46
DM_S3D_DISP_SINGLE_EYE
// Render a single eye only.
47
};
48
49
/// Different types of things that can be located in the viewport.
50
enum
DM_LocateFlags
51
{
52
// Handles can be combined with any other locate type.
53
DM_LOCATE_HANDLES
= 0x0001,
54
// Selectable objects with or without handles.
55
DM_LOCATE_SELECTABLE_OBJECTS
= 0x0002,
56
DM_LOCATE_SELECTABLE_OBJECTS_AND_HANDLES
= 0x0003,
57
// Non-selectable objects only. Just used to differentiate ALL_OBJECTS
58
// from SELECTABLE_OBJECTS.
59
DM_LOCATE_NONSELECTABLE_OBJECTS
= 0x0004,
60
// All objects means selectable objects and non-selectable objects.
61
DM_LOCATE_ALL_OBJECTS
= 0x0006,
62
DM_LOCATE_ALL_OBJECTS_AND_HANDLES
= 0x0007,
63
// Component locating is mutually exclusive with object locating.
64
DM_LOCATE_COMPONENTS
= 0x0008,
65
DM_LOCATE_COMPONENTS_AND_HANDLES
= 0x0009
66
};
67
68
#endif
DM_LOCATE_ALL_OBJECTS
Definition:
DM_ViewportType.h:61
DM_LOCATE_SELECTABLE_OBJECTS
Definition:
DM_ViewportType.h:55
DM_S3DDisplayFormat
DM_S3DDisplayFormat
Enumerates the ways in which the viewport can display stereo 3d images.
Definition:
DM_ViewportType.h:35
DM_S3D_DISP_LEFT_RIGHT_REV
Definition:
DM_ViewportType.h:42
DM_LOCATE_ALL_OBJECTS_AND_HANDLES
Definition:
DM_ViewportType.h:62
DM_LOCATE_COMPONENTS_AND_HANDLES
Definition:
DM_ViewportType.h:65
DM_LOCATE_COMPONENTS
Definition:
DM_ViewportType.h:64
DM_S3D_DISP_QUAD_BUFFER
Definition:
DM_ViewportType.h:40
DM_LOCATE_NONSELECTABLE_OBJECTS
Definition:
DM_ViewportType.h:59
DM_S3D_DISP_ANAGLYPH
Definition:
DM_ViewportType.h:37
DM_S3D_DISP_H_INTERLACE_REV
Definition:
DM_ViewportType.h:39
DM_S3D_DISP_LEFT_RIGHT
Definition:
DM_ViewportType.h:41
DM_LOCATE_HANDLES
Definition:
DM_ViewportType.h:53
DM_S3D_DISP_OVER_UNDER
Definition:
DM_ViewportType.h:43
DM_LOCATE_SELECTABLE_OBJECTS_AND_HANDLES
Definition:
DM_ViewportType.h:56
DM_S3D_DISP_H_INTERLACE
Definition:
DM_ViewportType.h:38
DM_LocateFlags
DM_LocateFlags
Different types of things that can be located in the viewport.
Definition:
DM_ViewportType.h:50
DM_S3D_DISP_OVER_UNDER_REV
Definition:
DM_ViewportType.h:44
DM_ViewportType
int DM_ViewportType
Definition:
DM_ViewportType.h:32
DM_S3D_DISP_SINGLE_EYE
Definition:
DM_ViewportType.h:46
DM
DM_ViewportType.h
Generated on Wed Jan 15 2025 02:50:58 for HDK by
1.8.6