ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/visualization/HepRep/include/HEPREP/HepRepFactory.h>
Public Member Functions | |
virtual | ~HepRepFactory () |
Destructor. | |
virtual HepRepReader * | createHepRepReader (std::istream *in)=0 |
virtual HepRepReader * | createHepRepReader (std::string inputFileName)=0 |
virtual HepRepWriter * | createHepRepWriter (std::ostream *out, bool randomAccess, bool compress)=0 |
virtual HepRepPoint * | createHepRepPoint (HepRepInstance *instance, double x, double y, double z)=0 |
virtual HepRepInstance * | createHepRepInstance (HepRepInstance *parent, HepRepType *type)=0 |
virtual HepRepInstance * | createHepRepInstance (HepRepInstanceTree *parent, HepRepType *type)=0 |
virtual HepRepTreeID * | createHepRepTreeID (std::string name, std::string version, std::string qualifier="top-level")=0 |
virtual HepRepAction * | createHepRepAction (std::string name, std::string expression)=0 |
virtual HepRepInstanceTree * | createHepRepInstanceTree (std::string name, std::string version, HepRepTreeID *typeTree)=0 |
virtual HepRepType * | createHepRepType (HepRepTypeTree *parent, std::string name)=0 |
virtual HepRepType * | createHepRepType (HepRepType *parent, std::string name)=0 |
virtual HepRepTypeTree * | createHepRepTypeTree (HepRepTreeID *treeID)=0 |
virtual HepRep * | createHepRep ()=0 |
HepRepFactory interface.
Definition at line 33 of file HepRepFactory.h.
View newest version in sPHENIX GitHub at line 33 of file HepRepFactory.h
|
inlinevirtual |
Destructor.
Definition at line 37 of file HepRepFactory.h.
View newest version in sPHENIX GitHub at line 37 of file HepRepFactory.h
|
pure virtual |
Creates a HepRep.
Implemented in cheprep::DefaultHepRepFactory.
Referenced by G4HepRepSceneHandler::getHepRep(), and G4HepRepSceneHandler::getHepRepGeometry().
|
pure virtual |
Creates a HepRepAction.
name | of the action. |
expression | of the action. |
Implemented in cheprep::DefaultHepRepFactory.
|
pure virtual |
Creates a HepRepInstance.
to add the instance to. type the associated type.
Implemented in cheprep::DefaultHepRepFactory.
Referenced by G4HepRepSceneHandler::AddPrimitive(), G4HepRepSceneHandler::AddSolid(), G4HepRepSceneHandler::getEventInstance(), G4HepRepSceneHandler::getGeometryInstance(), G4HepRepSceneHandler::getGeometryOrEventInstance(), and G4HepRepSceneHandler::getGeometryRootInstance().
|
pure virtual |
Creates a HepRepInstance.
to add the instance to. type the associated type.
Implemented in cheprep::DefaultHepRepFactory.
|
pure virtual |
Creates a HepRepInstanceTree.
The tree needs to be added to the HepRep.
name | of the instancetree. |
version | of the instancetree. |
typeTree | associated typetree. |
Implemented in cheprep::DefaultHepRepFactory.
Referenced by G4HepRepSceneHandler::getEventInstanceTree(), and G4HepRepSceneHandler::getGeometryInstanceTree().
|
pure virtual |
Creates a HepRepPoint.
instance | to add the point to. |
x | x coordinate of point. |
y | y coordinate of point. |
z | z coordinate of point. |
Implemented in cheprep::DefaultHepRepFactory.
Referenced by G4HepRepSceneHandler::AddPrimitive(), and G4HepRepSceneHandler::AddSolid().
|
pure virtual |
Creates a HepRepReader from a stream.
in | input stream. |
Implemented in cheprep::DefaultHepRepFactory, and cheprep::XMLHepRepFactory.
|
pure virtual |
Creates a HepRepReader from a file name.
inputFileName | file name. |
Implemented in cheprep::DefaultHepRepFactory, and cheprep::XMLHepRepFactory.
|
pure virtual |
Creates a HepRepTreeID.
name | of the treeID. |
version | of the treeID. |
qualifier | of the treeID. |
Implemented in cheprep::DefaultHepRepFactory.
Referenced by G4HepRepSceneHandler::closeHepRep(), G4HepRepSceneHandler::getEventTypeTree(), and G4HepRepSceneHandler::getGeometryTypeTree().
|
pure virtual |
Creates a HepRepType.
parent | to add this type to. |
name | of the type to create. |
Implemented in cheprep::DefaultHepRepFactory.
Referenced by G4HepRepSceneHandler::getCalHitFaceType(), G4HepRepSceneHandler::getCalHitType(), G4HepRepSceneHandler::getEventType(), G4HepRepSceneHandler::getFullTypeName(), G4HepRepSceneHandler::getGeometryRootType(), G4HepRepSceneHandler::getGeometryType(), G4HepRepSceneHandler::getHitType(), and G4HepRepSceneHandler::getTrajectoryType().
|
pure virtual |
Creates a HepRepType.
parent | to add this type to. |
name | of the type to create. |
Implemented in cheprep::DefaultHepRepFactory.
|
pure virtual |
Creates a HepRepTypeTree.
The tree needs to be added to the HepRep.
treeID | to name the tree being created. |
Implemented in cheprep::DefaultHepRepFactory.
Referenced by G4HepRepSceneHandler::getEventTypeTree(), and G4HepRepSceneHandler::getGeometryTypeTree().
|
pure virtual |
Creates a HepRepWriter.
out | output stream. |
randomAccess | create a writer in a format that will allow random access (may be ignored). |
compress | create a writer that uses compression (may be ignored). |
Implemented in cheprep::DefaultHepRepFactory, and cheprep::XMLHepRepFactory.
Referenced by G4HepRepSceneHandler::open(), and G4HepRepSceneHandler::openFile().