Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VModel.cc File Reference
#include "G4VModel.hh"
#include "G4RotationMatrix.hh"
#include "G4ModelingParameters.hh"
Include dependency graph for G4VModel.cc:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const G4VModel &model)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const G4VModel model 
)

Definition at line 63 of file G4VModel.cc.

63  {
64  os << model.fGlobalDescription;
65  os << "\n Modeling parameters:";
66  const G4ModelingParameters* mp = model.fpMP;
67  if (mp) os << "\n " << *mp;
68  else os << " none.";
69  os << "\n Extent: " << model.fExtent;
70  os << "\n Transformation: ";
71  os << "\n Rotation: ";
72  G4RotationMatrix rotation = model.fTransform.getRotation ();
73  os << rotation.thetaX() << ", "
74  << rotation.phiX() << ", "
75  << rotation.thetaY() << ", "
76  << rotation.phiY() << ", "
77  << rotation.thetaZ() << ", "
78  << rotation.phiZ();
79  os << "\n Translation: " << model.fTransform.getTranslation ();
80  return os;
81 }
G4Transform3D fTransform
Definition: G4VModel.hh:112
double thetaX() const
Definition: Rotation.cc:141
double phiY() const
Definition: Rotation.cc:133
CLHEP::HepRotation getRotation() const
double phiX() const
Definition: Rotation.cc:129
double thetaY() const
Definition: Rotation.cc:145
const G4ModelingParameters * fpMP
Definition: G4VModel.hh:113
G4String fGlobalDescription
Definition: G4VModel.hh:110
double thetaZ() const
Definition: Rotation.cc:149
double phiZ() const
Definition: Rotation.cc:137
G4VisExtent fExtent
Definition: G4VModel.hh:111
CLHEP::Hep3Vector getTranslation() const

Here is the call graph for this function: