Geant4_10
Classes | Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
CCalVisualisable Class Reference

#include <CCalVisualisable.hh>

Public Types

enum  visType {
  Sensitive =0, Electronics =1, Support =2, Cable =3,
  Absorber =4, OtherServices =5, PseudoVolumes =6, TotalVisTypes =7,
  Undefined =-1
}
 

Public Member Functions

 CCalVisualisable (G4String file)
 
virtual ~CCalVisualisable ()
 
bool readFile (G4String file)
 
void setDefault ()
 
bool isVisible (visType v) const
 
void setVisible (visType v, bool flag=true)
 
double colorRed (visType v) const
 
double colorGreen (visType v) const
 
double colorBlue (visType v) const
 
void setColorRed (visType v, double r)
 
void setColorGreen (visType v, double g)
 
void setColorBlue (visType v, double b)
 
void setColor (visType v, double r, double g, double b)
 
bool isWireFrame (visType v) const
 
void setWireFrame (visType v, bool wf=true)
 

Protected Member Functions

bool readFile ()
 

Static Protected Member Functions

static void setPath ()
 

Detailed Description

Definition at line 39 of file CCalVisualisable.hh.

Member Enumeration Documentation

Enumerator
Sensitive 
Electronics 
Support 
Cable 
Absorber 
OtherServices 
PseudoVolumes 
TotalVisTypes 
Undefined 

Definition at line 43 of file CCalVisualisable.hh.

Constructor & Destructor Documentation

CCalVisualisable::CCalVisualisable ( G4String  file)

Definition at line 41 of file CCalVisualisable.cc.

Here is the call graph for this function:

virtual CCalVisualisable::~CCalVisualisable ( )
inlinevirtual

Definition at line 71 of file CCalVisualisable.hh.

Member Function Documentation

double CCalVisualisable::colorBlue ( visType  v) const
inline

Definition at line 85 of file CCalVisualisable.hh.

Here is the caller graph for this function:

double CCalVisualisable::colorGreen ( visType  v) const
inline

Definition at line 84 of file CCalVisualisable.hh.

Here is the caller graph for this function:

double CCalVisualisable::colorRed ( visType  v) const
inline

Definition at line 83 of file CCalVisualisable.hh.

Here is the caller graph for this function:

bool CCalVisualisable::isVisible ( visType  v) const
inline

Definition at line 80 of file CCalVisualisable.hh.

Here is the caller graph for this function:

bool CCalVisualisable::isWireFrame ( visType  v) const
inline

Definition at line 91 of file CCalVisualisable.hh.

Here is the caller graph for this function:

bool CCalVisualisable::readFile ( G4String  file)

Definition at line 48 of file CCalVisualisable.cc.

Here is the call graph for this function:

bool CCalVisualisable::readFile ( )
protected

Definition at line 78 of file CCalVisualisable.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void CCalVisualisable::setColor ( visType  v,
double  r,
double  g,
double  b 
)

Definition at line 62 of file CCalVisualisable.cc.

Here is the call graph for this function:

void CCalVisualisable::setColorBlue ( visType  v,
double  b 
)
inline

Definition at line 88 of file CCalVisualisable.hh.

void CCalVisualisable::setColorGreen ( visType  v,
double  g 
)
inline

Definition at line 87 of file CCalVisualisable.hh.

Here is the call graph for this function:

void CCalVisualisable::setColorRed ( visType  v,
double  r 
)
inline

Definition at line 86 of file CCalVisualisable.hh.

void CCalVisualisable::setDefault ( )

Definition at line 53 of file CCalVisualisable.cc.

Here is the caller graph for this function:

void CCalVisualisable::setPath ( )
staticprotected

Definition at line 68 of file CCalVisualisable.cc.

Here is the caller graph for this function:

void CCalVisualisable::setVisible ( visType  v,
bool  flag = true 
)
inline

Definition at line 81 of file CCalVisualisable.hh.

void CCalVisualisable::setWireFrame ( visType  v,
bool  wf = true 
)
inline

Definition at line 92 of file CCalVisualisable.hh.


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