g4display
Loading...
Searching...
No Matches
g4displayConventions.h
Go to the documentation of this file.
1#pragma once
2
12#include <vector>
13#include <string>
14
15// Notice: with Qt6 we do not have access anymore to OGL, but the examples still do.
16// This can be a potential problem in the future.
17
18// Default viewer driver used by the module.
19#define GDEFAULTVIEWERDRIVER "TOOLSSG_QT_GLES"
20
21// Default viewer window size (WIDTHxHEIGHT).
22#define GDEFAULTVIEWERSIZE "800x800"
23
24// Default viewer window position (X+Y or -X+Y depending on window manager conventions).
25#define GDEFAULTVIEWERPOS "-400+100"
26
27// Default circle segmentation resolution for curved primitives.
28#define GDEFAULTVSEGPERCIRCLE 50
29
30// Sentinel value used to indicate that a scene text Z coordinate was not specified.
31#define GNOT_SPECIFIED_SCENE_TEXT_Z (-1234.5)
32
33// Error codes (module-specific).
34#define EC__VISDRIVERNOTFOUND 1301
35#define EC__NOUIMANAGER 1302
36
43extern std::vector<std::string> AVAILABLEG4VIEWERS;
std::vector< std::string > AVAILABLEG4VIEWERS
List of Geant4 viewer driver names known to the application.