58 {
G4Exception(
"G4TheMTRayTracer::G4TheMTRayTracer",
"VisRayTracer00100",
87 <<
"> - Trace() ignored. " <<
G4endl;
93 G4cerr <<
"Figure file maker class is not specified - Trace() ignored." <<
G4endl;
104 colorR =
new unsigned char[nPixel];
105 colorG =
new unsigned char[nPixel];
106 colorB =
new unsigned char[nPixel];
110 for(
G4int ii=0;ii<nPixel;ii++)
122 G4cerr <<
"You might set the eye position outside of the world volume" <<
G4endl; }
170 if(!theRun)
return false;
173 std::map<G4int,G4Colour*>::iterator itr = colMap->
GetMap()->begin();
174 for(;itr!=colMap->
GetMap()->end();itr++)
176 G4int key = itr->first;
187 G4int iCoord = iRow * nColumn + iColumn;
virtual void RestoreUserActions()
static G4MTRunManager * GetMasterRunManager()
const G4Run * GetCurrentRun() const
virtual void Initialize(G4int nRow, G4int nColumn)=0
G4ThreeVector targetPosition
const G4UserRunAction * GetUserRunAction() const
virtual G4bool Coords(G4int &iRow, G4int &iColumn)=0
G4ThreeVector eyePosition
G4THitsMap< G4Colour > * GetMap() const
G4int ApplyCommand(const char *aCommand)
virtual G4bool CreateBitMap()
const G4UserWorkerInitialization * theUserWorkerInitialization
G4VFigureFileMaker * theFigMaker
void CreateFigureFile(const G4String &fileName)
static G4UImanager * GetUIpointer()
static G4VVisManager * GetConcreteInstance()
virtual void StoreUserActions()
G4VRTScanner * theScanner
G4Colour backgroundColour
G4String GetStateString(G4ApplicationState aState) const
virtual void SetUserInitialization(G4VUserPhysicsList *userPL)
static G4TheMTRayTracer * theInstance
const G4UserWorkerInitialization * GetUserWorkerInitialization() const
virtual void IgnoreStateChanges(G4bool)
const G4UserRunAction * theUserRunAction
virtual void Draw(unsigned char red, unsigned char green, unsigned char blue)
G4ThreeVector eyeDirection
G4GLOB_DLL std::ostream G4cerr
virtual void SetUserAction(G4UserRunAction *userAction)
virtual void Trace(const G4String &fileName)
virtual ~G4TheMTRayTracer()
static G4String ConvertToString(G4bool boolVal)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4ApplicationState GetCurrentState() const
G4int GetCurrentIntValue(const char *aCommand, G4int parameterNumber=1, G4bool reGet=true)
G4double GetGreen() const
G4RTRunAction * theRTRunAction
G4TheMTRayTracer(G4VFigureFileMaker *figMaker=0, G4VRTScanner *scanner=0)
G4RTWorkerInitialization * theRTWorkerInitialization
static G4StateManager * GetStateManager()