51(
const G4Visible& visible,
size_t currentPOListIndex)
53 G4bool usesGLCommands =
true;
56 const G4Text& g4Text =
dynamic_cast<const G4Text&
>(visible);
59 fPOList[currentPOListIndex].fpG4TextPlus = pG4TextPlus;
60 usesGLCommands =
false;
62 catch (
const std::bad_cast&) {}
68 if (pPVModel && !pLVModel) {
112 return usesGLCommands;
116(
const G4Visible& visible,
size_t currentTOListIndex)
119 G4bool usesGLCommands =
true;
122 const G4Text& g4Text =
dynamic_cast<const G4Text&
>(visible);
125 fTOList[currentTOListIndex].fpG4TextPlus = pG4TextPlus;
126 usesGLCommands =
false;
128 catch (
const std::bad_cast&) {}
130 return usesGLCommands;
void addNonPVSceneTreeElement(const G4String &model, int currentPVPOIndex, const std::string &modelDescription, const G4Visible &visible)
void addPVSceneTreeElement(const G4String &model, G4PhysicalVolumeModel *pPVModel, int currentPVPOIndex)
void ClearTransientStore()
G4OpenGLStoredQtSceneHandler(G4VGraphicsSystem &system, const G4String &name="")
G4bool ExtraPOProcessing(const G4Visible &, size_t currentPOListIndex)
virtual ~G4OpenGLStoredQtSceneHandler()
G4bool ExtraTOProcessing(const G4Visible &, size_t currentTOListIndex)
std::vector< PO > fPOList
void ClearTransientStore()
std::vector< TO > fTOList
virtual G4String GetCurrentDescription() const
const G4String & GetType() const
virtual void SetScene(G4Scene *)