g4display
Loading...
Searching...
No Matches
g4displayConventions.h File Reference

Conventions and constants used by the g4display module. More...

#include <vector>
#include <string>
Include dependency graph for g4displayConventions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GDEFAULTVIEWERDRIVER   "OGLSQt"
#define GDEFAULTVIEWERSIZE   "800x800"
#define GDEFAULTVIEWERPOS   "-400+100"
#define GDEFAULTVSEGPERCIRCLE   100
#define GNOT_SPECIFIED_SCENE_TEXT_Z   (-1234.5)
#define EC__VISDRIVERNOTFOUND   1301
#define EC__NOUIMANAGER   1302

Variables

std::vector< std::string > AVAILABLEG4VIEWERS
 List of Geant4 viewer driver names known to the application.

Detailed Description

This header centralizes default values and shared constants used by option definitions and helpers. It also declares a global list of available Geant4 viewer drivers.

Definition in file g4displayConventions.h.

Macro Definition Documentation

◆ EC__NOUIMANAGER

#define EC__NOUIMANAGER   1302

Definition at line 50 of file g4displayConventions.h.

◆ EC__VISDRIVERNOTFOUND

#define EC__VISDRIVERNOTFOUND   1301

Definition at line 49 of file g4displayConventions.h.

◆ GDEFAULTVIEWERDRIVER

#define GDEFAULTVIEWERDRIVER   "OGLSQt"

Definition at line 34 of file g4displayConventions.h.

◆ GDEFAULTVIEWERPOS

#define GDEFAULTVIEWERPOS   "-400+100"

Definition at line 40 of file g4displayConventions.h.

◆ GDEFAULTVIEWERSIZE

#define GDEFAULTVIEWERSIZE   "800x800"

Definition at line 37 of file g4displayConventions.h.

◆ GDEFAULTVSEGPERCIRCLE

#define GDEFAULTVSEGPERCIRCLE   100

Definition at line 43 of file g4displayConventions.h.

◆ GNOT_SPECIFIED_SCENE_TEXT_Z

#define GNOT_SPECIFIED_SCENE_TEXT_Z   (-1234.5)

Definition at line 46 of file g4displayConventions.h.

Variable Documentation

◆ AVAILABLEG4VIEWERS

std::vector<std::string> AVAILABLEG4VIEWERS
extern

The list is defined elsewhere (typically in a compilation unit) and used to validate or present available driver choices.