Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4OpenGLXViewer.cc File Reference
#include "G4OpenGLXViewer.hh"
#include "G4OpenGLSceneHandler.hh"
#include "G4OpenGLFontBaseStore.hh"
#include "G4VisExtent.hh"
#include "G4LogicalVolume.hh"
#include "G4VSolid.hh"
#include "G4Point3D.hh"
#include "G4Normal3D.hh"
#include "G4StateManager.hh"
#include "G4VisManager.hh"
#include "G4Text.hh"
#include "G4Threading.hh"
#include <X11/Xatom.h>
#include <X11/Xutil.h>
#include <X11/Xmu/StdCmap.h>
#include <assert.h>
#include <sstream>
#include <chrono>
#include <thread>

Go to the source code of this file.

Macros

#define NewString(str)    ((str) != 0 ? (strncpy((char*)malloc((unsigned)strlen(str) + 1), str, (unsigned)strlen(str) + 1)) : (char*)0)
 
#define USE_DEFAULT_COLORMAP   1
 
#define USE_STANDARD_COLORMAP   0
 

Macro Definition Documentation

◆ NewString

#define NewString (   str)     ((str) != 0 ? (strncpy((char*)malloc((unsigned)strlen(str) + 1), str, (unsigned)strlen(str) + 1)) : (char*)0)

Definition at line 76 of file G4OpenGLXViewer.cc.

◆ USE_DEFAULT_COLORMAP

#define USE_DEFAULT_COLORMAP   1

Definition at line 79 of file G4OpenGLXViewer.cc.

◆ USE_STANDARD_COLORMAP

#define USE_STANDARD_COLORMAP   0

Definition at line 80 of file G4OpenGLXViewer.cc.