Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 ()
 

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
x 
y 
z 

Definition at line 42 of file G4Scale.hh.

42 {x, y, z};

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.

38  :
39  fLength(length),
40  fAnnotation(annotation),
41  fAnnotationSize(annotationSize),
42  fDirection(direction),
43  fAutoPlacing(autoPlacing),
44  fXmid(xmid), fYmid(ymid), fZmid(zmid) {}
G4Scale::~G4Scale ( )

Definition at line 46 of file G4Scale.cc.

46 {}

Member Function Documentation

const G4String& G4Scale::GetAnnotation ( ) const

Here is the caller graph for this function:

G4double G4Scale::GetAnnotationSize ( ) const

Here is the caller graph for this function:

G4bool G4Scale::GetAutoPlacing ( ) const

Here is the caller graph for this function:

Direction G4Scale::GetDirection ( ) const

Here is the caller graph for this function:

const G4String & G4Scale::GetGuidanceString ( )
static

Definition at line 66 of file G4Scale.cc.

67 {
68  return GuidanceString;
69 }

Here is the caller graph for this function:

G4double G4Scale::GetLength ( ) const

Here is the caller graph for this function:

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

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