g4display
g4Text.h
Go to the documentation of this file.
1 #ifndef G4TEXT_H_OPTIONS
2 #define G4TEXT_H_OPTIONS 1
3 
4 // g4display
5 #include "g4displayConventions.h"
6 
7 // gemc
8 #include "goptions.h"
9 
10 
11 namespace g4display {
12 
13  // G4SceneText: Text does not move with the view but belongs to the scene
14  struct G4SceneText {
15  string text;
16  string color;
17  float x;
18  float y;
20  int size;
21  };
22 
23  // method to return a vector of G4SceneText from the options
24  vector <G4SceneText> getSceneTexts(GOptions *gopts);
25 
26  // returns the array of options definitions
27  GOptions addSceneTextsOptions();
28 
29 }
30 
31 #endif
#define GNOT_SPECIFIED_SCENE_TEXT_Z
GOptions addSceneTextsOptions()
Definition: g4Text.cc:34
vector< G4SceneText > getSceneTexts(GOptions *gopts)
Definition: g4Text.cc:11