Geant4  10.00.p02
G4ScoreLogColorMap Class Reference

#include <G4ScoreLogColorMap.hh>

+ Inheritance diagram for G4ScoreLogColorMap:
+ Collaboration diagram for G4ScoreLogColorMap:

Public Member Functions

 G4ScoreLogColorMap (G4String mName)
 
virtual ~G4ScoreLogColorMap ()
 
virtual void GetMapColor (G4double val, G4double color[4])
 
virtual void DrawColorChartBar (G4int nPoint)
 
virtual void DrawColorChartText (G4int nPoint)
 
- Public Member Functions inherited from G4VScoreColorMap
 G4VScoreColorMap (G4String mName)
 
virtual ~G4VScoreColorMap ()
 
G4String GetName () const
 
void SetFloatingMinMax (G4bool vl=true)
 
G4bool IfFloatMinMax () const
 
void SetMinMax (G4double minVal, G4double maxVal)
 
G4double GetMin () const
 
G4double GetMax () const
 
virtual void DrawColorChart (G4int nPoint=5)
 
void SetPSUnit (G4String &unit)
 
void SetPSName (G4String &psName)
 

Additional Inherited Members

- Protected Attributes inherited from G4VScoreColorMap
G4String fName
 
G4bool ifFloat
 
G4double fMinVal
 
G4double fMaxVal
 
G4VVisManagerfVisManager
 
G4String fPSUnit
 
G4String fPSName
 

Detailed Description

Definition at line 36 of file G4ScoreLogColorMap.hh.

Constructor & Destructor Documentation

G4ScoreLogColorMap::G4ScoreLogColorMap ( G4String  mName)

Definition at line 44 of file G4ScoreLogColorMap.cc.

G4ScoreLogColorMap::~G4ScoreLogColorMap ( )
virtual

Definition at line 48 of file G4ScoreLogColorMap.cc.

Member Function Documentation

void G4ScoreLogColorMap::DrawColorChartBar ( G4int  nPoint)
virtual

Reimplemented from G4VScoreColorMap.

Definition at line 138 of file G4ScoreLogColorMap.cc.

References G4VVisManager::Draw2D(), G4VScoreColorMap::fMaxVal, G4VScoreColorMap::fMinVal, G4VScoreColorMap::fVisManager, GetMapColor(), G4INCL::Math::max(), G4INCL::Math::min(), G4Visible::SetVisAttributes(), and smax.

+ Here is the call graph for this function:

void G4ScoreLogColorMap::DrawColorChartText ( G4int  nPoint)
virtual

Reimplemented from G4VScoreColorMap.

Definition at line 167 of file G4ScoreLogColorMap.cc.

References a, G4VVisManager::Draw2D(), G4VScoreColorMap::fMaxVal, G4VScoreColorMap::fMinVal, G4VScoreColorMap::fPSName, G4VScoreColorMap::fPSUnit, G4VScoreColorMap::fVisManager, GetMapColor(), G4INCL::Math::max(), G4INCL::Math::min(), n, G4VMarker::SetScreenSize(), and G4Visible::SetVisAttributes().

+ Here is the call graph for this function:

void G4ScoreLogColorMap::GetMapColor ( G4double  val,
G4double  color[4] 
)
virtual

Implements G4VScoreColorMap.

Definition at line 52 of file G4ScoreLogColorMap.cc.

References a, G4UIcommand::ConvertToString(), G4VScoreColorMap::fMaxVal, G4VScoreColorMap::fMinVal, G4Exception(), and JustWarning.

Referenced by DrawColorChartBar(), and DrawColorChartText().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


The documentation for this class was generated from the following files: