G4Scale Class Reference

#include <G4Scale.hh>

Inheritance diagram for G4Scale:

G4VMarker G4Visible

Public Types

 x
 y
 z
enum  Direction { x, y, z }

Public Member Functions

 G4Scale (G4double length, const G4String &annotation="", Direction direction=x, G4bool autoPlacing=true, G4double xmid=0., G4double ymid=0., G4double zmid=0.)
 ~G4Scale ()
G4double GetLength () const
const G4StringGetAnnotation () const
Direction GetDirection () const
G4bool GetAutoPlacing () const
G4double GetXmid () const
G4double GetYmid () const
G4double GetZmid () const

Static Public Member Functions

static const G4StringGetGuidanceString ()

Detailed Description

Definition at line 38 of file G4Scale.hh.


Member Enumeration Documentation

enum G4Scale::Direction

Enumerator:
x 
y 
z 

Definition at line 42 of file G4Scale.hh.

00042 {x, y, z};


Constructor & Destructor Documentation

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

G4Scale::~G4Scale (  ) 

Definition at line 44 of file G4Scale.cc.

00044 {}


Member Function Documentation

const G4String & G4Scale::GetAnnotation (  )  const [inline]

Definition at line 36 of file G4Scale.icc.

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

00036                                                     {
00037   return fAnnotation;
00038 }

G4bool G4Scale::GetAutoPlacing (  )  const [inline]

Definition at line 43 of file G4Scale.icc.

Referenced by G4VSceneHandler::AddPrimitive().

00043                                             {
00044   return fAutoPlacing;
00045 }

G4Scale::Direction G4Scale::GetDirection (  )  const [inline]

Definition at line 39 of file G4Scale.icc.

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

00039                                                     {
00040   return fDirection;
00041 }

const G4String & G4Scale::GetGuidanceString (  )  [static]

Definition at line 64 of file G4Scale.cc.

Referenced by G4VisCommandSceneAddScale::G4VisCommandSceneAddScale().

00065 {
00066   return GuidanceString;
00067 }

G4double G4Scale::GetLength (  )  const [inline]

Definition at line 32 of file G4Scale.icc.

Referenced by G4VSceneHandler::AddPrimitive().

00032                                          {
00033   return fLength;
00034 }

G4double G4Scale::GetXmid (  )  const [inline]

Definition at line 47 of file G4Scale.icc.

Referenced by G4VSceneHandler::AddPrimitive().

00047                                        {
00048   return fXmid;
00049 }

G4double G4Scale::GetYmid (  )  const [inline]

Definition at line 51 of file G4Scale.icc.

Referenced by G4VSceneHandler::AddPrimitive().

00051                                        {
00052   return fYmid;
00053 }

G4double G4Scale::GetZmid (  )  const [inline]

Definition at line 55 of file G4Scale.icc.

Referenced by G4VSceneHandler::AddPrimitive().

00055                                        {
00056   return fZmid;
00057 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:53:20 2013 for Geant4 by  doxygen 1.4.7