source: trunk/source/visualization/modeling/include/G4TrajectoryModelFactories.hh @ 1346

Last change on this file since 1346 was 1346, checked in by garnier, 13 years ago

before tag

File size: 3.7 KB
Line 
1//
2// ********************************************************************
3// * License and Disclaimer                                           *
4// *                                                                  *
5// * The  Geant4 software  is  copyright of the Copyright Holders  of *
6// * the Geant4 Collaboration.  It is provided  under  the terms  and *
7// * conditions of the Geant4 Software License,  included in the file *
8// * LICENSE and available at  http://cern.ch/geant4/license .  These *
9// * include a list of copyright holders.                             *
10// *                                                                  *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work  make  any representation or  warranty, express or implied, *
14// * regarding  this  software system or assume any liability for its *
15// * use.  Please see the license in the file  LICENSE  and URL above *
16// * for the full disclaimer and the limitation of liability.         *
17// *                                                                  *
18// * This  code  implementation is the result of  the  scientific and *
19// * technical work of the GEANT4 collaboration.                      *
20// * By using,  copying,  modifying or  distributing the software (or *
21// * any work based  on the software)  you  agree  to acknowledge its *
22// * use  in  resulting  scientific  publications,  and indicate your *
23// * acceptance of all terms of the Geant4 Software license.          *
24// ********************************************************************
25//
26// $Id: G4TrajectoryModelFactories.hh,v 1.6 2006/09/12 18:53:03 tinslay Exp $
27// GEANT4 tag $Name:  $
28//
29// Jane Tinslay, John Allison, Joseph Perl October 2005
30//
31// Class Description:
32// Trajectory model factories creating trajectory models
33// and associated messengers
34// Class Description - End:
35
36#ifndef G4TRAJECTORYMODELFACTORIES_HH
37#define G4TRAJECTORYMODELFACTORIES_HH
38
39#include "G4VModelFactory.hh"
40#include "G4VTrajectoryModel.hh"
41
42namespace {
43  typedef std::vector<G4UImessenger*> Messengers;
44  typedef std::pair<G4VTrajectoryModel*, Messengers > ModelAndMessengers;
45}
46
47class G4TrajectoryDrawByAttributeFactory : public G4VModelFactory<G4VTrajectoryModel> {
48
49public: // With description
50
51  G4TrajectoryDrawByAttributeFactory();
52
53  virtual ~G4TrajectoryDrawByAttributeFactory();
54 
55  ModelAndMessengers Create(const G4String& placement, const G4String& name);
56   
57};
58
59class G4TrajectoryDrawByChargeFactory : public G4VModelFactory<G4VTrajectoryModel> {
60
61public: // With description
62
63  G4TrajectoryDrawByChargeFactory();
64
65  virtual ~G4TrajectoryDrawByChargeFactory();
66 
67  ModelAndMessengers Create(const G4String& placement, const G4String& name);
68   
69};
70
71class G4TrajectoryGenericDrawerFactory : public G4VModelFactory<G4VTrajectoryModel> {
72
73public: // With description
74
75  G4TrajectoryGenericDrawerFactory();
76
77  virtual ~G4TrajectoryGenericDrawerFactory();
78 
79  ModelAndMessengers Create(const G4String& placement, const G4String& name);
80   
81};
82
83class G4TrajectoryDrawByParticleIDFactory : public G4VModelFactory<G4VTrajectoryModel> {
84
85public: // With description
86
87  G4TrajectoryDrawByParticleIDFactory();
88
89  virtual ~G4TrajectoryDrawByParticleIDFactory();
90 
91  ModelAndMessengers Create(const G4String& placement, const G4String& name);
92   
93};
94
95class G4TrajectoryDrawByOriginVolumeFactory : public G4VModelFactory<G4VTrajectoryModel> {
96
97public: // With description
98
99  G4TrajectoryDrawByOriginVolumeFactory();
100
101  virtual ~G4TrajectoryDrawByOriginVolumeFactory();
102 
103  ModelAndMessengers Create(const G4String& placement, const G4String& name);
104   
105};
106
107#endif
108
109
Note: See TracBrowser for help on using the repository browser.