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

#include <G4OpenGLStoredSceneHandler.hh>

Public Member Functions

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

Data Fields

G4Colour fColour
 
G4int fDisplayListId
 
G4bool fMarkerOrPolyline
 
G4TextPlusfpG4TextPlus
 
GLuint fPickName
 
G4Transform3D fTransform
 

Detailed Description

Definition at line 110 of file G4OpenGLStoredSceneHandler.hh.

Constructor & Destructor Documentation

◆ PO() [1/3]

G4OpenGLStoredSceneHandler::PO::PO ( )

◆ PO() [2/3]

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

Definition at line 64 of file G4OpenGLStoredSceneHandler.cc.

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

◆ PO() [3/3]

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

Definition at line 73 of file G4OpenGLStoredSceneHandler.cc.

73 :
75 fTransform(tr),
76 fPickName(0),
77 fpG4TextPlus(0),
79{}

◆ ~PO()

G4OpenGLStoredSceneHandler::PO::~PO ( )

Definition at line 81 of file G4OpenGLStoredSceneHandler.cc.

82{
83 delete fpG4TextPlus;
84}

Member Function Documentation

◆ operator=()

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

Definition at line 86 of file G4OpenGLStoredSceneHandler.cc.

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

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

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