Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4OpenGLStoredSceneHandler::TO Struct Reference

#include <G4OpenGLStoredSceneHandler.hh>

Public Member Functions

 TO ()
 
 TO (const TO &)
 
 TO (G4int id, const G4Transform3D &tr=G4Transform3D())
 
 ~TO ()
 
TOoperator= (const TO &)
 

Public Attributes

G4int fDisplayListId
 
G4Transform3D fTransform
 
GLuint fPickName
 
G4double fStartTime
 
G4double fEndTime
 
G4Colour fColour
 
G4TextPlusfpG4TextPlus
 
G4bool fMarkerOrPolyline
 

Detailed Description

Definition at line 130 of file G4OpenGLStoredSceneHandler.hh.

Constructor & Destructor Documentation

◆ TO() [1/3]

◆ TO() [2/3]

G4OpenGLStoredSceneHandler::TO::TO ( const TO to)

Definition at line 106 of file G4OpenGLStoredSceneHandler.cc.

106 :
107 fDisplayListId(to.fDisplayListId),
108 fTransform(to.fTransform),
109 fPickName(to.fPickName),
110 fStartTime(to.fStartTime),
111 fEndTime(to.fEndTime),
112 fColour(to.fColour),
113 fpG4TextPlus(to.fpG4TextPlus? new G4TextPlus(*to.fpG4TextPlus): 0),
114 fMarkerOrPolyline(to.fMarkerOrPolyline)
115{}

◆ TO() [3/3]

G4OpenGLStoredSceneHandler::TO::TO ( G4int  id,
const G4Transform3D tr = G4Transform3D() 
)

◆ ~TO()

G4OpenGLStoredSceneHandler::TO::~TO ( )

Definition at line 127 of file G4OpenGLStoredSceneHandler.cc.

128{
129 delete fpG4TextPlus;
130}

Member Function Documentation

◆ operator=()

G4OpenGLStoredSceneHandler::TO & G4OpenGLStoredSceneHandler::TO::operator= ( const TO rhs)

Definition at line 132 of file G4OpenGLStoredSceneHandler.cc.

134{
135 if (&rhs == this) return *this;
136 fDisplayListId = rhs.fDisplayListId;
137 fTransform = rhs.fTransform;
138 fPickName = rhs.fPickName;
139 fStartTime = rhs.fStartTime;
140 fEndTime = rhs.fEndTime;
141 fColour = rhs.fColour;
142 fpG4TextPlus = rhs.fpG4TextPlus? new G4TextPlus(*rhs.fpG4TextPlus): 0;
143 fMarkerOrPolyline = rhs.fMarkerOrPolyline;
144 return *this;
145}

Member Data Documentation

◆ fColour

G4Colour G4OpenGLStoredSceneHandler::TO::fColour

◆ fDisplayListId

G4int G4OpenGLStoredSceneHandler::TO::fDisplayListId

◆ fEndTime

G4double G4OpenGLStoredSceneHandler::TO::fEndTime

◆ fMarkerOrPolyline

G4bool G4OpenGLStoredSceneHandler::TO::fMarkerOrPolyline

◆ fpG4TextPlus

G4TextPlus* G4OpenGLStoredSceneHandler::TO::fpG4TextPlus

◆ fPickName

GLuint G4OpenGLStoredSceneHandler::TO::fPickName

◆ fStartTime

G4double G4OpenGLStoredSceneHandler::TO::fStartTime

◆ fTransform

G4Transform3D G4OpenGLStoredSceneHandler::TO::fTransform

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