52 lines
1.3 KiB
C++
52 lines
1.3 KiB
C++
// This code implementation is the intellectual property of
|
|
// the 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: G4HitsModel.hh,v 1.4 1999/12/15 14:54:29 gunter Exp $
|
|
// GEANT4 tag $Name: geant4-03-00 $
|
|
//
|
|
//
|
|
// John Allison 26th August 1998.
|
|
//
|
|
// Class Description:
|
|
//
|
|
// Model which knows how to draw GEANT4 hits.
|
|
//
|
|
// For access to base class information, e.g., modeling parameters,
|
|
// use GetModelingParameters() inherited from G4VModel. See Class
|
|
// Description of the base class G4VModel.
|
|
|
|
#ifndef G4HITSMODEL_HH
|
|
#define G4HITSMODEL_HH
|
|
|
|
#include "G4VModel.hh"
|
|
|
|
class G4HitsModel: public G4VModel {
|
|
|
|
public: // With description
|
|
|
|
G4HitsModel ();
|
|
|
|
virtual ~G4HitsModel ();
|
|
|
|
virtual void DescribeYourselfTo (G4VGraphicsScene&);
|
|
// The main task of a model is to describe itself to the scene.
|
|
|
|
virtual G4String GetCurrentDescription () const;
|
|
// A description which depends on the current state of the model.
|
|
|
|
virtual G4String GetCurrentTag () const;
|
|
// A tag which depends on the current state of the model.
|
|
|
|
virtual G4bool Validate ();
|
|
// Validate, but allow internal changes (hence non-const function).
|
|
|
|
};
|
|
|
|
#include "G4HitsModel.icc"
|
|
|
|
#endif
|