Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
G4VScoreColorMap Class Referenceabstract
Inheritance diagram for G4VScoreColorMap:
G4DefaultLinearColorMap G4ScoreLogColorMap

Public Member Functions

 G4VScoreColorMap (G4String mName)
 
virtual ~G4VScoreColorMap ()
 
virtual void GetMapColor (G4double val, G4double color[4])=0
 
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)
 
virtual void DrawColorChartBar (G4int nPoint)
 
virtual void DrawColorChartText (G4int nPoint)
 
void SetPSUnit (G4String &unit)
 
void SetPSName (G4String &psName)
 

Protected Attributes

G4String fName
 
G4bool ifFloat
 
G4double fMinVal
 
G4double fMaxVal
 
G4VVisManagerfVisManager
 
G4String fPSUnit
 
G4String fPSName
 

Constructor & Destructor Documentation

virtual ~G4VScoreColorMap ( )
virtual

Member Function Documentation

virtual void GetMapColor ( G4double  val,
G4double  color[4] 
)
pure virtual
G4String GetName ( ) const

References fName.

void SetFloatingMinMax ( G4bool  vl = true)

References ifFloat.

G4bool IfFloatMinMax ( ) const

References ifFloat.

void SetMinMax ( G4double  minVal,
G4double  maxVal 
)

References fMaxVal, fMinVal, G4cerr, and G4endl.

G4double GetMin ( ) const

References fMinVal.

G4double GetMax ( ) const

References fMaxVal.

virtual void DrawColorChart ( G4int  nPoint = 5)
virtual
virtual void DrawColorChartBar ( G4int  nPoint)
virtual

Reimplemented in G4ScoreLogColorMap.

virtual void DrawColorChartText ( G4int  nPoint)
virtual

Reimplemented in G4ScoreLogColorMap.

void SetPSUnit ( G4String unit)

References fPSUnit.

void SetPSName ( G4String psName)

References fPSName.

Member Data Documentation

G4String fName
protected

Referenced by GetName().

G4bool ifFloat
protected

Referenced by IfFloatMinMax(), and SetFloatingMinMax().

G4double fMinVal
protected

Referenced by GetMin(), and SetMinMax().

G4double fMaxVal
protected

Referenced by GetMax(), and SetMinMax().

G4VVisManager* fVisManager
protected
G4String fPSUnit
protected

Referenced by SetPSUnit().

G4String fPSName
protected

Referenced by SetPSName().