Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
SoQtCursors.h
1/*=======================================================================
2 *** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), ***
3 *** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. ***
4 *** ***
5 *** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS ***
6 *** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR ***
7 *** WRITTEN AUTHORIZATION OF FEI S.A.S. ***
8 *** ***
9 *** RESTRICTED RIGHTS LEGEND ***
10 *** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS ***
11 *** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN ***
12 *** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT ***
13 *** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN ***
14 *** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. ***
15 *** ***
16 *** COPYRIGHT (C) 1996-2019 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : VSG (MMM YYYY)
22**=======================================================================*/
23
24
25#ifndef _SO_QT_CURSOR_
26#define _SO_QT_CURSOR_
27
28#include <Inventor/sys/port.h>
29
30#if !defined(_WIN32) && !defined(__APPLE__)
31
32// a generic viewing cursor (arrow with a small `v`)
33#define so_xt_viewing_width 16
34#define so_xt_viewing_height 16
35#define so_xt_viewing_x_hot 0
36#define so_xt_viewing_y_hot 0
37extern GCC_DLLEXPORT unsigned char so_xt_viewing_bits[];
38
39// a small curved hand (rolling a ball)
40#define so_xt_curved_hand_width 24
41#define so_xt_curved_hand_height 24
42#define so_xt_curved_hand_x_hot 4
43#define so_xt_curved_hand_y_hot 2
44extern GCC_DLLEXPORT unsigned char so_xt_curved_hand_bits[];
45
46// a small flat hand (translating in a plane)
47#define so_xt_flat_hand_width 24
48#define so_xt_flat_hand_height 28
49#define so_xt_flat_hand_x_hot 13
50#define so_xt_flat_hand_y_hot 4
51extern GCC_DLLEXPORT unsigned char so_xt_flat_hand_bits[];
52
53// a small pointing hand (dolling in/out)
54#define so_xt_pointing_hand_width 24
55#define so_xt_pointing_hand_height 24
56#define so_xt_pointing_hand_x_hot 9
57#define so_xt_pointing_hand_y_hot 4
58extern GCC_DLLEXPORT unsigned char so_xt_pointing_hand_bits[];
59
60// a circle with two arrows showing a roll
61#define so_xt_roll_width 17
62#define so_xt_roll_height 23
63#define so_xt_roll_x_hot 8
64#define so_xt_roll_y_hot 11
65extern GCC_DLLEXPORT unsigned char so_xt_roll_bits[];
66
67// circle with cross and center point (seek)
68#define so_xt_target_width 21
69#define so_xt_target_height 21
70#define so_xt_target_x_hot 10
71#define so_xt_target_y_hot 10
72extern GCC_DLLEXPORT unsigned char so_xt_target_bits[];
73
74// small polygon with it's normal (set up direction)
75#define so_xt_normal_vec_width 24
76#define so_xt_normal_vec_height 24
77#define so_xt_normal_vec_x_hot 12
78#define so_xt_normal_vec_y_hot 18
79extern GCC_DLLEXPORT unsigned char so_xt_normal_vec_bits[];
80
81//
82// Walk viewer cursors
83//
84
85#define so_xt_walk_width 32
86#define so_xt_walk_height 24
87#define so_xt_walk_x_hot 15
88#define so_xt_walk_y_hot 3
89extern GCC_DLLEXPORT unsigned char so_xt_walk_bits[];
90extern GCC_DLLEXPORT unsigned char so_xt_walk_mask_bits[];
91
92#define so_xt_pan_width 20
93#define so_xt_pan_height 24
94#define so_xt_pan_x_hot 9
95#define so_xt_pan_y_hot 1
96extern GCC_DLLEXPORT unsigned char so_xt_pan_bits[];
97
98#define so_xt_tilt_width 32
99#define so_xt_tilt_height 32
100#define so_xt_tilt_x_hot 7
101#define so_xt_tilt_y_hot 10
102extern GCC_DLLEXPORT unsigned char so_xt_tilt_bits[];
103extern GCC_DLLEXPORT unsigned char so_xt_tilt_mask_bits[];
104#endif
105
106extern const char *Classic_Dolly[];
107extern const char *Classic_Fly[];
108/* XPM */
109extern const char *Classic_Pan[];
110
111/* XPM */
112extern const char *Classic_Roll[];
113
114/* XPM */
115extern const char *Classic_Seek[];
116
117/* XPM */
118extern const char *Classic_Spin[];
119
120/* XPM */
121extern const char *Classic_Up[];
122
123/* XPM */
124extern const char *Classic_Walk[];
125
126/* XPM */
127extern const char *Shadow_Dolly[];
128
129/* XPM */
130extern const char *Shadow_Fly[];
131
132/* XPM */
133extern const char *Shadow_Pan[];
134
135/* XPM */
136extern const char *Shadow_Roll[];
137
138/* XPM */
139extern const char *Shadow_Seek[];
140
141/* XPM */
142extern const char *Shadow_Spin[];
143
144/* XPM */
145extern const char *Shadow_Up[];
146
147/* XPM */
148extern const char *Shadow_Walk[];
149
150/* XPM */
151extern const char *Xor_Dolly[];
152
153/* XPM */
154extern const char *Xor_Fly[];
155
156/* XPM */
157extern const char *Xor_Pan[];
158
159/* XPM */
160extern const char *Xor_Roll[];
161
162/* XPM */
163extern const char *Xor_Seek[];
164
165/* XPM */
166extern const char *Xor_Spin[];
167
168/* XPM */
169extern const char *Xor_Up[];
170
171/* XPM */
172extern const char *Xor_Walk[];
173
174#endif /* _SO_QT_CURSOR_ */
175
176
177