CMS 3D CMS Logo

VisG4VisTransform3D Class Reference

Utility to convert Geant4 transformation matrix into an OpenInventor one. More...

#include <VisGeant4/VisG4Core/interface/VisG4VisTransform3D.h>

List of all members.

Public Member Functions

 operator SbMatrix (void) const
 VisG4VisTransform3D (const G4Transform3D &t)


Detailed Description

Utility to convert Geant4 transformation matrix into an OpenInventor one.

Definition at line 19 of file VisG4VisTransform3D.h.


Constructor & Destructor Documentation

VisG4VisTransform3D::VisG4VisTransform3D ( const G4Transform3D &  t  )  [inline]

Definition at line 30 of file VisG4VisTransform3D.h.

00031     : G4Transform3D (t)
00032 {}


Member Function Documentation

VisG4VisTransform3D::operator SbMatrix ( void   )  const [inline]

Definition at line 35 of file VisG4VisTransform3D.h.

References m.

00036 {
00037     return SbMatrix (xx_,  yx_,  zx_, 0.,
00038                      xy_,  yy_,  zy_, 0.,
00039                      xz_,  yz_,  zz_, 0.,
00040                      dx_ / m, dy_ / m, dz_ / m, 1.);
00041 }


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:35:25 2009 for CMSSW by  doxygen 1.5.4