Geant4  10.01.p02
G4Scale Class Reference

#include <G4Scale.hh>

+ Inheritance diagram for G4Scale:
+ Collaboration diagram for G4Scale:

Public Types

enum  Direction { x, y, z }
 
- Public Types inherited from G4VMarker
enum  FillStyle { noFill, hashed, filled }
 
enum  SizeType { none, world, screen }
 

Public Member Functions

 G4Scale (G4double length, const G4String &annotation="", Direction direction=x, G4bool autoPlacing=true, G4double xmid=0., G4double ymid=0., G4double zmid=0., G4double annotationSize=12.)
 
 ~G4Scale ()
 
G4double GetLength () const
 
const G4StringGetAnnotation () const
 
G4double GetAnnotationSize () const
 
Direction GetDirection () const
 
G4bool GetAutoPlacing () const
 
G4double GetXmid () const
 
G4double GetYmid () const
 
G4double GetZmid () const
 
- Public Member Functions inherited from G4VMarker
 G4VMarker ()
 
 G4VMarker (const G4VMarker &)
 
 G4VMarker (const G4Point3D &position)
 
virtual ~G4VMarker ()
 
G4VMarkeroperator= (const G4VMarker &)
 
G4bool operator!= (const G4VMarker &) const
 
G4Point3D GetPosition () const
 
SizeType GetSizeType () const
 
G4double GetWorldSize () const
 
G4double GetWorldDiameter () const
 
G4double GetWorldRadius () const
 
G4double GetScreenSize () const
 
G4double GetScreenDiameter () const
 
G4double GetScreenRadius () const
 
FillStyle GetFillStyle () const
 
void SetPosition (const G4Point3D &)
 
void SetSize (SizeType, G4double)
 
void SetDiameter (SizeType, G4double)
 
void SetRadius (SizeType, G4double)
 
void SetWorldSize (G4double)
 
void SetWorldDiameter (G4double)
 
void SetWorldRadius (G4double)
 
void SetScreenSize (G4double)
 
void SetScreenDiameter (G4double)
 
void SetScreenRadius (G4double)
 
void SetFillStyle (FillStyle)
 
virtual const G4StringGetInfo () const
 
virtual void SetInfo (const G4String &info)
 
- Public Member Functions inherited from G4Visible
 G4Visible ()
 
 G4Visible (const G4Visible &)
 
 G4Visible (const G4VisAttributes *)
 
virtual ~G4Visible ()
 
G4Visibleoperator= (const G4Visible &)
 
G4bool operator!= (const G4Visible &right) const
 
const G4VisAttributesGetVisAttributes () const
 
void SetVisAttributes (const G4VisAttributes *)
 
void SetVisAttributes (const G4VisAttributes &)
 

Static Public Member Functions

static const G4StringGetGuidanceString ()
 

Private Attributes

G4double fLength
 
G4String fAnnotation
 
G4double fAnnotationSize
 
Direction fDirection
 
G4bool fAutoPlacing
 
G4double fXmid
 
G4double fYmid
 
G4double fZmid
 

Static Private Attributes

static const G4String GuidanceString
 

Additional Inherited Members

- Protected Attributes inherited from G4Visible
const G4VisAttributesfpVisAttributes
 
G4bool fAllocatedVisAttributes
 

Detailed Description

Definition at line 38 of file G4Scale.hh.

Member Enumeration Documentation

Enumerator

Definition at line 42 of file G4Scale.hh.

Constructor & Destructor Documentation

G4Scale::G4Scale ( G4double  length,
const G4String annotation = "",
G4Scale::Direction  direction = x,
G4bool  autoPlacing = true,
G4double  xmid = 0.,
G4double  ymid = 0.,
G4double  zmid = 0.,
G4double  annotationSize = 12. 
)

Definition at line 34 of file G4Scale.cc.

G4Scale::~G4Scale ( )

Definition at line 46 of file G4Scale.cc.

Member Function Documentation

const G4String& G4Scale::GetAnnotation ( ) const

Referenced by G4VSceneHandler::AddPrimitive(), and G4ScaleModel::G4ScaleModel().

+ Here is the caller graph for this function:

G4double G4Scale::GetAnnotationSize ( ) const

Referenced by G4VSceneHandler::AddPrimitive().

+ Here is the caller graph for this function:

G4bool G4Scale::GetAutoPlacing ( ) const

Referenced by G4VSceneHandler::AddPrimitive().

+ Here is the caller graph for this function:

Direction G4Scale::GetDirection ( ) const

Referenced by G4VSceneHandler::AddPrimitive(), and G4ScaleModel::G4ScaleModel().

+ Here is the caller graph for this function:

const G4String & G4Scale::GetGuidanceString ( )
static

Definition at line 66 of file G4Scale.cc.

References GuidanceString.

Referenced by G4VisCommandSceneAddScale::G4VisCommandSceneAddScale().

+ Here is the caller graph for this function:

G4double G4Scale::GetLength ( ) const

Referenced by G4VSceneHandler::AddPrimitive().

+ Here is the caller graph for this function:

G4double G4Scale::GetXmid ( ) const
G4double G4Scale::GetYmid ( ) const
G4double G4Scale::GetZmid ( ) const

Member Data Documentation

G4String G4Scale::fAnnotation
private

Definition at line 83 of file G4Scale.hh.

G4double G4Scale::fAnnotationSize
private

Definition at line 84 of file G4Scale.hh.

G4bool G4Scale::fAutoPlacing
private

Definition at line 86 of file G4Scale.hh.

Direction G4Scale::fDirection
private

Definition at line 85 of file G4Scale.hh.

G4double G4Scale::fLength
private

Definition at line 82 of file G4Scale.hh.

G4double G4Scale::fXmid
private

Definition at line 87 of file G4Scale.hh.

G4double G4Scale::fYmid
private

Definition at line 87 of file G4Scale.hh.

G4double G4Scale::fZmid
private

Definition at line 87 of file G4Scale.hh.

const G4String G4Scale::GuidanceString
staticprivate

Definition at line 88 of file G4Scale.hh.

Referenced by GetGuidanceString().


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