Import Geant4 0.0.0 source tree
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
//
|
||||
// By copying, distributing or modifying the Program (or any work
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4Text.hh,v 2.0 1998/07/02 17:30:12 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
//
|
||||
// John Allison 17/11/96.
|
||||
|
||||
#ifndef G4TEXT_HH
|
||||
#define G4TEXT_HH
|
||||
|
||||
#include "G4VMarker.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
class G4Text: public G4VMarker {
|
||||
public:
|
||||
enum Layout {left, centre, right};
|
||||
G4Text (const G4String& text);
|
||||
G4Text (const G4String& text, const G4Point3D& pos);
|
||||
G4Text (const G4VMarker& marker);
|
||||
G4String GetText () const;
|
||||
Layout GetLayout () const;
|
||||
|
||||
G4double GetXOffset () const ;
|
||||
G4double GetYOffset () const ;
|
||||
|
||||
void SetText (const G4String& text);
|
||||
void SetLayout (Layout layout);
|
||||
|
||||
void SetOffset ( double dx, double dy ) ;
|
||||
|
||||
private:
|
||||
G4String fText;
|
||||
Layout fLayout;
|
||||
G4double fXOffset, fYOffset ;
|
||||
};
|
||||
|
||||
#include "G4Text.icc"
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user