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

#include <G4OpenGLStoredSceneHandler.hh>

Public Member Functions

 PO ()
 
 PO (const PO &)
 
 PO (G4int id, const G4Transform3D &tr=G4Transform3D())
 
 ~PO ()
 
POoperator= (const PO &)
 

Public Attributes

G4int fDisplayListId
 
G4Transform3D fTransform
 
GLuint fPickName
 
G4Colour fColour
 
G4TextPlusfpG4TextPlus
 
G4bool fMarkerOrPolyline
 

Detailed Description

Definition at line 114 of file G4OpenGLStoredSceneHandler.hh.

Constructor & Destructor Documentation

◆ PO() [1/3]

◆ PO() [2/3]

G4OpenGLStoredSceneHandler::PO::PO ( const PO & po)

Definition at line 62 of file G4OpenGLStoredSceneHandler.cc.

62 :
63 fDisplayListId(po.fDisplayListId),
64 fTransform(po.fTransform),
65 fPickName(po.fPickName),
66 fColour(po.fColour),
67 fpG4TextPlus(po.fpG4TextPlus? new G4TextPlus(*po.fpG4TextPlus): 0),
68 fMarkerOrPolyline(po.fMarkerOrPolyline)
69{}

◆ PO() [3/3]

G4OpenGLStoredSceneHandler::PO::PO ( G4int id,
const G4Transform3D & tr = G4Transform3D() )

Definition at line 71 of file G4OpenGLStoredSceneHandler.cc.

71 :
73 fTransform(tr),
74 fPickName(0),
75 fpG4TextPlus(0),
77{}

◆ ~PO()

G4OpenGLStoredSceneHandler::PO::~PO ( )

Definition at line 79 of file G4OpenGLStoredSceneHandler.cc.

80{
81 delete fpG4TextPlus;
82}

Member Function Documentation

◆ operator=()

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

Definition at line 84 of file G4OpenGLStoredSceneHandler.cc.

86{
87 if (&rhs == this) return *this;
88 fDisplayListId = rhs.fDisplayListId;
89 fTransform = rhs.fTransform;
90 fPickName = rhs.fPickName;
91 fColour = rhs.fColour;
92 fpG4TextPlus = rhs.fpG4TextPlus? new G4TextPlus(*rhs.fpG4TextPlus): 0;
93 fMarkerOrPolyline = rhs.fMarkerOrPolyline;
94 return *this;
95}

Member Data Documentation

◆ fColour

G4Colour G4OpenGLStoredSceneHandler::PO::fColour

◆ fDisplayListId

G4int G4OpenGLStoredSceneHandler::PO::fDisplayListId

◆ fMarkerOrPolyline

G4bool G4OpenGLStoredSceneHandler::PO::fMarkerOrPolyline

◆ fpG4TextPlus

G4TextPlus* G4OpenGLStoredSceneHandler::PO::fpG4TextPlus

◆ fPickName

GLuint G4OpenGLStoredSceneHandler::PO::fPickName

◆ fTransform

G4Transform3D G4OpenGLStoredSceneHandler::PO::fTransform

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