Geant4_10
Public Member Functions | Static Public Member Functions | Friends | List of all members
G4Colour Class Reference

#include <G4Colour.hh>

Public Member Functions

 G4Colour (G4double r=1., G4double g=1., G4double b=1., G4double a=1.)
 
 G4Colour (G4ThreeVector)
 
 operator G4ThreeVector ()
 
G4bool operator!= (const G4Colour &c) const
 
G4bool operator== (const G4Colour &c) const
 
G4Colouroperator+= (const G4Colour &)
 
G4double GetRed () const
 
G4double GetGreen () const
 
G4double GetBlue () const
 
G4double GetAlpha () const
 

Static Public Member Functions

static G4Colour White ()
 
static G4Colour Gray ()
 
static G4Colour Grey ()
 
static G4Colour Black ()
 
static G4Colour Brown ()
 
static G4Colour Red ()
 
static G4Colour Green ()
 
static G4Colour Blue ()
 
static G4Colour Cyan ()
 
static G4Colour Magenta ()
 
static G4Colour Yellow ()
 
static void AddToMap (const G4String &key, const G4Colour &colour)
 
static G4bool GetColour (const G4String &key, G4Colour &result)
 
static const std::map
< G4String, G4Colour > & 
GetMap ()
 

Friends

std::ostream & operator<< (std::ostream &, const G4Colour &)
 

Detailed Description

Definition at line 83 of file G4Colour.hh.

Constructor & Destructor Documentation

G4Colour::G4Colour ( G4double  r = 1.,
G4double  g = 1.,
G4double  b = 1.,
G4double  a = 1. 
)

Definition at line 34 of file G4Colour.cc.

Here is the caller graph for this function:

G4Colour::G4Colour ( G4ThreeVector  v)

Definition at line 43 of file G4Colour.cc.

Member Function Documentation

void G4Colour::AddToMap ( const G4String key,
const G4Colour colour 
)
static

Definition at line 86 of file G4Colour.cc.

Here is the call graph for this function:

G4Colour G4Colour::Black ( )
inlinestatic

Definition at line 146 of file G4Colour.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

G4Colour G4Colour::Blue ( )
inlinestatic

Definition at line 150 of file G4Colour.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

G4Colour G4Colour::Brown ( )
inlinestatic

Definition at line 147 of file G4Colour.hh.

Here is the call graph for this function:

G4Colour G4Colour::Cyan ( )
inlinestatic

Definition at line 151 of file G4Colour.hh.

Here is the call graph for this function:

G4double G4Colour::GetAlpha ( ) const
inline

Definition at line 142 of file G4Colour.hh.

Here is the caller graph for this function:

G4double G4Colour::GetBlue ( ) const
inline

Definition at line 141 of file G4Colour.hh.

Here is the caller graph for this function:

bool G4Colour::GetColour ( const G4String key,
G4Colour result 
)
static

Definition at line 126 of file G4Colour.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4double G4Colour::GetGreen ( ) const
inline

Definition at line 140 of file G4Colour.hh.

Here is the caller graph for this function:

const std::map< G4String, G4Colour > & G4Colour::GetMap ( )
static

Definition at line 147 of file G4Colour.cc.

Here is the caller graph for this function:

G4double G4Colour::GetRed ( ) const
inline

Definition at line 139 of file G4Colour.hh.

Here is the caller graph for this function:

G4Colour G4Colour::Gray ( )
inlinestatic

Definition at line 144 of file G4Colour.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

G4Colour G4Colour::Green ( )
inlinestatic

Definition at line 149 of file G4Colour.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

G4Colour G4Colour::Grey ( )
inlinestatic

Definition at line 145 of file G4Colour.hh.

Here is the call graph for this function:

G4Colour G4Colour::Magenta ( )
inlinestatic

Definition at line 152 of file G4Colour.hh.

Here is the call graph for this function:

G4Colour::operator G4ThreeVector ( )

Definition at line 51 of file G4Colour.cc.

G4bool G4Colour::operator!= ( const G4Colour c) const

Definition at line 71 of file G4Colour.cc.

Here is the caller graph for this function:

G4Colour& G4Colour::operator+= ( const G4Colour )
inline

Definition at line 101 of file G4Colour.hh.

G4bool G4Colour::operator== ( const G4Colour c) const
inline

Definition at line 100 of file G4Colour.hh.

Here is the call graph for this function:

G4Colour G4Colour::Red ( )
inlinestatic

Definition at line 148 of file G4Colour.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

G4Colour G4Colour::White ( )
inlinestatic

Definition at line 143 of file G4Colour.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

G4Colour G4Colour::Yellow ( )
inlinestatic

Definition at line 153 of file G4Colour.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const G4Colour c 
)
friend

Definition at line 55 of file G4Colour.cc.


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