Geant4-11
Public Member Functions | Data Fields
G4OpenGLStoredSceneHandler::TO Struct Reference

#include <G4OpenGLStoredSceneHandler.hh>

Public Member Functions

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

Data Fields

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

Detailed Description

Definition at line 126 of file G4OpenGLStoredSceneHandler.hh.

Constructor & Destructor Documentation

◆ TO() [1/3]

G4OpenGLStoredSceneHandler::TO::TO ( )

◆ TO() [2/3]

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

Definition at line 108 of file G4OpenGLStoredSceneHandler.cc.

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

◆ TO() [3/3]

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

◆ ~TO()

G4OpenGLStoredSceneHandler::TO::~TO ( )

Definition at line 129 of file G4OpenGLStoredSceneHandler.cc.

130{
131 delete fpG4TextPlus;
132}

Member Function Documentation

◆ operator=()

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

Definition at line 134 of file G4OpenGLStoredSceneHandler.cc.

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

References G4OpenGLStoredSceneHandler::fDisplayListId, and G4OpenGLSceneHandler::fPickName.

Field 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: