wx_BGI_Graphics
Classic BGI-compatible graphics API with modern OpenGL extension API
Loading...
Searching...
No Matches
wx_bgi_overlay.h
Go to the documentation of this file.
1#pragma once
2
3#include "bgi_types.h"
4
49// =============================================================================
50// Reference Grid
51// =============================================================================
52
60
63
66
74
85
94 int yAxisColor,
95 int gridColor);
96
104
105// =============================================================================
106// UCS Axes
107// =============================================================================
108
116
119
122
129
136
144
145// =============================================================================
146// Concentric Circles + Crosshair (per-camera)
147// =============================================================================
148
160
167
174
182 int count);
183
194 float innerRadius,
195 float outerRadius);
196
197// =============================================================================
198// Selection Cursor Square (per-camera)
199// =============================================================================
200
211
218
225
233 int sizePx);
234
244 int colorScheme);
245
246// =============================================================================
247// DDS Object Selection
248// =============================================================================
249
254
262
265
273
280
289
// wxbgi_overlay_api
#define BGI_CALL
Definition bgi_types.h:20
#define BGI_API
Definition bgi_types.h:14
BGI_API void BGI_CALL wxbgi_overlay_grid_disable(void)
Disable the reference grid overlay.
BGI_API void BGI_CALL wxbgi_overlay_concentric_disable(const char *camName)
Disable the concentric circles overlay for a camera.
BGI_API int BGI_CALL wxbgi_selection_count(void)
Return the number of currently selected DDS objects.
BGI_API void BGI_CALL wxbgi_overlay_cursor_set_color(const char *camName, int colorScheme)
Set the colour scheme of the selection cursor.
BGI_API int BGI_CALL wxbgi_overlay_ucs_axes_is_enabled(void)
Return 1 if the UCS axes overlay is enabled, 0 otherwise.
BGI_API void BGI_CALL wxbgi_overlay_ucs_axes_show_active(int show)
Show or hide the active UCS axes (at the active UCS origin).
BGI_API const char *BGI_CALL wxbgi_selection_get_id(int index)
Return the ID string of the index-th selected object (0-based).
BGI_API void BGI_CALL wxbgi_overlay_ucs_axes_show_world(int show)
Show or hide the world UCS axes (at the world origin).
BGI_API void BGI_CALL wxbgi_overlay_grid_set_colors(int xAxisColor, int yAxisColor, int gridColor)
Set the three colours used by the grid overlay.
BGI_API void BGI_CALL wxbgi_selection_set_pick_radius(int pixels)
Set the screen-pixel pick radius for object selection.
BGI_API void BGI_CALL wxbgi_overlay_concentric_enable(const char *camName)
Enable the concentric circles overlay for a camera.
BGI_API int BGI_CALL wxbgi_overlay_grid_is_enabled(void)
Return 1 if the grid overlay is enabled, 0 otherwise.
BGI_API void BGI_CALL wxbgi_overlay_grid_set_ucs(const char *ucsName)
Bind the grid to a specific UCS.
BGI_API void BGI_CALL wxbgi_overlay_grid_set_spacing(float worldUnits)
Set the spacing between adjacent grid lines.
BGI_API void BGI_CALL wxbgi_overlay_ucs_axes_disable(void)
Disable the UCS axes overlay.
BGI_API void BGI_CALL wxbgi_overlay_ucs_axes_set_length(float worldUnits)
Set the length of each axis arm.
BGI_API void BGI_CALL wxbgi_overlay_ucs_axes_enable(void)
Enable the UCS axes overlay.
BGI_API int BGI_CALL wxbgi_overlay_concentric_is_enabled(const char *camName)
Return 1 if the concentric circles overlay is enabled for a camera.
BGI_API void BGI_CALL wxbgi_overlay_concentric_set_radii(const char *camName, float innerRadius, float outerRadius)
Set the inner and outer world-unit radii for the circles.
BGI_API void BGI_CALL wxbgi_selection_clear(void)
Clear all currently selected objects (does not delete them from the DDS).
BGI_API void BGI_CALL wxbgi_selection_delete_selected(void)
Delete all currently selected objects from the DDS and clear the selection.
BGI_API void BGI_CALL wxbgi_overlay_cursor_disable(const char *camName)
Disable the selection cursor square overlay for a camera.
BGI_API void BGI_CALL wxbgi_selection_set_flash_scheme(int scheme)
Set the selection flash colour scheme.
BGI_API void BGI_CALL wxbgi_overlay_grid_enable(void)
Enable the reference grid overlay.
BGI_API void BGI_CALL wxbgi_overlay_cursor_enable(const char *camName)
Enable the selection cursor square overlay for a camera.
BGI_API void BGI_CALL wxbgi_overlay_grid_set_extent(int halfExtentInLines)
Set the grid extent.
BGI_API void BGI_CALL wxbgi_overlay_cursor_set_size(const char *camName, int sizePx)
Set the side length of the selection cursor square.
BGI_API void BGI_CALL wxbgi_overlay_concentric_set_count(const char *camName, int count)
Set the number of concentric circles.
BGI_API int BGI_CALL wxbgi_overlay_cursor_is_enabled(const char *camName)
Return 1 if the selection cursor is enabled for a camera.