Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4OpenGLTransform3D Class Reference

#include <G4OpenGLTransform3D.hh>

Public Member Functions

 G4OpenGLTransform3D (const G4Transform3D &t)
 
const GLdouble * GetGLMatrix ()
 

Detailed Description

Definition at line 39 of file G4OpenGLTransform3D.hh.

Constructor & Destructor Documentation

◆ G4OpenGLTransform3D()

G4OpenGLTransform3D::G4OpenGLTransform3D ( const G4Transform3D t)

Definition at line 36 of file G4OpenGLTransform3D.cc.

37{
38 GLdouble *p = m;
39 for (G4int i=0; i<4; ++i)
40 {
41 for (G4int k=0; k<3; ++k)
42 {
43 *p++ = t(k,i);
44 }
45 *p++ = 0.;
46 }
47 m[15] = 1.;
48}
int G4int
Definition: G4Types.hh:85

Member Function Documentation

◆ GetGLMatrix()


The documentation for this class was generated from the following files: