Geant4-11
|
#include <G4OpenGLQtViewer.hh>
Public Slots | |
void | startPauseVideo () |
Public Member Functions | |
void | addNonPVSceneTreeElement (const G4String &model, int currentPVPOIndex, const std::string &modelDescription, const G4Visible &visible) |
void | addPVSceneTreeElement (const G4String &model, G4PhysicalVolumeModel *pPVModel, int currentPVPOIndex) |
void | clearTreeWidget () |
void | ClearView () |
void | ClearViewWithoutFlush () |
std::vector< G4ThreeVector > | ComputeFlyThrough (G4Vector3D *) |
void | displayRecordingStatus () |
void | DrawText (const G4Text &) |
virtual void | DrawView ()=0 |
void | encodeVideo () |
bool | exportImage (std::string name="", int width=-1, int height=-1) |
void | G4keyPressEvent (QKeyEvent *event) |
void | G4keyReleaseEvent (QKeyEvent *event) |
void | G4MouseDoubleClickEvent () |
void | G4MouseMoveEvent (QMouseEvent *event) |
void | G4MousePressEvent (QMouseEvent *event) |
void | G4MouseReleaseEvent (QMouseEvent *evnt) |
G4OpenGLQtViewer (G4OpenGLSceneHandler &scene) | |
void | G4wheelEvent (QWheelEvent *event) |
bool | generateMpegEncoderParameters () |
const G4VisAttributes * | GetApplicableVisAttributes (const G4VisAttributes *) const |
const G4ViewParameters & | GetDefaultViewParameters () const |
QString | getEncoderPath () |
const G4String & | GetName () const |
QString | getSaveFileName () |
G4VSceneHandler * | GetSceneHandler () const |
const G4String & | GetShortName () const |
QString | getTempFolderPath () |
G4int | GetViewId () const |
const G4ViewParameters & | GetViewParameters () const |
virtual void | Initialise () |
bool | isBadEncoder () |
bool | isBadOutput () |
bool | isBadTmp () |
bool | isEncoding () |
bool | isFailed () |
bool | isPaused () |
bool | isReadyToEncode () |
bool | isRecording () |
bool | isStopped () |
bool | isSuccess () |
bool | isTouchableVisible (int POindex) |
bool | isWaiting () |
void | NeedKernelVisit () |
void | ProcessView () |
void | RefreshView () |
void | resetRecording () |
void | ResetView () |
void | saveVideo () |
void | setBadEncoder () |
void | setBadOutput () |
void | setBadTmp () |
void | SetDefaultViewParameters (const G4ViewParameters &vp) |
QString | setEncoderPath (QString path) |
bool | setExportImageFormat (std::string format, bool quiet=false) |
void | SetName (const G4String &) |
void | SetNeedKernelVisit (G4bool need) |
QString | setSaveFileName (QString path) |
QString | setTempFolderPath (QString path) |
void | SetViewParameters (const G4ViewParameters &vp) |
void | setWaiting () |
virtual void | ShowView () |
void | stopVideo () |
void | updatePickInfosWidget (int, int) |
virtual void | updateQWidget ()=0 |
void | updateSceneTreeWidget () |
void | updateViewerPropertiesTableWidget () |
virtual | ~G4OpenGLQtViewer () |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// More... | |
Protected Slots | |
void | updateToolbarAndMouseContextMenu () |
Protected Member Functions | |
void | addExportImageFormat (std::string format) |
void | ChangeLineWidth (G4double width) |
void | ChangePointSize (G4double size) |
virtual void | CreateFontLists () |
void | CreateGLQtContext () |
virtual void | CreateMainWindow (QGLWidget *, const QString &) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// More... | |
void | displaySceneTreeComponent () |
void | FinishView () |
void | g4GlFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near, GLdouble far) |
void | g4GlOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near, GLdouble far) |
void | g4GluLookAt (GLdouble eyex, GLdouble eyey, GLdouble eyez, GLdouble centerx, GLdouble centery, GLdouble centerz, GLdouble upx, GLdouble upy, GLdouble upz) |
void | g4GluPickMatrix (GLdouble x, GLdouble y, GLdouble width, GLdouble height, GLint viewport[4]) |
void | G4manageContextMenuEvent (QContextMenuEvent *e) |
G4Colour | getColorForPoIndex (int poIndex) |
const std::vector< G4OpenGLViewerPickMap * > & | GetPickDetails (GLdouble x, GLdouble y) |
const std::vector< G4ModelingParameters::VisAttributesModifier > * | GetPrivateVisAttributesModifiers () const |
std::string | getRealPrintFilename () |
GLdouble | getSceneDepth () |
GLdouble | getSceneFarWidth () |
GLdouble | getSceneNearWidth () |
unsigned int | getWinHeight () const |
unsigned int | getWinWidth () const |
void | HaloingFirstPass () |
void | HaloingSecondPass () |
void | HLRFirstPass () |
void | HLRSecondPass () |
void | HLRThirdPass () |
void | InitializeGLView () |
bool | isCurrentWidget () |
G4bool | isFramebufferReady () |
G4bool | isGl2psWriting () |
void | moveScene (float, float, float, bool) |
virtual G4String | Pick (GLdouble x, GLdouble y) |
void | ResizeGLView () |
void | ResizeWindow (unsigned int, unsigned int) |
void | rotateQtScene (float, float) |
void | rotateQtSceneToggle (float, float) |
void | rotateScene (G4double dx, G4double dy) |
void | rotateSceneToggle (G4double dx, G4double dy) |
void | savePPMToTemp () |
bool | setExportFilename (G4String name, G4bool inc=true) |
void | setExportSize (G4int, G4int) |
void | SetTouchable (const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &fullPath) |
void | SetView () |
G4bool | sizeHasChanged () |
void | TouchableSetColour (const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &fullPath, const G4Colour &) |
void | TouchableSetVisibility (const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &fullPath, G4bool visibility) |
void | updateKeyModifierState (const Qt::KeyboardModifiers &) |
Protected Attributes | |
G4bool | antialiasing_enabled |
G4Colour | background |
std::string | fDefaultExportImageFormat |
G4ViewParameters | fDefaultVP |
int | fExportFilenameIndex |
std::string | fExportImageFormat |
std::vector< std::string > | fExportImageFormatVector |
G4OpenGL2PSAction * | fGL2PSAction |
QWidget * | fGLWidget |
bool | fHasToRepaint |
bool | fMouseOnSceneTree |
G4String | fName |
G4bool | fNeedKernelVisit |
G4OpenGLSceneHandler & | fOpenGLSceneHandler |
bool | fPaintEventLock |
G4double | fPan_sens |
G4bool | fPrintColour |
G4int | fPrintSizeX |
G4int | fPrintSizeY |
bool | fQGLWidgetInitialiseCompleted |
int | fRecordFrameNumber |
G4double | fRot_sens |
G4VSceneHandler & | fSceneHandler |
G4String | fShortName |
bool | fUpdateGLLock |
G4bool | fVectoredPs |
G4int | fViewId |
G4ViewParameters | fVP |
unsigned int | fWinSize_x |
unsigned int | fWinSize_y |
G4bool | haloing_enabled |
G4bool | transparency_enabled |
Private Types | |
typedef G4PhysicalVolumeModel::G4PhysicalVolumeNodeID | PVNodeID |
typedef std::vector< PVNodeID > | PVPath |
enum | RECORDING_STEP { WAIT , START , PAUSE , CONTINUE , STOP , READY_TO_ENCODE , ENCODING , FAILED , SUCCESS , BAD_ENCODER , BAD_OUTPUT , BAD_TMP , SAVE } |
Private Slots | |
void | actionChangeBackgroundColor () |
void | actionChangeDefaultColor () |
void | actionChangeTextColor () |
void | actionMovieParameters () |
void | actionSaveImage () |
void | changeColorAndTransparency (QTreeWidgetItem *item, int val) |
void | changeDepthInSceneTree (int) |
void | changeSearchSelection () |
void | currentTabActivated (int) |
void | processEncodeFinished () |
void | processEncodeStdout () |
void | processLookForFinished () |
void | sceneTreeComponentItemChanged (QTreeWidgetItem *item, int id) |
void | sceneTreeComponentSelected () |
void | showShortcuts () |
void | tableWidgetViewerSetItemChanged (QTableWidgetItem *) |
void | toggleAntialiasing (bool) |
void | toggleAux (bool) |
void | toggleFullScreen (bool) |
void | toggleHaloing (bool) |
void | toggleHiddenMarkers (bool) |
void | toggleMouseAction (int) |
void | togglePicking () |
void | toggleProjection (bool) |
void | toggleSceneTreeComponentPickingCout (int) |
void | toggleSurfaceAction (int) |
void | toggleTransparency (bool) |
Private Member Functions | |
void | changeColorAndTransparency (GLuint index, G4Color color) |
void | changeDepthOnSceneTreeItem (double lookForDepth, double currentDepth, QTreeWidgetItem *item) |
void | changeOpenCloseVisibleHiddenSelectedColorSceneTreeElement (QTreeWidgetItem *subItem) |
void | changeQColorForTreeWidgetItem (QTreeWidgetItem *item, const QColor &) |
void | clearSceneTreeSelection (QTreeWidgetItem *) |
void | clearTreeWidgetElements (QTreeWidgetItem *item) |
void | cloneSceneTree (QTreeWidgetItem *rootItem) |
QTreeWidgetItem * | cloneWidgetItem (QTreeWidgetItem *item) |
void | createPickInfosWidget () |
void | createPopupMenu () |
void | createRadioAction (QAction *, QAction *, const std::string &, unsigned int a=1) |
void | createSceneTreeComponent () |
void | createSceneTreeWidget () |
QString | createTempFolder () |
QTreeWidgetItem * | createTreeWidgetItem (const PVPath &fullPath, const QString &name, int copyNb, int POIndex, const QString &logicalName, Qt::CheckState state, QTreeWidgetItem *treeNode, const G4Colour &color) |
void | createViewerPropertiesWidget () |
G4OpenGLQtViewer (const G4OpenGLQtViewer &) | |
QString | GetCommandParameterList (const G4UIcommand *aCommand) |
QString | getModelShortName (const G4String &modelShortName) |
QTreeWidgetItem * | getOldTreeWidgetItem (int POindex) |
QWidget * | getParentWidget () |
QString | getProcessErrorMsg () |
G4int | getRealExportHeight () |
G4int | getRealExportWidth () |
QTreeWidgetItem * | getTreeWidgetItem (int POindex) |
GLubyte * | grabPixels (int inColor, unsigned int width, unsigned int height) |
void | initMovieParameters () |
bool | isPVVolume (QTreeWidgetItem *item) |
bool | isSameSceneTreeElement (QTreeWidgetItem *parentOldItem, QTreeWidgetItem *parentNewItem) |
G4OpenGLQtViewer & | operator= (const G4OpenGLQtViewer &) |
bool | parseAndCheckVisibility (QTreeWidgetItem *treeNode, int POindex) |
bool | parseAndInsertInSceneTree (QTreeWidgetItem *, G4PhysicalVolumeModel *pPVModel, unsigned int fullPathIndex, const QString &parentRoot, unsigned int currentIndex, int currentPVPOIndex) |
std::string | parseSceneTreeAndSaveState () |
std::string | parseSceneTreeElementAndSaveState (QTreeWidgetItem *item, unsigned int level) |
bool | printGl2PS () |
bool | printNonVectoredEPS () |
bool | printPDF (const std::string, int, QImage) |
bool | printVectoredEPS () |
QString | removeTempFolder () |
void | rescaleImage (int, int) |
void | rotateSceneInViewDirection (G4double dx, G4double dy) |
void | rotateSceneThetaPhi (G4double dx, G4double dy) |
void | setCheckComponent (QTreeWidgetItem *item, bool check) |
void | setRecordingInfos (const QString &) |
void | setRecordingStatus (RECORDING_STEP) |
void | showMovieParametersDialog () |
void | updatePositivePoIndexSceneTreeWidgetQuickMap (int POindex, QTreeWidgetItem *item) |
Definition at line 84 of file G4OpenGLQtViewer.hh.
Definition at line 88 of file G4OpenGLQtViewer.hh.
|
private |
Definition at line 89 of file G4OpenGLQtViewer.hh.
|
private |
Enumerator | |
---|---|
WAIT | |
START | |
PAUSE | |
CONTINUE | |
STOP | |
READY_TO_ENCODE | |
ENCODING | |
FAILED | |
SUCCESS | |
BAD_ENCODER | |
BAD_OUTPUT | |
BAD_TMP | |
SAVE |
Definition at line 203 of file G4OpenGLQtViewer.hh.
G4OpenGLQtViewer::G4OpenGLQtViewer | ( | G4OpenGLSceneHandler & | scene | ) |
Definition at line 216 of file G4OpenGLQtViewer.cc.
References G4OpenGLViewer::addExportImageFormat(), fBatchMode, fFileSavePath, fLastEventTime, fLastPos1, fLastPos2, fLastPos3, fSearchIcon, fSignalMapperMouse, fSignalMapperSurface, fTreeIconClosed, fTreeIconOpen, G4Qt::getInstance(), initMovieParameters(), lWaitForVisSubThreadQtOpenGLContextInitialized, lWaitForVisSubThreadQtOpenGLContextMoved, anonymous_namespace{G4OpenGLQtViewer.cc}::mWaitForVisSubThreadQtOpenGLContextInitialized, and anonymous_namespace{G4OpenGLQtViewer.cc}::mWaitForVisSubThreadQtOpenGLContextMoved.
|
virtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 510 of file G4OpenGLQtViewer.cc.
References fIsDeleting, fSceneTreeWidget, fTreeIconClosed, fTreeIconOpen, G4cout, G4endl, lWaitForVisSubThreadQtOpenGLContextInitialized, lWaitForVisSubThreadQtOpenGLContextMoved, and removeTempFolder().
|
private |
|
privateslot |
Definition at line 1164 of file G4OpenGLQtViewer.cc.
References fGLWidget, G4VViewer::fVP, G4ViewParameters::SetBackgroundColour(), updateQWidget(), and updateToolbarAndMouseContextMenu().
Referenced by createPopupMenu().
|
privateslot |
Definition at line 1219 of file G4OpenGLQtViewer.cc.
References fGLWidget, G4VViewer::fVP, G4ViewParameters::SetDefaultColour(), updateQWidget(), and updateToolbarAndMouseContextMenu().
Referenced by createPopupMenu().
|
privateslot |
Definition at line 1194 of file G4OpenGLQtViewer.cc.
References fGLWidget, G4VViewer::fVP, G4ViewParameters::SetDefaultTextColour(), updateQWidget(), and updateToolbarAndMouseContextMenu().
Referenced by createPopupMenu().
|
privateslot |
Definition at line 1245 of file G4OpenGLQtViewer.cc.
References showMovieParametersDialog().
Referenced by createPopupMenu().
|
privateslot |
Definition at line 1094 of file G4OpenGLQtViewer.cc.
References exportImage(), G4OpenGLViewer::fDefaultExportImageFormat, G4OpenGLViewer::fExportImageFormat, G4OpenGLViewer::fExportImageFormatVector, fFileSavePath, fGLWidget, fLastExportSliderValue, G4OpenGLViewer::fVectoredPs, G4OpenGLQtExportDialog::getHeight(), G4OpenGLQtExportDialog::getSliderValue(), G4OpenGLQtExportDialog::getVectorEPS(), G4OpenGLQtExportDialog::getWidth(), G4InuclParticleNames::name(), G4OpenGLViewer::setExportFilename(), and G4OpenGLViewer::setExportSize().
Referenced by createPopupMenu().
|
protectedinherited |
Definition at line 1288 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::fExportImageFormatVector.
Referenced by G4OpenGLQtViewer(), and G4OpenGLViewer::G4OpenGLViewer().
void G4OpenGLQtViewer::addNonPVSceneTreeElement | ( | const G4String & | model, |
int | currentPVPOIndex, | ||
const std::string & | modelDescription, | ||
const G4Visible & | visible | ||
) |
Definition at line 3344 of file G4OpenGLQtViewer.cc.
References createSceneTreeComponent(), createTreeWidgetItem(), G4VViewer::fSceneHandler, fSceneTreeComponentTreeWidget, G4VSceneHandler::GetColour(), G4VMarker::GetInfo(), getModelShortName(), and G4VSceneHandler::GetTextColour().
Referenced by G4OpenGLStoredQtSceneHandler::ExtraPOProcessing().
void G4OpenGLQtViewer::addPVSceneTreeElement | ( | const G4String & | model, |
G4PhysicalVolumeModel * | pPVModel, | ||
int | currentPVPOIndex | ||
) |
Definition at line 2876 of file G4OpenGLQtViewer.cc.
References createSceneTreeComponent(), createTreeWidgetItem(), fModelShortNameItem, fPVRootNodeCreate, G4VViewer::fSceneHandler, fSceneTreeComponentTreeWidget, G4VSceneHandler::GetColour(), G4PhysicalVolumeModel::GetFullPVPath(), getModelShortName(), and parseAndInsertInSceneTree().
Referenced by G4OpenGLStoredQtSceneHandler::ExtraPOProcessing().
|
private |
Definition at line 3643 of file G4OpenGLQtViewer.cc.
References fMouseOnSceneTree, fTreeItemModels, G4VViewer::SetTouchable(), and G4VViewer::TouchableSetColour().
Referenced by changeColorAndTransparency(), createSceneTreeComponent(), and updatePickInfosWidget().
|
privateslot |
Definition at line 3612 of file G4OpenGLQtViewer.cc.
References changeColorAndTransparency(), changeQColorForTreeWidgetItem(), and fSceneTreeComponentTreeWidget.
|
privateslot |
Definition at line 3575 of file G4OpenGLQtViewer.cc.
References changeDepthOnSceneTreeItem(), fCheckSceneTreeComponentSignalLock, fSceneTreeComponentTreeWidget, fSceneTreeDepth, G4VViewer::fVP, G4ViewParameters::IsAutoRefresh(), G4ViewParameters::SetAutoRefresh(), and updateQWidget().
Referenced by createSceneTreeComponent().
|
private |
Definition at line 3794 of file G4OpenGLQtViewer.cc.
References changeDepthOnSceneTreeItem(), changeQColorForTreeWidgetItem(), G4Colour::GetAlpha(), G4Colour::GetBlue(), getColorForPoIndex(), G4Colour::GetGreen(), G4Colour::GetRed(), isPVVolume(), and updatePositivePoIndexSceneTreeWidgetQuickMap().
Referenced by changeDepthInSceneTree(), and changeDepthOnSceneTreeItem().
|
protectedinherited |
Change LineSize on gl2ps if needed
Definition at line 810 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::fGL2PSAction, G4OpenGLViewer::isGl2psWriting(), and G4OpenGL2PSAction::setLineWidth().
Referenced by G4OpenGLSceneHandler::AddPrimitive(), G4OpenGLViewer::HaloingFirstPass(), and G4OpenGLViewer::HaloingSecondPass().
|
private |
Definition at line 3180 of file G4OpenGLQtViewer.cc.
References changeQColorForTreeWidgetItem(), fOldNullPoIndexSceneTreeWidgetQuickVector, fOldPositivePoIndexSceneTreeWidgetQuickMap, fOldVisAttrColorMap, getOldTreeWidgetItem(), and isSameSceneTreeElement().
Referenced by createTreeWidgetItem().
|
protectedinherited |
Change PointSize on gl2ps if needed
Definition at line 798 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::fGL2PSAction, G4OpenGLViewer::isGl2psWriting(), and G4OpenGL2PSAction::setPointSize().
Referenced by G4OpenGLSceneHandler::AddPrimitive().
|
private |
Definition at line 3985 of file G4OpenGLQtViewer.cc.
References updatePositivePoIndexSceneTreeWidgetQuickMap().
Referenced by changeColorAndTransparency(), changeDepthOnSceneTreeItem(), changeOpenCloseVisibleHiddenSelectedColorSceneTreeElement(), createTreeWidgetItem(), and parseAndInsertInSceneTree().
|
privateslot |
Definition at line 3740 of file G4OpenGLQtViewer.cc.
References clearSceneTreeSelection(), fFilterOutput, and fSceneTreeComponentTreeWidget.
Referenced by createSceneTreeComponent().
|
private |
Definition at line 3768 of file G4OpenGLQtViewer.cc.
References clearSceneTreeSelection().
Referenced by changeSearchSelection(), and clearSceneTreeSelection().
void G4OpenGLQtViewer::clearTreeWidget | ( | ) |
Definition at line 3855 of file G4OpenGLQtViewer.cc.
References cloneSceneTree(), cloneWidgetItem(), fMaxPOindexInserted, fModelShortNameItem, fOldLastSceneTreeWidgetAskForIterator, fOldLastSceneTreeWidgetAskForIteratorEnd, fOldNullPoIndexSceneTreeWidgetQuickVector, fOldPositivePoIndexSceneTreeWidgetQuickMap, fOldTreeItemModels, fPositivePoIndexSceneTreeWidgetQuickMap, fPVRootNodeCreate, fSceneTreeComponentTreeWidget, fSceneTreeDepth, and fTreeItemModels.
Referenced by G4OpenGLStoredQtSceneHandler::ClearStore(), and G4OpenGLStoredQtSceneHandler::SetScene().
|
private |
|
virtualinherited |
Implements G4VViewer.
Definition at line 203 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::ClearViewWithoutFlush(), and G4OpenGLViewer::isFramebufferReady().
Referenced by G4OpenGLXmViewer::antialias_callback(), G4OpenGLXmViewer::aux_edge_callback(), G4OpenGLXmViewer::background_color_callback(), G4OpenGLStoredQtViewer::ComputeView(), G4OpenGLXmViewer::dolly_callback(), G4OpenGLXmViewer::drawing_style_callback(), G4OpenGLStoredWin32Viewer::DrawView(), G4OpenGLStoredXmViewer::DrawView(), G4OpenGLStoredXViewer::DrawView(), G4OpenGLXmViewer::haloing_callback(), G4OpenGLImmediateWin32Viewer::Initialise(), G4OpenGLStoredWin32Viewer::Initialise(), G4OpenGLViewer::InitializeGLView(), G4OpenGLXmViewer::left_right_pan_callback(), G4OpenGLImmediateQtViewer::paintGL(), G4OpenGLStoredQtViewer::paintGL(), G4OpenGLXmViewer::projection_callback(), G4OpenGLXmViewer::reset_callback(), G4OpenGLXmViewer::rotate_in_phi(), G4OpenGLXmViewer::rotate_in_theta(), G4OpenGLXmViewer::transparency_callback(), G4OpenGLXmViewer::up_down_pan_callback(), G4OpenGLXmViewer::wobble_timer_callback(), and G4OpenGLXmViewer::zoom_callback().
|
inherited |
Definition at line 214 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::background, G4Colour::GetBlue(), G4Colour::GetGreen(), G4Colour::GetRed(), and G4OpenGLViewer::isFramebufferReady().
Referenced by G4OpenGLViewer::ClearView().
|
private |
Clone the current tree in order to get a snapshot of old version
Definition at line 3945 of file G4OpenGLQtViewer.cc.
References cloneSceneTree(), cloneWidgetItem(), fOldNullPoIndexSceneTreeWidgetQuickVector, and fOldPositivePoIndexSceneTreeWidgetQuickMap.
Referenced by clearTreeWidget(), and cloneSceneTree().
|
private |
Clone :
Definition at line 3919 of file G4OpenGLQtViewer.cc.
Referenced by clearTreeWidget(), and cloneSceneTree().
|
inherited |
Definition at line 215 of file G4VViewer.cc.
References G4VViewer::G4Spline::AddSplinePoint(), G4cout, G4endl, G4VViewer::G4Spline::GetInterpolatedSplinePoint(), HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
inlineprotectedvirtualinherited |
Reimplemented in G4OpenGLXViewer.
Definition at line 148 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLImmediateWin32Viewer::Initialise(), G4OpenGLImmediateXmViewer::Initialise(), G4OpenGLStoredWin32Viewer::Initialise(), and G4OpenGLStoredXmViewer::Initialise().
|
protected |
|
protectedvirtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 114 of file G4OpenGLQtViewer.cc.
References G4UIQt::AddTabWidget(), g4zmq::connect(), createPopupMenu(), createSceneTreeWidget(), currentTabActivated(), fBatchMode, fContextMenu, fGLWidget, fUiQt, G4VViewer::fVP, G4OpenGLViewer::fWinSize_x, G4OpenGLViewer::fWinSize_y, G4UImanager::GetG4UIWindow(), G4Qt::getInstance(), getParentWidget(), G4UImanager::GetUIpointer(), G4UIQt::GetViewerTabWidget(), G4ViewParameters::GetWindowAbsoluteLocationHintX(), G4ViewParameters::GetWindowAbsoluteLocationHintY(), G4ViewParameters::GetWindowSizeHintX(), G4ViewParameters::GetWindowSizeHintY(), G4OpenGLViewer::getWinHeight(), G4OpenGLViewer::getWinWidth(), G4Qt::IsExternalApp(), G4InuclParticleNames::name(), and G4OpenGLViewer::ResizeWindow().
Referenced by G4OpenGLImmediateQtViewer::Initialise(), and G4OpenGLStoredQtViewer::Initialise().
|
private |
Definition at line 2709 of file G4OpenGLQtViewer.cc.
References fLastPickPoint, fPickInfosScrollArea, fPickInfosWidget, fUIPickInfosWidget, fUiQt, G4UIQt::GetPickInfosWidget(), and updatePickInfosWidget().
Referenced by currentTabActivated(), and updatePickInfosWidget().
|
private |
Definition at line 544 of file G4OpenGLQtViewer.cc.
References actionChangeBackgroundColor(), actionChangeDefaultColor(), actionChangeTextColor(), actionMovieParameters(), actionSaveImage(), G4OpenGLViewer::antialiasing_enabled, g4zmq::connect(), createRadioAction(), fContextMenu, fDrawingLineRemoval, fDrawingLineSurfaceRemoval, fDrawingSurfaceRemoval, fDrawingWireframe, fFullScreenOff, fFullScreenOn, fMouseMoveAction, fMousePickAction, fMouseRotateAction, fMouseZoomInAction, fMouseZoomOutAction, fProjectionOrtho, fProjectionPerspective, fSignalMapperMouse, fSignalMapperSurface, G4VViewer::fVP, G4ViewParameters::GetFieldHalfAngle(), G4OpenGLViewer::haloing_enabled, G4ViewParameters::IsAuxEdgeVisible(), G4ViewParameters::IsMarkerNotHidden(), anonymous_namespace{G4QuasiElRatios.cc}::map, showShortcuts(), toggleAntialiasing(), toggleAux(), toggleFullScreen(), toggleHaloing(), toggleHiddenMarkers(), toggleMouseAction(), toggleProjection(), toggleSurfaceAction(), toggleTransparency(), G4OpenGLViewer::transparency_enabled, and updateToolbarAndMouseContextMenu().
Referenced by CreateMainWindow(), and G4manageContextMenuEvent().
|
private |
Create a radio button menu. The two menu will be connected. When click on one, eatch state will be invert and callback method will be called.
action1 | first action to connect |
action2 | second action to connect |
method | callback method |
nCheck | 1 : first action will be set true. 2 : second action will be set true |
Definition at line 781 of file G4OpenGLQtViewer.cc.
References g4zmq::connect().
Referenced by createPopupMenu().
|
private |
Definition at line 2566 of file G4OpenGLQtViewer.cc.
References changeColorAndTransparency(), changeDepthInSceneTree(), changeSearchSelection(), g4zmq::connect(), fFilterOutput, fMaxPOindexInserted, fPVRootNodeCreate, fSceneTreeComponentTreeWidget, fSceneTreeDepthSlider, fSceneTreeWidget, fTreeItemModels, fUiQt, G4VViewer::GetName(), G4UIQt::getSearchIcon(), sceneTreeComponentItemChanged(), sceneTreeComponentSelected(), and anonymous_namespace{G4CascadeDeexciteBase.cc}::zero.
Referenced by addNonPVSceneTreeElement(), addPVSceneTreeElement(), and createSceneTreeWidget().
|
private |
Definition at line 2516 of file G4OpenGLQtViewer.cc.
References createSceneTreeComponent(), fSceneTreeWidget, fUiQt, fUISceneTreeWidget, G4VViewer::GetName(), and G4UIQt::GetSceneTreeWidget().
Referenced by CreateMainWindow(), currentTabActivated(), and updateSceneTreeWidget().
|
private |
Create a Qt_temp folder in the temp folder given The temp folder will be like this /tmp/QtMovie_12-02-2008_12_12_58/
Definition at line 2122 of file G4OpenGLQtViewer.cc.
References fMovieTempFolderPath, fTempFolderPath, and setTempFolderPath().
Referenced by startPauseVideo().
|
private |
if treeNode is NULL, then add this treeNode to the TreeWidget
Definition at line 2924 of file G4OpenGLQtViewer.cc.
References changeOpenCloseVisibleHiddenSelectedColorSceneTreeElement(), changeQColorForTreeWidgetItem(), fSceneTreeComponentTreeWidget, fSceneTreeDepth, fSceneTreeDepthSlider, fTreeItemModels, G4Colour::GetAlpha(), G4Colour::GetBlue(), G4Colour::GetGreen(), G4Colour::GetRed(), gray, G4InuclParticleNames::name(), and updatePositivePoIndexSceneTreeWidgetQuickMap().
Referenced by addNonPVSceneTreeElement(), addPVSceneTreeElement(), and parseAndInsertInSceneTree().
|
private |
Definition at line 2664 of file G4OpenGLQtViewer.cc.
References g4zmq::connect(), fUiQt, fUIViewerPropertiesWidget, fViewerPropertiesTableWidget, G4VViewer::GetName(), G4UIQt::GetViewerPropertiesWidget(), tableWidgetViewerSetItemChanged(), and updateViewerPropertiesTableWidget().
Referenced by currentTabActivated(), and updateViewerPropertiesTableWidget().
|
privateslot |
Definition at line 4712 of file G4OpenGLQtViewer.cc.
References createPickInfosWidget(), createSceneTreeWidget(), createViewerPropertiesWidget(), fUiQt, G4VViewer::GetName(), and G4UIQt::GetViewerTabWidget().
Referenced by CreateMainWindow().
void G4OpenGLQtViewer::displayRecordingStatus | ( | ) |
Definition at line 1850 of file G4OpenGLQtViewer.cc.
References BAD_ENCODER, BAD_OUTPUT, BAD_TMP, CONTINUE, FAILED, fMovieParametersDialog, fRecordFrameNumber, fRecordingStep, G4cout, G4endl, PAUSE, READY_TO_ENCODE, setRecordingInfos(), G4OpenGLQtMovieDialog::setRecordingStatus(), START, STOP, SUCCESS, and WAIT.
Referenced by setBadEncoder(), setBadOutput(), setBadTmp(), setRecordingStatus(), setWaiting(), and showMovieParametersDialog().
|
protected |
Should replace actual tree by the one in this class and update tree
Definition at line 4085 of file G4OpenGLQtViewer.cc.
References fSceneTreeComponentTreeWidget, and fUISceneTreeWidget.
Referenced by G4OpenGLStoredQtViewer::ComputeView().
|
virtual |
Reimplemented from G4OpenGLViewer.
Definition at line 2795 of file G4OpenGLQtViewer.cc.
References G4Text::centre, G4OpenGLViewer::DrawText(), fGLWidget, G4VViewer::fSceneHandler, G4Threading::G4GetThreadId(), G4Colour::GetAlpha(), G4Colour::GetBlue(), G4Colour::GetGreen(), G4Text::GetLayout(), G4VSceneHandler::GetMarkerSize(), G4VMarker::GetPosition(), G4Colour::GetRed(), G4Text::GetText(), G4VSceneHandler::GetTextColour(), G4OpenGLViewer::getWinHeight(), G4OpenGLViewer::getWinWidth(), G4Text::GetXOffset(), G4Text::GetYOffset(), G4OpenGLViewer::isGl2psWriting(), G4Text::left, G4Threading::MASTER_ID, and G4Text::right.
|
pure virtualinherited |
Implemented in G4DAWNFILEViewer, G4GMocrenFileViewer, G4HepRepFileViewer, G4OpenGLImmediateQtViewer, G4OpenGLImmediateWin32Viewer, G4OpenGLImmediateXmViewer, G4OpenGLImmediateXViewer, G4OpenGLStoredQtViewer, G4OpenGLStoredWin32Viewer, G4OpenGLStoredXmViewer, G4OpenGLStoredXViewer, G4OpenInventorViewer, G4Qt3DViewer, G4RayTracerViewer, G4ToolsSGViewer< SG_SESSION, SG_VIEWER >, G4ToolsSGViewer< tools::Qt::session, tools::Qt::sg_viewer >, G4VTreeViewer, G4VRML2FileViewer, and G4VtkViewer.
Referenced by G4OpenGLXmViewer::antialias_callback(), G4OpenGLXmViewer::aux_edge_callback(), G4OpenGLXmViewer::background_color_callback(), G4HepRepFileSceneHandler::ClearTransientStore(), G4OpenGLXmViewer::dolly_callback(), G4OpenGLXmViewer::drawing_style_callback(), G4OpenGLViewer::GetPickDetails(), G4OpenGLXmViewer::haloing_callback(), G4OpenGLXmViewer::left_right_pan_callback(), G4OpenGLViewer::printGl2PS(), G4OpenGLXmViewer::projection_callback(), G4OpenGLXmViewer::reset_callback(), G4OpenGLXmViewer::rotate_in_phi(), G4OpenGLXmViewer::rotate_in_theta(), G4VisCommandViewerRebuild::SetNewValue(), G4OpenGLXmViewer::transparency_callback(), G4OpenGLXmViewer::up_down_pan_callback(), G4OpenGLXmViewer::wobble_timer_callback(), and G4OpenGLXmViewer::zoom_callback().
void G4OpenGLQtViewer::encodeVideo | ( | ) |
Definition at line 2377 of file G4OpenGLQtViewer.cc.
References g4zmq::connect(), fEncoderPath, fMovieTempFolderPath, fParameterFileName, fProcess, getEncoderPath(), getSaveFileName(), processEncodeFinished(), processEncodeStdout(), and setRecordingStatus().
Referenced by saveVideo().
|
virtual |
Export image. Try to get the format according to the file extention. If not present, the last one choosen by /vis/ogl/set/exportFormat If not, will take the default format : eps Best format actually available is pdf (vectored and allow transparency) If name is not set, it will take the default name value given by /vis/ogl/set/printFilename
Reimplemented from G4OpenGLViewer.
Definition at line 2187 of file G4OpenGLQtViewer.cc.
References G4OpenGLViewer::exportImage(), G4OpenGLViewer::fExportFilenameIndex, fGLWidget, fLastExportSliderValue, G4cerr, G4cout, G4endl, G4OpenGLViewer::getRealPrintFilename(), G4InuclParticleNames::name(), G4OpenGLViewer::setExportFilename(), and G4OpenGLViewer::setExportSize().
Referenced by actionSaveImage().
|
protectedvirtual |
Reimplemented from G4VViewer.
Definition at line 1266 of file G4OpenGLQtViewer.cc.
Referenced by G4OpenGLImmediateQtViewer::ComputeView(), and G4OpenGLStoredQtViewer::ComputeView().
|
protectedinherited |
Definition at line 1467 of file G4OpenGLViewer.cc.
Referenced by G4OpenGLViewer::SetView().
|
protectedinherited |
Definition at line 1445 of file G4OpenGLViewer.cc.
Referenced by G4OpenGLStoredSceneHandler::AddPrimitivePreambleInternal(), G4OpenGLImmediateSceneHandler::BeginPrimitives2D(), G4OpenGLStoredViewer::DrawDisplayLists(), and G4OpenGLViewer::SetView().
|
protectedinherited |
Definition at line 1365 of file G4OpenGLViewer.cc.
References M.
Referenced by G4OpenGLViewer::SetView().
|
protectedinherited |
Definition at line 1323 of file G4OpenGLViewer.cc.
References M.
Referenced by G4OpenGLViewer::GetPickDetails().
void G4OpenGLQtViewer::G4keyPressEvent | ( | QKeyEvent * | event | ) |
Definition at line 1613 of file G4OpenGLQtViewer.cc.
References fAltKeyPress, fControlKeyPress, fDeltaZoom, fGLWidget, fHoldKeyEvent, fNoKeyPress, G4OpenGLViewer::fRot_sens, fShiftKeyPress, G4VViewer::fVP, G4cout, G4endl, G4ViewParameters::GetZoomFactor(), moveScene(), ResetView(), rotateQtScene(), rotateQtSceneToggle(), G4ViewParameters::SetZoomFactor(), startPauseVideo(), stopVideo(), toggleFullScreen(), updateKeyModifierState(), and updateQWidget().
Referenced by G4OpenGLImmediateQtViewer::keyPressEvent(), and G4OpenGLStoredQtViewer::keyPressEvent().
void G4OpenGLQtViewer::G4keyReleaseEvent | ( | QKeyEvent * | event | ) |
Definition at line 1733 of file G4OpenGLQtViewer.cc.
References fGLWidget.
Referenced by G4OpenGLImmediateQtViewer::keyReleaseEvent(), and G4OpenGLStoredQtViewer::keyReleaseEvent().
|
protected |
Definition at line 754 of file G4OpenGLQtViewer.cc.
References createPopupMenu(), fContextMenu, fGLWidget, G4cerr, and G4endl.
Referenced by G4OpenGLImmediateQtViewer::contextMenuEvent(), and G4OpenGLStoredQtViewer::contextMenuEvent().
void G4OpenGLQtViewer::G4MouseDoubleClickEvent | ( | ) |
Definition at line 1435 of file G4OpenGLQtViewer.cc.
References fGLWidget.
Referenced by G4OpenGLImmediateQtViewer::mouseDoubleClickEvent(), and G4OpenGLStoredQtViewer::mouseDoubleClickEvent().
void G4OpenGLQtViewer::G4MouseMoveEvent | ( | QMouseEvent * | evnt | ) |
pos_x | mouse x position |
pos_y | mouse y position |
mButtons | mouse button active |
mAutoMove | true: apply this move till another evnt came, false :one time move |
Definition at line 1448 of file G4OpenGLQtViewer.cc.
References fAltKeyPress, fAutoMove, fControlKeyPress, fLastEventTime, fLastPos1, fLastPos2, fLastPos3, fNoKeyPress, fShiftKeyPress, fUiQt, G4VViewer::fVP, G4OpenGLViewer::getWinHeight(), G4OpenGLViewer::getWinWidth(), G4ViewParameters::GetZoomFactor(), G4UIQt::IsIconMoveSelected(), moveScene(), rotateQtScene(), rotateQtSceneToggle(), G4ViewParameters::SetZoomFactor(), and updateKeyModifierState().
Referenced by G4OpenGLImmediateQtViewer::mouseMoveEvent(), and G4OpenGLStoredQtViewer::mouseMoveEvent().
void G4OpenGLQtViewer::G4MousePressEvent | ( | QMouseEvent * | evnt | ) |
Save the current mouse press point
p | mouse click point |
Definition at line 1282 of file G4OpenGLQtViewer.cc.
References fAutoMove, fGLWidget, fLastEventTime, fLastPos1, fLastPos2, fLastPos3, fShiftKeyPress, fUiQt, G4VViewer::fVP, G4OpenGLViewer::getSceneNearWidth(), G4OpenGLViewer::getWinHeight(), G4OpenGLViewer::getWinWidth(), G4ViewParameters::GetZoomFactor(), G4ViewParameters::IncrementPan(), G4UIQt::IsIconMoveSelected(), G4UIQt::IsIconPickSelected(), G4UIQt::IsIconRotateSelected(), G4UIQt::IsIconZoomInSelected(), G4UIQt::IsIconZoomOutSelected(), moveScene(), G4ViewParameters::SetZoomFactor(), and updateQWidget().
Referenced by G4OpenGLImmediateQtViewer::mousePressEvent(), and G4OpenGLStoredQtViewer::mousePressEvent().
void G4OpenGLQtViewer::G4MouseReleaseEvent | ( | QMouseEvent * | evnt | ) |
Definition at line 1338 of file G4OpenGLQtViewer.cc.
References fAltKeyPress, fAutoMove, fGLWidget, fIsDeleting, fLastEventTime, fLastPos1, fLastPos3, fLaunchSpinDelay, fNbMaxAnglePerSec, fNbMaxFramesPerSec, fNoKeyPress, fSpinningDelay, fUiQt, G4VViewer::fVP, G4Qt::getInstance(), G4UIQt::IsIconMoveSelected(), G4UIQt::IsIconRotateSelected(), G4ViewParameters::IsPicking(), moveScene(), rotateQtScene(), rotateQtSceneToggle(), and updatePickInfosWidget().
Referenced by G4OpenGLImmediateQtViewer::mouseReleaseEvent(), and G4OpenGLStoredQtViewer::mouseReleaseEvent().
void G4OpenGLQtViewer::G4wheelEvent | ( | QWheelEvent * | event | ) |
Definition at line 1600 of file G4OpenGLQtViewer.cc.
References G4VViewer::fVP, G4ViewParameters::GetZoomFactor(), G4ViewParameters::SetZoomFactor(), and updateQWidget().
Referenced by G4OpenGLImmediateQtViewer::wheelEvent(), and G4OpenGLStoredQtViewer::wheelEvent().
bool G4OpenGLQtViewer::generateMpegEncoderParameters | ( | ) |
Definition at line 2227 of file G4OpenGLQtViewer.cc.
References fMovieTempFolderPath, fParameterFileName, fRecordFrameNumber, getSaveFileName(), READY_TO_ENCODE, setRecordingInfos(), and setRecordingStatus().
Referenced by saveVideo().
|
inherited |
Referenced by G4HepRepFileSceneHandler::AddHepRepInstance(), G4VtkSceneHandler::AddPrimitive(), G4ToolsSGSceneHandler::AddPrimitive(), G4Qt3DSceneHandler::AddPrimitive(), G4OpenGLImmediateSceneHandler::AddPrimitivePreambleInternal(), G4OpenGLStoredSceneHandler::AddPrimitivePreambleInternal(), G4VtkSceneHandler::AddPrimitiveTensorGlyph(), G4OpenInventorSceneHandler::AddProperties(), G4HepRepFileSceneHandler::AddSolid(), G4VSceneHandler::AddSolidT(), G4VSceneHandler::AddSolidWithAuxiliaryEdges(), G4OpenInventorSceneHandler::GeneratePrerequisites(), G4VSceneHandler::GetColour(), and G4GMocrenFileSceneHandler::IsVisible().
|
protected |
Definition at line 3659 of file G4OpenGLQtViewer.cc.
References getTreeWidgetItem().
Referenced by changeDepthOnSceneTreeItem(), G4OpenGLStoredQtViewer::DisplayTimePOColourModification(), and updatePickInfosWidget().
|
private |
Build the parameter list parameters in a QString
Reimplement partialy the G4UIparameter.cc
aCommand | : command to list parameters |
Definition at line 4755 of file G4OpenGLQtViewer.cc.
References G4UIparameter::GetCurrentAsDefault(), G4UIparameter::GetDefaultValue(), G4UIcommand::GetParameter(), G4UIparameter::GetParameterCandidates(), G4UIcommand::GetParameterEntries(), G4UIparameter::GetParameterGuidance(), G4UIparameter::GetParameterName(), G4UIparameter::GetParameterRange(), G4UIparameter::GetParameterType(), and G4UIparameter::IsOmittable().
Referenced by updateViewerPropertiesTableWidget().
|
inherited |
Referenced by G4VisCommandsViewerSet::SetNewValue().
QString G4OpenGLQtViewer::getEncoderPath | ( | ) |
Definition at line 1918 of file G4OpenGLQtViewer.cc.
References fEncoderPath.
Referenced by G4OpenGLQtMovieDialog::checkEncoderSwParameters(), encodeVideo(), G4OpenGLQtMovieDialog::G4OpenGLQtMovieDialog(), and showMovieParametersDialog().
|
private |
Get the short name for a given label
Definition at line 3435 of file G4OpenGLQtViewer.cc.
References fTouchableVolumes.
Referenced by addNonPVSceneTreeElement(), and addPVSceneTreeElement().
|
inherited |
Referenced by createSceneTreeComponent(), createSceneTreeWidget(), createViewerPropertiesWidget(), currentTabActivated(), G4OpenGLImmediateQtViewer::Initialise(), G4OpenGLStoredQtViewer::Initialise(), G4ToolsSGQtViewer::Initialise(), G4VtkQtViewer::Initialise(), G4VVisCommand::InterpolateViews(), isCurrentWidget(), G4OpenGLViewerMessenger::SetNewValue(), G4VisCommandDrawTree::SetNewValue(), G4VisCommandsTouchable::SetNewValue(), G4VisCommandViewerAddCutawayPlane::SetNewValue(), G4VisCommandViewerCentreOn::SetNewValue(), G4VisCommandViewerChangeCutawayPlane::SetNewValue(), G4VisCommandViewerClearCutawayPlanes::SetNewValue(), G4VisCommandViewerClearVisAttributesModifiers::SetNewValue(), G4VisCommandViewerClone::SetNewValue(), G4VisCommandViewerColourByDensity::SetNewValue(), G4VisCommandViewerCopyViewFrom::SetNewValue(), G4VisCommandViewerRebuild::SetNewValue(), G4VisCommandsViewerSet::SetNewValue(), G4VtkMessenger::SetNewValue(), and updatePickInfosWidget().
|
private |
Definition at line 4043 of file G4OpenGLQtViewer.cc.
References fOldLastSceneTreeWidgetAskForIterator, fOldLastSceneTreeWidgetAskForIteratorEnd, and fOldPositivePoIndexSceneTreeWidgetQuickMap.
Referenced by changeOpenCloseVisibleHiddenSelectedColorSceneTreeElement().
|
private |
Definition at line 2480 of file G4OpenGLQtViewer.cc.
References G4Qt::getInstance(), and G4VInteractorManager::GetMainInteractor().
Referenced by CreateMainWindow().
|
protectedinherited |
Definition at line 488 of file G4OpenGLViewer.cc.
References G4OpenGLViewerPickMap::addAttributes(), BUFSIZE, G4VViewer::DrawView(), G4OpenGLViewer::fIsGettingPickInfos, G4OpenGLViewer::fOpenGLSceneHandler, G4OpenGLSceneHandler::fPickMap, G4cout, G4endl, G4OpenGLViewer::g4GluPickMatrix(), G4AttHolder::GetAttDefs(), G4AttHolder::GetAttValues(), G4InuclParticleNames::name(), G4OpenGLViewerPickMap::setHitNumber(), G4OpenGLViewerPickMap::setPickName(), and G4OpenGLViewerPickMap::setSubHitNumber().
Referenced by G4OpenGLViewer::Pick(), and updatePickInfosWidget().
|
protectedvirtual |
Reimplemented from G4VViewer.
Definition at line 3678 of file G4OpenGLQtViewer.cc.
|
private |
Definition at line 2449 of file G4OpenGLQtViewer.cc.
References fProcess.
Referenced by processEncodeFinished(), and processLookForFinished().
|
privateinherited |
Definition at line 1004 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::fPrintSizeY, and G4OpenGLViewer::fWinSize_y.
Referenced by G4OpenGLViewer::exportImage(), G4OpenGLViewer::printGl2PS(), and G4OpenGLViewer::printNonVectoredEPS().
|
privateinherited |
Definition at line 985 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::fPrintSizeX, and G4OpenGLViewer::fWinSize_x.
Referenced by G4OpenGLViewer::exportImage(), G4OpenGLViewer::printGl2PS(), and G4OpenGLViewer::printNonVectoredEPS().
|
protectedinherited |
Definition at line 1066 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::fExportFilename, G4OpenGLViewer::fExportFilenameIndex, and G4OpenGLViewer::fExportImageFormat.
Referenced by exportImage(), G4OpenGLViewer::exportImage(), G4OpenGLXmViewer::misc_callback(), G4OpenGLViewer::printGl2PS(), G4OpenGLViewer::printNonVectoredEPS(), and G4OpenGLViewer::setExportFilename().
QString G4OpenGLQtViewer::getSaveFileName | ( | ) |
Definition at line 2114 of file G4OpenGLQtViewer.cc.
References fSaveFileName.
Referenced by G4OpenGLQtMovieDialog::checkSaveFileNameParameters(), encodeVideo(), and generateMpegEncoderParameters().
|
protectedinherited |
Definition at line 1111 of file G4OpenGLViewer.cc.
References G4VViewer::fSceneHandler, G4VViewer::fVP, G4ViewParameters::GetCameraDistance(), G4ViewParameters::GetCurrentTargetPoint(), G4Scene::GetExtent(), G4VisExtent::GetExtentRadius(), G4ViewParameters::GetFarDistance(), G4ViewParameters::GetNearDistance(), G4VSceneHandler::GetScene(), and G4Scene::GetStandardTargetPoint().
Referenced by moveScene().
|
protectedinherited |
Definition at line 1094 of file G4OpenGLViewer.cc.
References G4VViewer::fSceneHandler, G4VViewer::fVP, G4ViewParameters::GetCameraDistance(), G4ViewParameters::GetCurrentTargetPoint(), G4Scene::GetExtent(), G4VisExtent::GetExtentRadius(), G4ViewParameters::GetFarDistance(), G4ViewParameters::GetFrontHalfHeight(), G4ViewParameters::GetNearDistance(), G4VSceneHandler::GetScene(), and G4Scene::GetStandardTargetPoint().
|
inherited |
Referenced by G4OpenGLXmViewer::actions_callback(), G4OpenGLXmViewer::left_right_pan_callback(), G4OpenGLXmViewer::misc_callback(), G4VVisCommand::RefreshIfRequired(), G4OpenGLXmViewer::ResetView(), G4OpenGLViewerMessenger::SetNewValue(), G4VisCommandViewerCentreOn::SetNewValue(), G4VisCommandViewerClearTransients::SetNewValue(), G4VisCommandViewerRefresh::SetNewValue(), G4VisCommandViewerRebuild::SetNewValue(), G4VisCommandViewerSave::SetNewValue(), G4VisCommandViewerUpdate::SetNewValue(), G4VisCommandsViewerSet::SetNewValue(), G4OpenGLWin32Viewer::SetShift(), and G4OpenGLXmViewer::up_down_pan_callback().
|
protectedinherited |
Definition at line 1079 of file G4OpenGLViewer.cc.
References G4VViewer::fSceneHandler, G4VViewer::fVP, G4ViewParameters::GetCameraDistance(), G4ViewParameters::GetCurrentTargetPoint(), G4Scene::GetExtent(), G4VisExtent::GetExtentRadius(), G4ViewParameters::GetFrontHalfHeight(), G4ViewParameters::GetNearDistance(), G4VSceneHandler::GetScene(), and G4Scene::GetStandardTargetPoint().
Referenced by G4MousePressEvent(), and moveScene().
|
inherited |
Referenced by G4OpenGLViewer::G4OpenGLViewer().
QString G4OpenGLQtViewer::getTempFolderPath | ( | ) |
Definition at line 2080 of file G4OpenGLQtViewer.cc.
References fTempFolderPath.
Referenced by G4OpenGLQtMovieDialog::checkTempFolderParameters(), G4OpenGLQtMovieDialog::G4OpenGLQtMovieDialog(), and startPauseVideo().
|
private |
Definition at line 4010 of file G4OpenGLQtViewer.cc.
References fLastSceneTreeWidgetAskForIterator, fLastSceneTreeWidgetAskForIteratorEnd, and fPositivePoIndexSceneTreeWidgetQuickMap.
Referenced by getColorForPoIndex(), and isTouchableVisible().
|
inherited |
Referenced by G4RayTracer::CreateViewer(), G4RayTracerX::CreateViewer(), G4HepRepFile::CreateViewer(), G4Qt3D::CreateViewer(), G4ToolsSGQtGLES::CreateViewer(), G4ToolsSGWindowsGLES::CreateViewer(), G4ToolsSGX11GLES::CreateViewer(), G4ToolsSGXtGLES::CreateViewer(), G4Vtk::CreateViewer(), and G4VtkQt::CreateViewer().
|
inherited |
Referenced by G4OpenGLXmViewer::actions_callback(), G4OpenInventorSceneHandler::AddCircleSquare(), G4Qt3DSceneHandler::AddPrimitive(), G4ToolsSGSceneHandler::AddPrimitive(), G4OpenInventorSceneHandler::AddPrimitive(), G4OpenGLSceneHandler::AddPrimitive(), G4OpenGLImmediateSceneHandler::AddPrimitivePreambleInternal(), G4OpenGLStoredSceneHandler::AddPrimitivePreambleInternal(), G4OpenInventorSceneHandler::AddTransform(), G4OpenGLXmViewer::background_color_callback(), G4OpenGLImmediateQtViewer::ComputeView(), G4OpenGLStoredQtViewer::ComputeView(), G4VSceneHandler::CreateSectionSolid(), G4VisManager::CreateViewer(), G4OpenGLImmediateWin32Viewer::DrawView(), G4OpenGLImmediateXmViewer::DrawView(), G4OpenGLImmediateXViewer::DrawView(), G4OpenGLStoredWin32Viewer::DrawView(), G4OpenGLStoredXmViewer::DrawView(), G4OpenGLStoredXViewer::DrawView(), G4OpenGLStoredSceneHandler::EndModeling(), G4VisManager::EndOfRun(), G4VSceneHandler::GetAuxEdgeVisible(), G4VSceneHandler::GetColour(), G4VSceneHandler::GetDrawingStyle(), G4VSceneHandler::GetNoOfSides(), G4VSceneHandler::GetNumberOfCloudPoints(), G4VSceneHandler::GetTextColour(), G4VVisCommand::RefreshIfRequired(), G4VSceneHandler::RequestPrimitives(), G4VisCommandDrawView::SetNewValue(), G4VisCommandDrawLogicalVolume::SetNewValue(), G4VisCommandGeometrySetDaughtersInvisible::SetNewValue(), G4VisCommandGeometrySetVisibility::SetNewValue(), G4VisCommandSceneNotifyHandlers::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4VisCommandSceneHandlerCreate::SetNewValue(), G4VisCommandsTouchable::SetNewValue(), G4VisCommandsTouchableSet::SetNewValue(), G4VisCommandViewerAddCutawayPlane::SetNewValue(), G4VisCommandViewerCentreOn::SetNewValue(), G4VisCommandViewerChangeCutawayPlane::SetNewValue(), G4VisCommandViewerClearCutawayPlanes::SetNewValue(), G4VisCommandViewerClearVisAttributesModifiers::SetNewValue(), G4VisCommandViewerClone::SetNewValue(), G4VisCommandViewerColourByDensity::SetNewValue(), G4VisCommandViewerCopyViewFrom::SetNewValue(), G4VisCommandViewerCreate::SetNewValue(), G4VisCommandViewerDolly::SetNewValue(), G4VisCommandViewerInterpolate::SetNewValue(), G4VisCommandViewerPan::SetNewValue(), G4VisCommandViewerSave::SetNewValue(), G4VisCommandViewerScale::SetNewValue(), G4VisCommandViewerZoom::SetNewValue(), G4VisCommandsViewerSet::SetNewValue(), G4VisCommandGeometrySetVisibility::SetNewValueOnLV(), G4OpenInventorViewer::SetReducedWireFrame(), G4OpenInventorViewer::SetSolid(), and G4OpenInventorViewer::SetWireFrame().
|
protectedinherited |
Definition at line 977 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::fWinSize_y.
Referenced by G4OpenGLWin32Viewer::CreateMainWindow(), G4OpenGLXmViewer::CreateMainWindow(), G4OpenGLXViewer::CreateMainWindow(), CreateMainWindow(), DrawText(), G4OpenGLImmediateWin32Viewer::DrawView(), G4OpenGLStoredWin32Viewer::DrawView(), G4MouseMoveEvent(), G4MousePressEvent(), moveScene(), G4OpenGLImmediateQtViewer::paintGL(), and G4OpenGLStoredQtViewer::paintGL().
|
protectedinherited |
Definition at line 973 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::fWinSize_x.
Referenced by G4OpenGLWin32Viewer::CreateMainWindow(), G4OpenGLXmViewer::CreateMainWindow(), G4OpenGLXViewer::CreateMainWindow(), CreateMainWindow(), DrawText(), G4OpenGLImmediateWin32Viewer::DrawView(), G4OpenGLStoredWin32Viewer::DrawView(), G4MouseMoveEvent(), G4MousePressEvent(), moveScene(), G4OpenGLImmediateQtViewer::paintGL(), and G4OpenGLStoredQtViewer::paintGL().
|
privateinherited |
Definition at line 578 of file G4OpenGLViewer.cc.
References buffer.
Referenced by G4OpenGLViewer::printNonVectoredEPS().
|
protectedinherited |
Definition at line 441 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::ChangeLineWidth().
Referenced by G4OpenGLImmediateQtViewer::ComputeView(), G4OpenGLStoredQtViewer::ComputeView(), G4OpenGLImmediateWin32Viewer::DrawView(), G4OpenGLImmediateXmViewer::DrawView(), G4OpenGLImmediateXViewer::DrawView(), G4OpenGLStoredWin32Viewer::DrawView(), G4OpenGLStoredXmViewer::DrawView(), and G4OpenGLStoredXViewer::DrawView().
|
protectedinherited |
Definition at line 463 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::ChangeLineWidth().
Referenced by G4OpenGLImmediateQtViewer::ComputeView(), G4OpenGLStoredQtViewer::ComputeView(), G4OpenGLImmediateWin32Viewer::DrawView(), G4OpenGLImmediateXmViewer::DrawView(), G4OpenGLImmediateXViewer::DrawView(), G4OpenGLStoredWin32Viewer::DrawView(), G4OpenGLStoredXmViewer::DrawView(), and G4OpenGLStoredXViewer::DrawView().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
virtualinherited |
Reimplemented in G4OpenGLImmediateQtViewer, G4OpenGLImmediateWin32Viewer, G4OpenGLImmediateXmViewer, G4OpenGLImmediateXViewer, G4OpenGLStoredQtViewer, G4OpenGLStoredWin32Viewer, G4OpenGLStoredXmViewer, G4OpenGLStoredXViewer, G4OpenInventorQtViewer, G4OpenInventorWinViewer, G4OpenInventorXtExtendedViewer, G4OpenInventorXtViewer, G4Qt3DViewer, G4RayTracerViewer, G4RayTracerXViewer, G4ToolsSGQtViewer, G4ToolsSGViewer< SG_SESSION, SG_VIEWER >, G4ToolsSGViewer< tools::Qt::session, tools::Qt::sg_viewer >, G4VtkQtViewer, and G4VtkViewer.
|
protectedinherited |
Definition at line 127 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::ClearView(), G4OpenGLViewer::fGlViewInitialized, G4VViewer::FinishView(), G4VViewer::fVP, G4OpenGLViewer::fWinSize_x, G4OpenGLViewer::fWinSize_y, G4ViewParameters::GetWindowSizeHintX(), and G4ViewParameters::GetWindowSizeHintY().
Referenced by G4OpenGLImmediateXmViewer::Initialise(), G4OpenGLImmediateXViewer::Initialise(), G4OpenGLStoredXmViewer::Initialise(), G4OpenGLStoredXViewer::Initialise(), G4OpenGLImmediateQtViewer::initializeGL(), and G4OpenGLStoredQtViewer::initializeGL().
|
private |
Init the movie parameters. Temp dir and encoder path
Definition at line 1898 of file G4OpenGLQtViewer.cc.
References g4zmq::connect(), fProcess, and processLookForFinished().
Referenced by G4OpenGLQtViewer().
bool G4OpenGLQtViewer::isBadEncoder | ( | ) |
Definition at line 2001 of file G4OpenGLQtViewer.cc.
References BAD_ENCODER, and fRecordingStep.
Referenced by G4OpenGLQtMovieDialog::setRecordingStatus().
bool G4OpenGLQtViewer::isBadOutput | ( | ) |
Definition at line 2013 of file G4OpenGLQtViewer.cc.
References BAD_OUTPUT, and fRecordingStep.
Referenced by G4OpenGLQtMovieDialog::setRecordingStatus().
bool G4OpenGLQtViewer::isBadTmp | ( | ) |
Definition at line 2007 of file G4OpenGLQtViewer.cc.
References BAD_TMP, and fRecordingStep.
Referenced by G4OpenGLQtMovieDialog::setRecordingStatus().
|
protected |
Definition at line 4736 of file G4OpenGLQtViewer.cc.
References fUiQt, G4Qt::getInstance(), G4VViewer::GetName(), G4UIQt::GetViewerTabWidget(), and G4Qt::IsExternalApp().
Referenced by updatePickInfosWidget(), G4OpenGLImmediateQtViewer::updateQWidget(), G4OpenGLStoredQtViewer::updateQWidget(), and updateViewerPropertiesTableWidget().
bool G4OpenGLQtViewer::isEncoding | ( | ) |
Definition at line 1966 of file G4OpenGLQtViewer.cc.
References fRecordingStep.
bool G4OpenGLQtViewer::isFailed | ( | ) |
Definition at line 1987 of file G4OpenGLQtViewer.cc.
References FAILED, and fRecordingStep.
Referenced by G4OpenGLQtMovieDialog::setRecordingStatus().
|
protectedinherited |
Definition at line 730 of file G4OpenGLViewer.cc.
Referenced by G4OpenGLViewer::ClearView(), G4OpenGLViewer::ClearViewWithoutFlush(), G4OpenGLImmediateQtViewer::paintEvent(), and G4OpenGLStoredQtViewer::paintEvent().
|
protectedinherited |
Return if gl2ps is currently writing
Definition at line 720 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::fGL2PSAction, and G4OpenGL2PSAction::fileWritingEnabled().
Referenced by G4OpenGLViewer::ChangeLineWidth(), G4OpenGLViewer::ChangePointSize(), DrawText(), G4OpenGLViewer::DrawText(), and G4OpenGLXViewer::DrawText().
bool G4OpenGLQtViewer::isPaused | ( | ) |
Definition at line 1959 of file G4OpenGLQtViewer.cc.
References fRecordingStep, and PAUSE.
Referenced by G4OpenGLQtMovieDialog::save(), and G4OpenGLQtMovieDialog::setRecordingStatus().
|
private |
Definition at line 3778 of file G4OpenGLQtViewer.cc.
References fTouchableVolumes.
Referenced by changeDepthOnSceneTreeItem().
bool G4OpenGLQtViewer::isReadyToEncode | ( | ) |
Definition at line 2039 of file G4OpenGLQtViewer.cc.
References fRecordingStep, and READY_TO_ENCODE.
Referenced by G4OpenGLQtMovieDialog::checkEncoderSwParameters().
bool G4OpenGLQtViewer::isRecording | ( | ) |
Definition at line 1952 of file G4OpenGLQtViewer.cc.
References CONTINUE, fRecordingStep, and START.
Referenced by G4OpenGLImmediateQtViewer::ComputeView(), G4OpenGLStoredQtViewer::ComputeView(), G4OpenGLQtMovieDialog::save(), and G4OpenGLQtMovieDialog::setRecordingStatus().
|
private |
Definition at line 3278 of file G4OpenGLQtViewer.cc.
References fOldTreeItemModels, and fTreeItemModels.
Referenced by changeOpenCloseVisibleHiddenSelectedColorSceneTreeElement().
bool G4OpenGLQtViewer::isStopped | ( | ) |
Definition at line 1980 of file G4OpenGLQtViewer.cc.
References fRecordingStep, and STOP.
Referenced by G4OpenGLQtMovieDialog::save(), and G4OpenGLQtMovieDialog::setRecordingStatus().
bool G4OpenGLQtViewer::isSuccess | ( | ) |
Definition at line 1994 of file G4OpenGLQtViewer.cc.
References fRecordingStep, and SUCCESS.
Referenced by G4OpenGLQtMovieDialog::setRecordingStatus().
bool G4OpenGLQtViewer::isTouchableVisible | ( | int | POindex | ) |
Definition at line 3453 of file G4OpenGLQtViewer.cc.
References fLastSceneTreeWidgetAskForIterator, fLastSceneTreeWidgetAskForIteratorEnd, fSceneTreeComponentTreeWidget, and getTreeWidgetItem().
Referenced by G4OpenGLStoredQtViewer::POSelected().
bool G4OpenGLQtViewer::isWaiting | ( | ) |
Definition at line 1973 of file G4OpenGLQtViewer.cc.
References fRecordingStep, and WAIT.
Referenced by G4OpenGLQtMovieDialog::setRecordingStatus().
|
protected |
Move the scene of dx, dy, dz values.
dx | delta mouse x position |
dy | delta mouse y position |
mouseMove | : true if event comes from a mouse move, false if event comes from key action |
Definition at line 1509 of file G4OpenGLQtViewer.cc.
References fAutoMove, fDeltaDepth, fHoldMoveEvent, G4OpenGLViewer::fPan_sens, G4VViewer::fVP, G4Qt::getInstance(), G4OpenGLViewer::getSceneDepth(), G4OpenGLViewer::getSceneNearWidth(), G4OpenGLViewer::getWinHeight(), G4OpenGLViewer::getWinWidth(), G4ViewParameters::IncrementPan(), and updateQWidget().
Referenced by G4keyPressEvent(), G4MouseMoveEvent(), G4MousePressEvent(), and G4MouseReleaseEvent().
|
inherited |
Definition at line 78 of file G4VViewer.cc.
References G4VViewer::fNeedKernelVisit.
Referenced by G4OpenGLImmediateQtViewer::ComputeView(), G4DAWNFILEViewer::DrawView(), G4GMocrenFileViewer::DrawView(), G4HepRepFileViewer::DrawView(), G4OpenGLImmediateWin32Viewer::DrawView(), G4OpenGLImmediateXmViewer::DrawView(), G4OpenGLImmediateXViewer::DrawView(), G4VTreeViewer::DrawView(), G4VRML2FileViewer::DrawView(), G4VtkViewer::DrawView(), G4VisManager::GeometryHasChanged(), G4OpenGLStoredViewer::KernelVisitDecision(), G4OpenInventorViewer::KernelVisitDecision(), G4Qt3DViewer::KernelVisitDecision(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::KernelVisitDecision(), G4VisManager::NotifyHandlers(), G4OpenGLImmediateViewer::ProcessView(), G4VisCommandViewerRebuild::SetNewValue(), G4OpenInventorViewer::SetPreview(), G4OpenInventorViewer::SetPreviewAndFull(), G4OpenInventorViewer::SetReducedWireFrame(), and G4OpenInventorViewer::UpdateScene().
|
private |
|
private |
Definition at line 3476 of file G4OpenGLQtViewer.cc.
References parseAndCheckVisibility().
Referenced by parseAndCheckVisibility().
|
private |
Definition at line 3015 of file G4OpenGLQtViewer.cc.
References changeQColorForTreeWidgetItem(), createTreeWidgetItem(), fMaxPOindexInserted, G4VViewer::fSceneHandler, fTouchableVolumes, fTreeItemModels, G4Colour::GetAlpha(), G4Colour::GetBlue(), G4VSceneHandler::GetColour(), G4PhysicalVolumeModel::GetFullPVPath(), G4Colour::GetGreen(), G4Colour::GetRed(), G4PhysicalVolumeModel::GetTransformation(), parseAndInsertInSceneTree(), and updatePositivePoIndexSceneTreeWidgetQuickMap().
Referenced by addPVSceneTreeElement(), and parseAndInsertInSceneTree().
|
private |
Definition at line 3494 of file G4OpenGLQtViewer.cc.
References fSceneTreeComponentTreeWidget, and parseSceneTreeElementAndSaveState().
|
private |
Definition at line 3513 of file G4OpenGLQtViewer.cc.
References alpha, and parseSceneTreeElementAndSaveState().
Referenced by parseSceneTreeAndSaveState(), and parseSceneTreeElementAndSaveState().
|
protectedvirtualinherited |
Definition at line 472 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::GetPickDetails().
Referenced by G4OpenGLXViewer::ShowView().
|
privateinherited |
Definition at line 886 of file G4OpenGLViewer.cc.
References G4OpenGL2PSAction::disableFileWriting(), G4VViewer::DrawView(), G4OpenGL2PSAction::enableFileWriting(), G4OpenGL2PSAction::extendBufferSize(), G4OpenGLViewer::fGL2PSAction, G4OpenGLViewer::fGl2psDefaultLineWith, G4OpenGLViewer::fGl2psDefaultPointSize, G4OpenGL2PSAction::fileWritingEnabled(), G4VViewer::fSceneHandler, G4OpenGLViewer::fWinSize_x, G4OpenGLViewer::fWinSize_y, G4cerr, G4endl, G4OpenGLSceneHandler::GetFlushAction(), G4OpenGLViewer::getRealExportHeight(), G4OpenGLViewer::getRealExportWidth(), G4OpenGLViewer::getRealPrintFilename(), G4OpenGLSceneHandler::never, G4OpenGL2PSAction::resetBufferSizeParameters(), G4OpenGLViewer::ResizeGLView(), G4OpenGL2PSAction::setFileName(), G4OpenGLSceneHandler::SetFlushAction(), G4OpenGL2PSAction::setLineWidth(), G4OpenGL2PSAction::setPointSize(), and Y().
Referenced by G4OpenGLViewer::printVectoredEPS().
|
privateinherited |
Definition at line 633 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::fPrintColour, G4cerr, G4endl, G4OpenGLViewer::getRealExportHeight(), G4OpenGLViewer::getRealExportWidth(), G4OpenGLViewer::getRealPrintFilename(), G4OpenGLViewer::grabPixels(), G4InuclParticleNames::name(), and pos.
Referenced by G4OpenGLViewer::exportImage().
|
private |
|
privateinherited |
Definition at line 629 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::printGl2PS().
Referenced by G4OpenGLViewer::exportImage().
|
privateslot |
Definition at line 2414 of file G4OpenGLQtViewer.cc.
References FAILED, getProcessErrorMsg(), setRecordingStatus(), and SUCCESS.
Referenced by encodeVideo().
|
privateslot |
Definition at line 2405 of file G4OpenGLQtViewer.cc.
References fProcess, and setRecordingInfos().
Referenced by encodeVideo().
|
privateslot |
Definition at line 2428 of file G4OpenGLQtViewer.cc.
References fEncoderPath, fProcess, getProcessErrorMsg(), setEncoderPath(), and setTempFolderPath().
Referenced by initMovieParameters().
|
inherited |
Definition at line 105 of file G4VViewer.cc.
References G4VSceneHandler::ClearStore(), G4VViewer::fNeedKernelVisit, G4VViewer::fSceneHandler, and G4VSceneHandler::ProcessScene().
Referenced by G4OpenGLStoredQtViewer::ComputeView(), G4DAWNFILEViewer::DrawView(), G4GMocrenFileViewer::DrawView(), G4HepRepFileViewer::DrawView(), G4OpenGLStoredWin32Viewer::DrawView(), G4OpenGLStoredXmViewer::DrawView(), G4OpenGLStoredXViewer::DrawView(), G4OpenInventorViewer::DrawView(), G4Qt3DViewer::DrawView(), G4RayTracerViewer::DrawView(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::DrawView(), G4VTreeViewer::DrawView(), G4VRML2FileViewer::DrawView(), G4VtkViewer::DrawView(), and G4OpenGLImmediateViewer::ProcessView().
|
inherited |
|
private |
Remove the Qt_temp folder in the temp folder
Definition at line 2145 of file G4OpenGLQtViewer.cc.
References error, geant4_check_module_cycles::file, and fMovieTempFolderPath.
Referenced by startPauseVideo(), and ~G4OpenGLQtViewer().
|
private |
This is the benning of a rescale function. It does nothing for the moment
aWidth | : new width |
aHeight | : new height |
Definition at line 1580 of file G4OpenGLQtViewer.cc.
void G4OpenGLQtViewer::resetRecording | ( | ) |
Definition at line 2046 of file G4OpenGLQtViewer.cc.
References setRecordingStatus(), and WAIT.
Referenced by G4OpenGLQtMovieDialog::resetRecording(), savePPMToTemp(), and stopVideo().
|
virtual |
Reimplemented from G4VViewer.
Definition at line 2867 of file G4OpenGLQtViewer.cc.
References fDeltaDepth, fDeltaZoom, and G4OpenGLViewer::ResetView().
Referenced by G4keyPressEvent().
|
protectedinherited |
Set the viewport of the scene MAXIMUM SIZE is : GLint dims[2]; glGetIntegerv(GL_MAX_VIEWPORT_DIMS, dims);
Definition at line 250 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::fWinSize_x, G4OpenGLViewer::fWinSize_y, G4cerr, and G4endl.
Referenced by G4OpenGLViewer::printGl2PS(), and G4OpenGLViewer::SetView().
|
protectedinherited |
Definition at line 234 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::fSizeHasChanged, G4OpenGLViewer::fWinSize_x, and G4OpenGLViewer::fWinSize_y.
Referenced by G4OpenGLWin32Viewer::CreateMainWindow(), G4OpenGLXmViewer::CreateMainWindow(), G4OpenGLXViewer::CreateMainWindow(), CreateMainWindow(), G4OpenGLXmViewer::expose_callback(), G4OpenGLImmediateQtViewer::resizeGL(), and G4OpenGLStoredQtViewer::resizeGL().
|
protected |
dx | delta mouse x position |
dy | delta mouse y position |
Definition at line 1541 of file G4OpenGLQtViewer.cc.
References fHoldRotateEvent, G4OpenGLViewer::rotateScene(), and updateQWidget().
Referenced by G4keyPressEvent(), G4MouseMoveEvent(), and G4MouseReleaseEvent().
|
protected |
dx | delta mouse x position |
dy | delta mouse y position |
Definition at line 1559 of file G4OpenGLQtViewer.cc.
References fHoldRotateEvent, G4OpenGLViewer::rotateSceneToggle(), and updateQWidget().
Referenced by G4keyPressEvent(), G4MouseMoveEvent(), and G4MouseReleaseEvent().
Definition at line 1128 of file G4OpenGLViewer.cc.
References G4ViewParameters::freeRotation, G4VViewer::fVP, G4ViewParameters::GetRotationStyle(), G4OpenGLViewer::rotateSceneInViewDirection(), and G4OpenGLViewer::rotateSceneThetaPhi().
Referenced by G4OpenGLXmViewer::rotate_in_phi(), G4OpenGLXmViewer::rotate_in_theta(), and rotateQtScene().
Definition at line 1241 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::fRot_sens, G4VViewer::fSceneHandler, G4VViewer::fVP, G4VSceneHandler::GetScene(), G4ViewParameters::GetUpVector(), G4ViewParameters::GetViewpointDirection(), G4ViewParameters::SetUpVector(), G4ViewParameters::SetViewAndLights(), HepGeom::BasicVector3D< T >::unit(), HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Referenced by G4OpenGLViewer::rotateScene(), and G4OpenGLViewer::rotateSceneToggle().
Definition at line 1157 of file G4OpenGLViewer.cc.
References HepGeom::BasicVector3D< T >::cross(), CLHEP::deg, HepGeom::BasicVector3D< T >::dot(), G4OpenGLViewer::fRot_sens, G4VViewer::fSceneHandler, G4VViewer::fVP, G4ViewParameters::GetLightsMoveWithCamera(), G4VSceneHandler::GetScene(), G4ViewParameters::GetUpVector(), G4ViewParameters::GetViewpointDirection(), HepGeom::BasicVector3D< T >::set(), G4ViewParameters::SetUpVector(), G4ViewParameters::SetViewAndLights(), HepGeom::BasicVector3D< T >::unit(), HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Referenced by G4OpenGLViewer::rotateScene(), and G4OpenGLViewer::rotateSceneToggle().
Definition at line 1143 of file G4OpenGLViewer.cc.
References G4ViewParameters::freeRotation, G4VViewer::fVP, G4ViewParameters::GetRotationStyle(), G4OpenGLViewer::rotateSceneInViewDirection(), and G4OpenGLViewer::rotateSceneThetaPhi().
Referenced by rotateQtSceneToggle().
|
protected |
Definition at line 1066 of file G4OpenGLQtViewer.cc.
References fGLWidget, fMovieTempFolderPath, fRecordFrameNumber, resetRecording(), and setRecordingInfos().
Referenced by G4OpenGLImmediateQtViewer::ComputeView(), and G4OpenGLStoredQtViewer::ComputeView().
void G4OpenGLQtViewer::saveVideo | ( | ) |
Stop the video. Check all parameters and enable encoder button if all is ok.
Definition at line 1787 of file G4OpenGLQtViewer.cc.
References G4OpenGLQtMovieDialog::checkEncoderSwParameters(), G4OpenGLQtMovieDialog::checkSaveFileNameParameters(), encodeVideo(), fMovieParametersDialog, fRecordingStep, generateMpegEncoderParameters(), SAVE, setRecordingStatus(), showMovieParametersDialog(), and STOP.
Referenced by G4OpenGLQtMovieDialog::save().
|
privateslot |
Definition at line 3556 of file G4OpenGLQtViewer.cc.
References fCheckSceneTreeComponentSignalLock, setCheckComponent(), and updateQWidget().
Referenced by createSceneTreeComponent().
|
privateslot |
Definition at line 3572 of file G4OpenGLQtViewer.cc.
Referenced by createSceneTreeComponent().
void G4OpenGLQtViewer::setBadEncoder | ( | ) |
Definition at line 2020 of file G4OpenGLQtViewer.cc.
References BAD_ENCODER, displayRecordingStatus(), and fRecordingStep.
void G4OpenGLQtViewer::setBadOutput | ( | ) |
Definition at line 2028 of file G4OpenGLQtViewer.cc.
References BAD_OUTPUT, displayRecordingStatus(), and fRecordingStep.
void G4OpenGLQtViewer::setBadTmp | ( | ) |
Definition at line 2024 of file G4OpenGLQtViewer.cc.
References BAD_TMP, displayRecordingStatus(), and fRecordingStep.
|
private |
Definition at line 2767 of file G4OpenGLQtViewer.cc.
References fMouseOnSceneTree, fTreeItemModels, setCheckComponent(), G4VViewer::SetTouchable(), G4VViewer::TouchableSetVisibility(), and updatePositivePoIndexSceneTreeWidgetQuickMap().
Referenced by sceneTreeComponentItemChanged(), and setCheckComponent().
|
inherited |
QString G4OpenGLQtViewer::setEncoderPath | ( | QString | path | ) |
set the new encoder path
Definition at line 1927 of file G4OpenGLQtViewer.cc.
References BAD_ENCODER, fEncoderPath, fRecordingStep, setRecordingStatus(), and STOP.
Referenced by G4OpenGLQtMovieDialog::checkEncoderSwParameters(), and processLookForFinished().
If name is "" or "!", filename and extension will have the default value. If name is "toto.png", set the name to "toto" and the format to "png". No incremented suffix is added. If name is "toto", set the name to "toto" and the format to default (or current format if specify). If name is the same as previous, do not reset incremented suffix.
Definition at line 1034 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::fExportFilename, G4OpenGLViewer::fExportFilenameIndex, G4OpenGLViewer::getRealPrintFilename(), G4InuclParticleNames::name(), and G4OpenGLViewer::setExportImageFormat().
Referenced by actionSaveImage(), exportImage(), G4OpenGLViewer::exportImage(), and G4OpenGLViewerMessenger::SetNewValue().
|
inherited |
Definition at line 1292 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::fExportFilenameIndex, G4OpenGLViewer::fExportImageFormat, G4OpenGLViewer::fExportImageFormatVector, G4cerr, G4cout, and G4endl.
Referenced by G4OpenGLViewer::exportImage(), G4OpenGLImmediateQtViewer::initializeGL(), G4OpenGLStoredQtViewer::initializeGL(), G4OpenGLViewer::setExportFilename(), and G4OpenGLViewerMessenger::SetNewValue().
Definition at line 1023 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::fPrintSizeX, G4OpenGLViewer::fPrintSizeY, and Y().
Referenced by actionSaveImage(), exportImage(), G4OpenGLViewer::exportImage(), and G4OpenGLViewerMessenger::SetNewValue().
|
inherited |
Definition at line 72 of file G4VViewer.cc.
References G4VViewer::fName, G4VViewer::fShortName, G4InuclParticleNames::name(), and G4StrUtil::strip().
|
inherited |
|
private |
Definition at line 1888 of file G4OpenGLQtViewer.cc.
References fMovieParametersDialog, G4cout, G4endl, and G4OpenGLQtMovieDialog::setRecordingInfos().
Referenced by displayRecordingStatus(), generateMpegEncoderParameters(), processEncodeStdout(), savePPMToTemp(), showMovieParametersDialog(), startPauseVideo(), and stopVideo().
|
private |
Definition at line 1843 of file G4OpenGLQtViewer.cc.
References displayRecordingStatus(), and fRecordingStep.
Referenced by encodeVideo(), generateMpegEncoderParameters(), processEncodeFinished(), resetRecording(), saveVideo(), setEncoderPath(), setSaveFileName(), setTempFolderPath(), startPauseVideo(), and stopVideo().
QString G4OpenGLQtViewer::setSaveFileName | ( | QString | path | ) |
set the save file name path
Definition at line 2088 of file G4OpenGLQtViewer.cc.
References BAD_OUTPUT, geant4_check_module_cycles::file, fRecordingStep, fSaveFileName, setRecordingStatus(), and STOP.
Referenced by G4OpenGLQtMovieDialog::checkSaveFileNameParameters().
QString G4OpenGLQtViewer::setTempFolderPath | ( | QString | path | ) |
set the temp folder path
Definition at line 2054 of file G4OpenGLQtViewer.cc.
References BAD_TMP, fRecordingStep, fTempFolderPath, setRecordingStatus(), and WAIT.
Referenced by G4OpenGLQtMovieDialog::checkTempFolderParameters(), createTempFolder(), and processLookForFinished().
|
protectedinherited |
Definition at line 124 of file G4VViewer.cc.
References G4UImanager::ApplyCommand(), G4Exception(), G4PhysicalVolumeStore::GetInstance(), G4UImanager::GetUIpointer(), and JustWarning.
Referenced by changeColorAndTransparency(), and setCheckComponent().
|
protectedvirtualinherited |
Implements G4VViewer.
Reimplemented in G4OpenGLWin32Viewer, and G4OpenGLXViewer.
Definition at line 277 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::background, G4ViewParameters::cutawayIntersection, G4OpenGLViewer::fIsGettingPickInfos, G4VViewer::fSceneHandler, G4VViewer::fVP, G4OpenGLViewer::fWinSize_x, G4OpenGLViewer::fWinSize_y, G4OpenGLViewer::g4GlFrustum(), G4OpenGLViewer::g4GlOrtho(), G4OpenGLViewer::g4GluLookAt(), G4ViewParameters::GetActualLightpointDirection(), G4ViewParameters::GetBackgroundColour(), G4ViewParameters::GetCameraDistance(), G4ViewParameters::GetCurrentTargetPoint(), G4ViewParameters::GetCutawayMode(), G4ViewParameters::GetCutawayPlanes(), G4Scene::GetExtent(), G4VisExtent::GetExtentRadius(), G4ViewParameters::GetFarDistance(), G4ViewParameters::GetFieldHalfAngle(), G4ViewParameters::GetFrontHalfHeight(), G4ViewParameters::GetNearDistance(), G4ViewParameters::GetScaleFactor(), G4VSceneHandler::GetScene(), G4Scene::GetStandardTargetPoint(), G4ViewParameters::GetUpVector(), G4ViewParameters::GetViewpointDirection(), G4ViewParameters::IsCutaway(), G4OpenGLViewer::ResizeGLView(), HepGeom::BasicVector3D< T >::unit(), HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Referenced by G4OpenGLImmediateQtViewer::paintGL(), G4OpenGLStoredQtViewer::paintGL(), G4OpenGLWin32Viewer::SetView(), and G4OpenGLXViewer::SetView().
|
inherited |
Definition at line 120 of file G4VViewer.cc.
References G4VViewer::fVP.
Referenced by G4VVisCommand::InterpolateViews(), G4VisCommandDrawView::SetNewValue(), G4VisCommandViewerCreate::SetNewValue(), G4VisCommandViewerInterpolate::SetNewValue(), G4VisCommandsViewerSet::SetNewValue(), G4OpenInventorViewer::SetReducedWireFrame(), G4OpenInventorViewer::SetSolid(), G4VVisCommand::SetViewParameters(), and G4OpenInventorViewer::SetWireFrame().
void G4OpenGLQtViewer::setWaiting | ( | ) |
Definition at line 2033 of file G4OpenGLQtViewer.cc.
References displayRecordingStatus(), fRecordingStep, and WAIT.
|
private |
Definition at line 1250 of file G4OpenGLQtViewer.cc.
References G4OpenGLQtMovieDialog::checkEncoderSwParameters(), G4OpenGLQtMovieDialog::checkSaveFileNameParameters(), G4OpenGLQtMovieDialog::checkTempFolderParameters(), displayRecordingStatus(), fGLWidget, fMovieParametersDialog, getEncoderPath(), and setRecordingInfos().
Referenced by actionMovieParameters(), saveVideo(), startPauseVideo(), and stopVideo().
|
privateslot |
Show shortcuts for this mouse action
Definition at line 803 of file G4OpenGLQtViewer.cc.
References fShortcutsDialog, fShortcutsDialogInfos, fUiQt, G4cout, G4UIQt::IsIconMoveSelected(), G4UIQt::IsIconPickSelected(), and G4UIQt::IsIconRotateSelected().
Referenced by createPopupMenu().
|
virtualinherited |
Reimplemented in G4DAWNFILEViewer, G4GMocrenFileViewer, G4HepRepFileViewer, G4OpenGLImmediateQtViewer, G4OpenGLStoredQtViewer, G4OpenGLWin32Viewer, G4OpenGLXmViewer, G4OpenGLXViewer, G4OpenInventorViewer, G4Qt3DViewer, G4ToolsSGViewer< SG_SESSION, SG_VIEWER >, G4ToolsSGViewer< tools::Qt::session, tools::Qt::sg_viewer >, G4VRML2FileViewer, and G4VtkViewer.
Definition at line 103 of file G4VViewer.cc.
Referenced by G4VisManager::EndOfEvent(), G4VisManager::EndOfRun(), G4VVisCommand::InterpolateViews(), and G4HepRepFileViewer::ShowView().
|
protectedinherited |
Definition at line 981 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::fSizeHasChanged.
Referenced by G4OpenGLImmediateQtViewer::resizeGL(), and G4OpenGLStoredQtViewer::resizeGL().
|
slot |
Start/Pause the video..
Definition at line 1807 of file G4OpenGLQtViewer.cc.
References CONTINUE, createTempFolder(), fRecordFrameNumber, fRecordingStep, getTempFolderPath(), PAUSE, removeTempFolder(), setRecordingInfos(), setRecordingStatus(), showMovieParametersDialog(), START, and WAIT.
Referenced by G4keyPressEvent().
void G4OpenGLQtViewer::stopVideo | ( | ) |
Stop the video. Check all parameters and enable encoder button if all is ok.
Definition at line 1764 of file G4OpenGLQtViewer.cc.
References BAD_ENCODER, BAD_OUTPUT, G4OpenGLQtMovieDialog::checkEncoderSwParameters(), G4OpenGLQtMovieDialog::checkSaveFileNameParameters(), fMovieParametersDialog, fRecordFrameNumber, resetRecording(), setRecordingInfos(), setRecordingStatus(), showMovieParametersDialog(), and STOP.
Referenced by G4keyPressEvent(), and G4OpenGLQtMovieDialog::stopFinishClose().
|
privateslot |
Definition at line 4721 of file G4OpenGLQtViewer.cc.
References G4UImanager::ApplyCommand(), fViewerPropertiesTableWidget, and G4UImanager::GetUIpointer().
Referenced by createViewerPropertiesWidget().
|
privateslot |
SLOT Activate by a click on the antialiasing menu
check | : 1 , 0 |
Definition at line 968 of file G4OpenGLQtViewer.cc.
References G4OpenGLViewer::antialiasing_enabled, updateQWidget(), and updateToolbarAndMouseContextMenu().
Referenced by createPopupMenu().
|
privateslot |
SLOT Activate by a click on the auxiliaire edges menu
check | : 1 , 0 |
Definition at line 1007 of file G4OpenGLQtViewer.cc.
References G4VViewer::fVP, G4ViewParameters::SetAuxEdgeVisible(), G4VViewer::SetNeedKernelVisit(), updateQWidget(), and updateToolbarAndMouseContextMenu().
Referenced by createPopupMenu().
|
privateslot |
SLOT Activate by a click on the full screen menu
Definition at line 1059 of file G4OpenGLQtViewer.cc.
References fGLWidget.
Referenced by createPopupMenu(), and G4keyPressEvent().
|
privateslot |
SLOT Activate by a click on the haloing menu
check | : 1 , 0 |
Definition at line 991 of file G4OpenGLQtViewer.cc.
References G4OpenGLViewer::haloing_enabled, updateQWidget(), and updateToolbarAndMouseContextMenu().
Referenced by createPopupMenu().
|
privateslot |
SLOT Activate by a click on the hidden marker menu
check | : 1 , 0 |
Definition at line 1045 of file G4OpenGLQtViewer.cc.
References G4VViewer::fVP, G4ViewParameters::SetMarkerHidden(), G4ViewParameters::SetMarkerNotHidden(), updateQWidget(), and updateToolbarAndMouseContextMenu().
Referenced by createPopupMenu().
|
privateslot |
Slot activated when mouse action is toggle
aAction | : 1 rotate, 2 move, 3 pick, 4 zoom out, 5 zoom in |
Definition at line 874 of file G4OpenGLQtViewer.cc.
References fUiQt, G4UIQt::SetIconMoveSelected(), G4UIQt::SetIconRotateSelected(), G4UIQt::SetIconZoomInSelected(), G4UIQt::SetIconZoomOutSelected(), togglePicking(), updateQWidget(), and updateToolbarAndMouseContextMenu().
Referenced by createPopupMenu().
|
privateslot |
Definition at line 1019 of file G4OpenGLQtViewer.cc.
References G4UImanager::ApplyCommand(), fUiQt, G4VViewer::fVP, G4UImanager::GetUIpointer(), G4ViewParameters::IsPicking(), G4UIQt::SetIconPickSelected(), and G4UIQt::SetIconRotateSelected().
Referenced by toggleMouseAction().
|
privateslot |
SLOT Activate by a click on the projection menu Warning : When G4OpenGLStoredQtViewer::DrawView() method call, KernelVisitDecision () will be call and will set the fNeedKernelVisit to 1. See G4XXXStoredViewer::CompareForKernelVisit for explanations. It will cause a redraw of the view
check | : 1 orthographic, 2 perspective |
Definition at line 936 of file G4OpenGLQtViewer.cc.
References G4VViewer::fVP, G4ViewParameters::SetOrthogonalProjection(), G4ViewParameters::SetPerspectiveProjection(), updateQWidget(), and updateToolbarAndMouseContextMenu().
Referenced by createPopupMenu().
|
privateslot |
Definition at line 4682 of file G4OpenGLQtViewer.cc.
References fPickInfosWidget, fTreeIconClosed, and fTreeIconOpen.
Referenced by updatePickInfosWidget().
|
privateslot |
Slot activated when drawing menu is toggle Warning : When G4OpenGLStoredQtViewer::DrawView() method call, KernelVisitDecision () will be call and will set the fNeedKernelVisit to 1. See G4XXXStoredViewer::CompareForKernelVisit for explanations. It will cause a redraw of the view
aAction | : 1 wireframe, 2 line removal, 3 surface removal, 4 line & surface removal |
Definition at line 903 of file G4OpenGLQtViewer.cc.
References G4VViewer::fVP, G4ViewParameters::hlhsr, G4ViewParameters::hlr, G4ViewParameters::hsr, G4ViewParameters::SetDrawingStyle(), updateQWidget(), updateToolbarAndMouseContextMenu(), and G4ViewParameters::wireframe.
Referenced by createPopupMenu().
|
privateslot |
SLOT Activate by a click on the transparency menu
check | : 1 , 0 |
Definition at line 952 of file G4OpenGLQtViewer.cc.
References G4VViewer::SetNeedKernelVisit(), G4OpenGLViewer::transparency_enabled, updateQWidget(), and updateToolbarAndMouseContextMenu().
Referenced by createPopupMenu().
|
protectedinherited |
Definition at line 180 of file G4VViewer.cc.
References G4ViewParameters::AddVisAttributesModifier(), G4VViewer::fVP, G4cout, G4endl, G4Colour::GetAlpha(), G4Colour::GetBlue(), G4Colour::GetGreen(), G4PhysicalVolumeModel::GetPVNameCopyNoPath(), G4Colour::GetRed(), G4UImanager::GetUIpointer(), G4VisAttributes::SetColour(), and G4ModelingParameters::VASColour.
Referenced by changeColorAndTransparency().
|
protectedinherited |
Definition at line 146 of file G4VViewer.cc.
References G4ViewParameters::AddVisAttributesModifier(), G4VViewer::fVP, G4cout, G4endl, G4PhysicalVolumeModel::GetPVNameCopyNoPath(), G4UImanager::GetUIpointer(), G4VisAttributes::SetVisibility(), and G4ModelingParameters::VASVisibility.
Referenced by setCheckComponent().
|
protected |
Definition at line 1739 of file G4OpenGLQtViewer.cc.
References fAltKeyPress, fControlKeyPress, fNoKeyPress, and fShiftKeyPress.
Referenced by G4keyPressEvent(), and G4MouseMoveEvent().
void G4OpenGLQtViewer::updatePickInfosWidget | ( | int | aX, |
int | aY | ||
) |
Update the pick infos component widget
Definition at line 4527 of file G4OpenGLQtViewer.cc.
References changeColorAndTransparency(), g4zmq::connect(), createPickInfosWidget(), fLastHighlightColor, fLastHighlightName, fLastPickPoint, fPickInfosScrollArea, fPickInfosWidget, fSignalMapperPicking, fTreeIconClosed, fUIPickInfosWidget, getColorForPoIndex(), G4VViewer::GetName(), G4OpenGLViewer::GetPickDetails(), isCurrentWidget(), anonymous_namespace{G4QuasiElRatios.cc}::map, toggleSceneTreeComponentPickingCout(), and updateQWidget().
Referenced by createPickInfosWidget(), and G4MouseReleaseEvent().
|
private |
Update the quick scene tree visibility map (used by parseAndCheckVisibility)
Definition at line 3968 of file G4OpenGLQtViewer.cc.
References fLastSceneTreeWidgetAskForIterator, fLastSceneTreeWidgetAskForIteratorEnd, and fPositivePoIndexSceneTreeWidgetQuickMap.
Referenced by changeDepthOnSceneTreeItem(), changeQColorForTreeWidgetItem(), createTreeWidgetItem(), parseAndInsertInSceneTree(), and setCheckComponent().
|
pure virtual |
Implemented in G4OpenGLImmediateQtViewer, and G4OpenGLStoredQtViewer.
Referenced by actionChangeBackgroundColor(), actionChangeDefaultColor(), actionChangeTextColor(), changeDepthInSceneTree(), G4keyPressEvent(), G4MousePressEvent(), G4wheelEvent(), moveScene(), rotateQtScene(), rotateQtSceneToggle(), sceneTreeComponentItemChanged(), toggleAntialiasing(), toggleAux(), toggleHaloing(), toggleHiddenMarkers(), toggleMouseAction(), toggleProjection(), toggleSurfaceAction(), toggleTransparency(), and updatePickInfosWidget().
void G4OpenGLQtViewer::updateSceneTreeWidget | ( | ) |
Update the scene tree widget
Definition at line 4208 of file G4OpenGLQtViewer.cc.
References createSceneTreeWidget(), and fSceneTreeWidget.
Referenced by G4OpenGLImmediateQtViewer::updateQWidget(), and G4OpenGLStoredQtViewer::updateQWidget().
|
protectedslot |
Update the toolbar Icons/Mouse context menu
Definition at line 4107 of file G4OpenGLQtViewer.cc.
References fBatchMode, fContextMenu, fDrawingLineRemoval, fDrawingLineSurfaceRemoval, fDrawingSurfaceRemoval, fDrawingWireframe, fMouseMoveAction, fMousePickAction, fMouseRotateAction, fMouseZoomInAction, fMouseZoomOutAction, fProjectionOrtho, fProjectionPerspective, fUiQt, G4VViewer::fVP, G4ViewParameters::GetDrawingStyle(), G4ViewParameters::GetFieldHalfAngle(), G4ViewParameters::hlhsr, G4ViewParameters::hlr, G4ViewParameters::hsr, G4UIQt::IsIconMoveSelected(), G4UIQt::IsIconPickSelected(), G4UIQt::IsIconRotateSelected(), G4UIQt::IsIconZoomInSelected(), G4UIQt::IsIconZoomOutSelected(), G4UIQt::SetIconHLHSRSelected(), G4UIQt::SetIconHLRSelected(), G4UIQt::SetIconOrthoSelected(), G4UIQt::SetIconPerspectiveSelected(), G4UIQt::SetIconSolidSelected(), G4UIQt::SetIconWireframeSelected(), and G4ViewParameters::wireframe.
Referenced by actionChangeBackgroundColor(), actionChangeDefaultColor(), actionChangeTextColor(), createPopupMenu(), G4OpenGLImmediateQtViewer::paintGL(), G4OpenGLStoredQtViewer::paintGL(), toggleAntialiasing(), toggleAux(), toggleHaloing(), toggleHiddenMarkers(), toggleMouseAction(), toggleProjection(), toggleSurfaceAction(), and toggleTransparency().
void G4OpenGLQtViewer::updateViewerPropertiesTableWidget | ( | ) |
Update the viewer properties component widget Clear it only if the number of command is less than the previous table widget row count
Definition at line 4220 of file G4OpenGLQtViewer.cc.
References G4ViewParameters::constrainUpDirection, createViewerPropertiesWidget(), G4ViewParameters::cutawayUnion, CLHEP::degree, G4UIcommandTree::FindCommandTree(), G4VViewer::fSceneHandler, fTreeWidgetInfosIgnoredCommands, fUIViewerPropertiesWidget, fViewerPropertiesTableWidget, fViewerPropertiesTableWidgetIsInit, G4VViewer::fVP, G4BestUnit, G4Colour::GetAlpha(), G4ViewParameters::GetBackgroundColour(), G4Colour::GetBlue(), G4VisAttributes::GetColor(), G4UIcommandTree::GetCommand(), G4UIcommandTree::GetCommandEntry(), G4UIcommand::GetCommandName(), GetCommandParameterList(), G4ViewParameters::GetCurrentTargetPoint(), G4ViewParameters::GetCutawayMode(), G4ViewParameters::GetDefaultTextVisAttributes(), G4UIparameter::GetDefaultValue(), G4ViewParameters::GetDefaultVisAttributes(), G4ViewParameters::GetDrawingStyle(), G4ViewParameters::GetExplodeFactor(), G4ViewParameters::GetFieldHalfAngle(), G4ViewParameters::GetGlobalLineWidthScale(), G4ViewParameters::GetGlobalMarkerScale(), G4Colour::GetGreen(), G4UIcommand::GetGuidanceEntries(), G4UIcommand::GetGuidanceLine(), G4ViewParameters::GetLightpointDirection(), G4ViewParameters::GetLightsMoveWithCamera(), G4ViewParameters::GetNoOfSides(), G4UIcommand::GetParameter(), G4UIcommand::GetParameterEntries(), G4Colour::GetRed(), G4ViewParameters::GetRotationStyle(), G4VSceneHandler::GetScene(), G4ViewParameters::GetSectionPlane(), G4Scene::GetStandardTargetPoint(), G4UImanager::GetTree(), G4UImanager::GetUIpointer(), G4ViewParameters::GetUpVector(), G4ViewParameters::GetViewpointDirection(), G4ViewParameters::hlhsr, G4ViewParameters::hlr, G4ViewParameters::hsr, G4ViewParameters::IsAutoRefresh(), G4ViewParameters::IsAuxEdgeVisible(), isCurrentWidget(), G4ViewParameters::IsMarkerNotHidden(), G4ViewParameters::IsPicking(), G4ViewParameters::IsSection(), HepGeom::Plane3D< T >::normal(), HepGeom::BasicVector3D< T >::phi(), HepGeom::Plane3D< T >::point(), HepGeom::BasicVector3D< T >::theta(), G4ViewParameters::wireframe, HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Referenced by createViewerPropertiesWidget(), G4OpenGLImmediateQtViewer::updateQWidget(), and G4OpenGLStoredQtViewer::updateQWidget().
|
protectedinherited |
Definition at line 201 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLXmViewer::antialias_callback(), G4OpenGLXmViewer::CreateMainWindow(), createPopupMenu(), and toggleAntialiasing().
|
protectedinherited |
Definition at line 198 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLViewer::ClearViewWithoutFlush(), G4OpenGLXmViewer::CreateMainWindow(), and G4OpenGLViewer::SetView().
|
private |
Definition at line 323 of file G4OpenGLQtViewer.hh.
Referenced by G4keyPressEvent(), G4MouseMoveEvent(), G4MouseReleaseEvent(), and updateKeyModifierState().
|
private |
Definition at line 288 of file G4OpenGLQtViewer.hh.
Referenced by G4MouseMoveEvent(), G4MousePressEvent(), G4MouseReleaseEvent(), and moveScene().
|
private |
Definition at line 326 of file G4OpenGLQtViewer.hh.
Referenced by CreateMainWindow(), G4OpenGLQtViewer(), and updateToolbarAndMouseContextMenu().
|
private |
Definition at line 327 of file G4OpenGLQtViewer.hh.
Referenced by changeDepthInSceneTree(), and sceneTreeComponentItemChanged().
|
private |
Definition at line 272 of file G4OpenGLQtViewer.hh.
Referenced by CreateMainWindow(), createPopupMenu(), G4manageContextMenuEvent(), and updateToolbarAndMouseContextMenu().
|
private |
Definition at line 324 of file G4OpenGLQtViewer.hh.
Referenced by G4keyPressEvent(), G4MouseMoveEvent(), and updateKeyModifierState().
|
privateinherited |
Definition at line 220 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLViewer::G4OpenGLViewer().
|
protectedinherited |
Definition at line 210 of file G4OpenGLViewer.hh.
Referenced by actionSaveImage().
|
protectedinherited |
Definition at line 220 of file G4VViewer.hh.
Referenced by G4ASCIITreeViewer::G4ASCIITreeViewer(), G4HepRepFileViewer::G4HepRepFileViewer(), G4OpenGLStoredViewer::G4OpenGLStoredViewer(), G4OpenGLViewer::G4OpenGLViewer(), G4OpenInventorViewer::G4OpenInventorViewer(), G4VtkViewer::G4VtkViewer(), G4VViewer::G4VViewer(), G4Qt3DViewer::Initialise(), G4RayTracerXViewer::Initialise(), and G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::Initialise().
|
private |
Definition at line 279 of file G4OpenGLQtViewer.hh.
Referenced by moveScene(), and ResetView().
|
private |
Definition at line 281 of file G4OpenGLQtViewer.hh.
Referenced by G4keyPressEvent(), and ResetView().
|
private |
Definition at line 302 of file G4OpenGLQtViewer.hh.
Referenced by createPopupMenu(), and updateToolbarAndMouseContextMenu().
|
private |
Definition at line 304 of file G4OpenGLQtViewer.hh.
Referenced by createPopupMenu(), and updateToolbarAndMouseContextMenu().
|
private |
Definition at line 303 of file G4OpenGLQtViewer.hh.
Referenced by createPopupMenu(), and updateToolbarAndMouseContextMenu().
|
private |
Definition at line 301 of file G4OpenGLQtViewer.hh.
Referenced by createPopupMenu(), and updateToolbarAndMouseContextMenu().
|
private |
Definition at line 289 of file G4OpenGLQtViewer.hh.
Referenced by encodeVideo(), getEncoderPath(), processLookForFinished(), and setEncoderPath().
|
privateinherited |
Definition at line 219 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLViewer::G4OpenGLViewer(), G4OpenGLViewer::getRealPrintFilename(), and G4OpenGLViewer::setExportFilename().
|
protectedinherited |
Definition at line 212 of file G4OpenGLViewer.hh.
Referenced by exportImage(), G4OpenGLViewer::exportImage(), G4OpenGLViewer::getRealPrintFilename(), G4OpenGLViewer::setExportFilename(), and G4OpenGLViewer::setExportImageFormat().
|
protectedinherited |
Definition at line 211 of file G4OpenGLViewer.hh.
Referenced by actionSaveImage(), G4OpenGLViewer::exportImage(), G4OpenGLViewer::getRealPrintFilename(), and G4OpenGLViewer::setExportImageFormat().
|
protectedinherited |
Definition at line 209 of file G4OpenGLViewer.hh.
Referenced by actionSaveImage(), G4OpenGLViewer::addExportImageFormat(), and G4OpenGLViewer::setExportImageFormat().
|
private |
Definition at line 334 of file G4OpenGLQtViewer.hh.
Referenced by actionSaveImage(), and G4OpenGLQtViewer().
|
private |
Definition at line 333 of file G4OpenGLQtViewer.hh.
Referenced by changeSearchSelection(), and createSceneTreeComponent().
|
private |
Definition at line 300 of file G4OpenGLQtViewer.hh.
Referenced by createPopupMenu().
|
private |
Definition at line 299 of file G4OpenGLQtViewer.hh.
Referenced by createPopupMenu().
|
protectedinherited |
Definition at line 203 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLViewer::ChangeLineWidth(), G4OpenGLViewer::ChangePointSize(), G4OpenGLViewer::exportImage(), G4OpenGLViewer::G4OpenGLViewer(), G4OpenGLViewer::isGl2psWriting(), G4OpenGLViewer::printGl2PS(), and G4OpenGLViewer::~G4OpenGLViewer().
|
privateinherited |
Definition at line 222 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLViewer::printGl2PS().
|
privateinherited |
Definition at line 223 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLViewer::printGl2PS().
|
privateinherited |
Definition at line 224 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLViewer::InitializeGLView().
|
protected |
Definition at line 187 of file G4OpenGLQtViewer.hh.
Referenced by actionChangeBackgroundColor(), actionChangeDefaultColor(), actionChangeTextColor(), actionSaveImage(), CreateMainWindow(), DrawText(), exportImage(), G4keyPressEvent(), G4keyReleaseEvent(), G4manageContextMenuEvent(), G4MouseDoubleClickEvent(), G4MousePressEvent(), G4MouseReleaseEvent(), savePPMToTemp(), showMovieParametersDialog(), and toggleFullScreen().
|
protected |
Definition at line 191 of file G4OpenGLQtViewer.hh.
Referenced by G4OpenGLImmediateQtViewer::ComputeView(), G4OpenGLStoredQtViewer::ComputeView(), G4OpenGLImmediateQtViewer::G4OpenGLImmediateQtViewer(), G4OpenGLStoredQtViewer::G4OpenGLStoredQtViewer(), G4OpenGLImmediateQtViewer::initializeGL(), G4OpenGLStoredQtViewer::initializeGL(), G4OpenGLImmediateQtViewer::paintEvent(), G4OpenGLStoredQtViewer::paintEvent(), G4OpenGLImmediateQtViewer::paintGL(), G4OpenGLStoredQtViewer::paintGL(), G4OpenGLImmediateQtViewer::resizeGL(), G4OpenGLStoredQtViewer::resizeGL(), G4OpenGLImmediateQtViewer::showEvent(), G4OpenGLStoredQtViewer::showEvent(), G4OpenGLImmediateQtViewer::ShowView(), G4OpenGLImmediateQtViewer::updateQWidget(), and G4OpenGLStoredQtViewer::updateQWidget().
|
private |
Definition at line 283 of file G4OpenGLQtViewer.hh.
Referenced by G4keyPressEvent().
|
private |
Definition at line 285 of file G4OpenGLQtViewer.hh.
Referenced by moveScene().
|
private |
Definition at line 287 of file G4OpenGLQtViewer.hh.
Referenced by rotateQtScene(), and rotateQtSceneToggle().
|
private |
Definition at line 383 of file G4OpenGLQtViewer.hh.
Referenced by G4MouseReleaseEvent(), and ~G4OpenGLQtViewer().
|
privateinherited |
Definition at line 241 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLViewer::GetPickDetails(), and G4OpenGLViewer::SetView().
|
private |
Definition at line 311 of file G4OpenGLQtViewer.hh.
Referenced by G4MouseMoveEvent(), G4MousePressEvent(), G4MouseReleaseEvent(), and G4OpenGLQtViewer().
|
private |
Definition at line 380 of file G4OpenGLQtViewer.hh.
Referenced by actionSaveImage(), and exportImage().
|
private |
Definition at line 381 of file G4OpenGLQtViewer.hh.
Referenced by updatePickInfosWidget().
|
private |
Definition at line 382 of file G4OpenGLQtViewer.hh.
Referenced by updatePickInfosWidget().
|
private |
Definition at line 276 of file G4OpenGLQtViewer.hh.
Referenced by createPickInfosWidget(), and updatePickInfosWidget().
|
private |
Definition at line 273 of file G4OpenGLQtViewer.hh.
Referenced by G4MouseMoveEvent(), G4MousePressEvent(), G4MouseReleaseEvent(), and G4OpenGLQtViewer().
|
private |
Definition at line 274 of file G4OpenGLQtViewer.hh.
Referenced by G4MouseMoveEvent(), G4MousePressEvent(), and G4OpenGLQtViewer().
|
private |
Definition at line 275 of file G4OpenGLQtViewer.hh.
Referenced by G4MouseMoveEvent(), G4MousePressEvent(), G4MouseReleaseEvent(), and G4OpenGLQtViewer().
|
private |
Definition at line 368 of file G4OpenGLQtViewer.hh.
Referenced by getTreeWidgetItem(), isTouchableVisible(), and updatePositivePoIndexSceneTreeWidgetQuickMap().
|
private |
Definition at line 369 of file G4OpenGLQtViewer.hh.
Referenced by getTreeWidgetItem(), isTouchableVisible(), and updatePositivePoIndexSceneTreeWidgetQuickMap().
|
private |
Definition at line 318 of file G4OpenGLQtViewer.hh.
Referenced by G4MouseReleaseEvent().
|
private |
Definition at line 360 of file G4OpenGLQtViewer.hh.
Referenced by clearTreeWidget(), createSceneTreeComponent(), and parseAndInsertInSceneTree().
|
private |
Definition at line 358 of file G4OpenGLQtViewer.hh.
Referenced by addPVSceneTreeElement(), and clearTreeWidget().
|
private |
Definition at line 295 of file G4OpenGLQtViewer.hh.
Referenced by createPopupMenu(), and updateToolbarAndMouseContextMenu().
|
protected |
Definition at line 200 of file G4OpenGLQtViewer.hh.
Referenced by changeColorAndTransparency(), G4OpenGLStoredQtViewer::CompareForKernelVisit(), and setCheckComponent().
|
private |
Definition at line 296 of file G4OpenGLQtViewer.hh.
Referenced by createPopupMenu(), and updateToolbarAndMouseContextMenu().
|
private |
Definition at line 294 of file G4OpenGLQtViewer.hh.
Referenced by createPopupMenu(), and updateToolbarAndMouseContextMenu().
|
private |
Definition at line 297 of file G4OpenGLQtViewer.hh.
Referenced by createPopupMenu(), and updateToolbarAndMouseContextMenu().
|
private |
Definition at line 298 of file G4OpenGLQtViewer.hh.
Referenced by createPopupMenu(), and updateToolbarAndMouseContextMenu().
|
private |
Definition at line 307 of file G4OpenGLQtViewer.hh.
Referenced by displayRecordingStatus(), saveVideo(), setRecordingInfos(), showMovieParametersDialog(), and stopVideo().
|
private |
Definition at line 291 of file G4OpenGLQtViewer.hh.
Referenced by createTempFolder(), encodeVideo(), generateMpegEncoderParameters(), removeTempFolder(), and savePPMToTemp().
|
protectedinherited |
Definition at line 217 of file G4VViewer.hh.
Referenced by G4OpenGLWin32Viewer::CreateMainWindow(), G4OpenGLXmViewer::CreateMainWindow(), G4OpenGLXViewer::CreateMainWindow(), G4OpenGLViewer::DrawText(), G4OpenGLXViewer::DrawText(), G4OpenInventorQtViewer::G4OpenInventorQtViewer(), G4OpenInventorWinViewer::G4OpenInventorWinViewer(), G4OpenInventorXtExtendedViewer::G4OpenInventorXtExtendedViewer(), G4OpenInventorXtViewer::G4OpenInventorXtViewer(), G4VViewer::G4VViewer(), G4OpenGLXmViewer::GetXmConnection(), G4OpenInventorQtViewer::Initialise(), G4OpenInventorWinViewer::Initialise(), G4OpenInventorXtExtendedViewer::Initialise(), G4OpenInventorXtViewer::Initialise(), G4Qt3DViewer::Initialise(), G4RayTracerXViewer::Initialise(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::Initialise(), G4VViewer::SetName(), and G4Qt3DViewer::SetView().
|
private |
Definition at line 317 of file G4OpenGLQtViewer.hh.
Referenced by G4MouseReleaseEvent().
|
private |
Definition at line 316 of file G4OpenGLQtViewer.hh.
Referenced by G4MouseReleaseEvent().
|
private |
Definition at line 335 of file G4OpenGLQtViewer.hh.
|
protectedinherited |
Definition at line 224 of file G4VViewer.hh.
Referenced by G4OpenGLStoredQtViewer::ComputeView(), G4OpenGLStoredWin32Viewer::DrawView(), G4OpenGLStoredXmViewer::DrawView(), G4OpenGLStoredXViewer::DrawView(), G4OpenInventorViewer::DrawView(), G4Qt3DViewer::DrawView(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::DrawView(), G4VViewer::NeedKernelVisit(), and G4VViewer::ProcessView().
|
private |
Definition at line 322 of file G4OpenGLQtViewer.hh.
Referenced by G4keyPressEvent(), G4MouseMoveEvent(), G4MouseReleaseEvent(), and updateKeyModifierState().
|
private |
Definition at line 359 of file G4OpenGLQtViewer.hh.
|
private |
Definition at line 372 of file G4OpenGLQtViewer.hh.
Referenced by clearTreeWidget(), and getOldTreeWidgetItem().
|
private |
Definition at line 373 of file G4OpenGLQtViewer.hh.
Referenced by clearTreeWidget(), and getOldTreeWidgetItem().
|
private |
Definition at line 353 of file G4OpenGLQtViewer.hh.
Referenced by changeOpenCloseVisibleHiddenSelectedColorSceneTreeElement(), clearTreeWidget(), and cloneSceneTree().
|
private |
Definition at line 352 of file G4OpenGLQtViewer.hh.
Referenced by changeOpenCloseVisibleHiddenSelectedColorSceneTreeElement(), clearTreeWidget(), cloneSceneTree(), and getOldTreeWidgetItem().
|
private |
Definition at line 347 of file G4OpenGLQtViewer.hh.
Referenced by clearTreeWidget(), and isSameSceneTreeElement().
|
private |
Definition at line 355 of file G4OpenGLQtViewer.hh.
Referenced by changeOpenCloseVisibleHiddenSelectedColorSceneTreeElement().
|
protectedinherited |
Definition at line 197 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLViewer::GetPickDetails().
|
protected |
Definition at line 194 of file G4OpenGLQtViewer.hh.
Referenced by G4OpenGLImmediateQtViewer::G4OpenGLImmediateQtViewer(), G4OpenGLStoredQtViewer::G4OpenGLStoredQtViewer(), G4OpenGLImmediateQtViewer::paintGL(), and G4OpenGLStoredQtViewer::paintGL().
|
protectedinherited |
Definition at line 206 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLXmViewer::actions_callback(), G4OpenGLXmViewer::left_right_pan_callback(), moveScene(), G4OpenGLViewer::ResetView(), G4OpenGLXmViewer::ResetView(), G4OpenGLXmViewer::set_pan_sens_callback(), G4OpenGLXmViewer::up_down_pan_callback(), and G4OpenGLXmViewer::UpdateControlPanel().
|
private |
Definition at line 293 of file G4OpenGLQtViewer.hh.
Referenced by encodeVideo(), and generateMpegEncoderParameters().
|
private |
Definition at line 341 of file G4OpenGLQtViewer.hh.
Referenced by createPickInfosWidget(), and updatePickInfosWidget().
|
private |
Definition at line 340 of file G4OpenGLQtViewer.hh.
Referenced by createPickInfosWidget(), toggleSceneTreeComponentPickingCout(), and updatePickInfosWidget().
|
privateinherited |
Definition at line 218 of file G4OpenGLViewer.hh.
|
private |
Definition at line 350 of file G4OpenGLQtViewer.hh.
Referenced by clearTreeWidget(), getTreeWidgetItem(), and updatePositivePoIndexSceneTreeWidgetQuickMap().
|
protectedinherited |
Definition at line 194 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLXmViewer::misc_callback(), G4OpenGLViewer::printNonVectoredEPS(), G4OpenGLXmViewer::set_print_colour_callback(), and G4OpenGLXmViewer::set_print_style_callback().
|
protectedinherited |
Definition at line 213 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLViewer::getRealExportWidth(), and G4OpenGLViewer::setExportSize().
|
protectedinherited |
Definition at line 214 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLViewer::getRealExportHeight(), and G4OpenGLViewer::setExportSize().
|
private |
Definition at line 309 of file G4OpenGLQtViewer.hh.
Referenced by encodeVideo(), getProcessErrorMsg(), initMovieParameters(), processEncodeStdout(), and processLookForFinished().
|
private |
Definition at line 305 of file G4OpenGLQtViewer.hh.
Referenced by createPopupMenu(), and updateToolbarAndMouseContextMenu().
|
private |
Definition at line 306 of file G4OpenGLQtViewer.hh.
Referenced by createPopupMenu(), and updateToolbarAndMouseContextMenu().
|
private |
Definition at line 332 of file G4OpenGLQtViewer.hh.
Referenced by addPVSceneTreeElement(), clearTreeWidget(), and createSceneTreeComponent().
|
protected |
Definition at line 193 of file G4OpenGLQtViewer.hh.
Referenced by G4OpenGLImmediateQtViewer::G4OpenGLImmediateQtViewer(), G4OpenGLStoredQtViewer::G4OpenGLStoredQtViewer(), G4OpenGLImmediateQtViewer::Initialise(), G4OpenGLStoredQtViewer::Initialise(), G4OpenGLImmediateQtViewer::paintEvent(), G4OpenGLStoredQtViewer::paintEvent(), G4OpenGLImmediateQtViewer::paintGL(), G4OpenGLStoredQtViewer::paintGL(), G4OpenGLImmediateQtViewer::showEvent(), and G4OpenGLStoredQtViewer::showEvent().
|
protected |
Definition at line 189 of file G4OpenGLQtViewer.hh.
Referenced by displayRecordingStatus(), generateMpegEncoderParameters(), savePPMToTemp(), startPauseVideo(), and stopVideo().
|
private |
Definition at line 308 of file G4OpenGLQtViewer.hh.
Referenced by displayRecordingStatus(), isBadEncoder(), isBadOutput(), isBadTmp(), isEncoding(), isFailed(), isPaused(), isReadyToEncode(), isRecording(), isStopped(), isSuccess(), isWaiting(), saveVideo(), setBadEncoder(), setBadOutput(), setBadTmp(), setEncoderPath(), setRecordingStatus(), setSaveFileName(), setTempFolderPath(), setWaiting(), and startPauseVideo().
|
protectedinherited |
Definition at line 205 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLXmViewer::actions_callback(), G4keyPressEvent(), G4OpenGLViewer::ResetView(), G4OpenGLViewer::rotateSceneInViewDirection(), G4OpenGLViewer::rotateSceneThetaPhi(), G4OpenGLXmViewer::set_rot_sens_callback(), and G4OpenGLXmViewer::UpdateControlPanel().
|
private |
Definition at line 292 of file G4OpenGLQtViewer.hh.
Referenced by getSaveFileName(), and setSaveFileName().
|
protectedinherited |
Definition at line 215 of file G4VViewer.hh.
Referenced by addNonPVSceneTreeElement(), addPVSceneTreeElement(), G4VtkViewer::ClearView(), G4OpenGLStoredViewer::DrawDisplayLists(), DrawText(), G4OpenGLViewer::DrawText(), G4OpenGLXViewer::DrawText(), G4VtkViewer::FinishView(), G4VViewer::G4VViewer(), G4OpenGLViewer::getSceneDepth(), G4OpenGLViewer::getSceneFarWidth(), G4OpenGLViewer::getSceneNearWidth(), G4OpenGLImmediateQtViewer::initializeGL(), G4OpenGLStoredQtViewer::initializeGL(), parseAndInsertInSceneTree(), G4OpenGLViewer::printGl2PS(), G4VViewer::ProcessView(), G4OpenGLViewer::rotateSceneInViewDirection(), G4OpenGLViewer::rotateSceneThetaPhi(), G4OpenGLViewer::SetView(), G4OpenInventorViewer::SetView(), G4Qt3DViewer::SetView(), G4RayTracerViewer::SetView(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::SetView(), G4VtkViewer::SetView(), G4VtkViewer::ShowView(), updateViewerPropertiesTableWidget(), and G4VViewer::~G4VViewer().
|
private |
Definition at line 343 of file G4OpenGLQtViewer.hh.
|
private |
Definition at line 329 of file G4OpenGLQtViewer.hh.
Referenced by addNonPVSceneTreeElement(), addPVSceneTreeElement(), changeColorAndTransparency(), changeDepthInSceneTree(), changeSearchSelection(), clearTreeWidget(), createSceneTreeComponent(), createTreeWidgetItem(), displaySceneTreeComponent(), isTouchableVisible(), and parseSceneTreeAndSaveState().
|
private |
Definition at line 357 of file G4OpenGLQtViewer.hh.
Referenced by changeDepthInSceneTree(), clearTreeWidget(), and createTreeWidgetItem().
|
private |
Definition at line 345 of file G4OpenGLQtViewer.hh.
Referenced by createSceneTreeComponent(), and createTreeWidgetItem().
|
private |
Definition at line 331 of file G4OpenGLQtViewer.hh.
Referenced by createSceneTreeComponent(), createSceneTreeWidget(), updateSceneTreeWidget(), and ~G4OpenGLQtViewer().
|
private |
Definition at line 378 of file G4OpenGLQtViewer.hh.
Referenced by G4OpenGLQtViewer().
|
private |
Definition at line 325 of file G4OpenGLQtViewer.hh.
Referenced by G4keyPressEvent(), G4MouseMoveEvent(), G4MousePressEvent(), and updateKeyModifierState().
|
private |
Definition at line 338 of file G4OpenGLQtViewer.hh.
Referenced by showShortcuts().
|
private |
Definition at line 344 of file G4OpenGLQtViewer.hh.
Referenced by showShortcuts().
|
protectedinherited |
Definition at line 218 of file G4VViewer.hh.
Referenced by G4RayTracerViewer::DrawView(), G4VViewer::G4VViewer(), and G4VViewer::SetName().
|
private |
Definition at line 363 of file G4OpenGLQtViewer.hh.
Referenced by createPopupMenu(), and G4OpenGLQtViewer().
|
private |
Definition at line 365 of file G4OpenGLQtViewer.hh.
Referenced by updatePickInfosWidget().
|
private |
Definition at line 364 of file G4OpenGLQtViewer.hh.
Referenced by createPopupMenu(), and G4OpenGLQtViewer().
|
privateinherited |
Definition at line 221 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLViewer::ResizeWindow(), and G4OpenGLViewer::sizeHasChanged().
|
private |
Definition at line 315 of file G4OpenGLQtViewer.hh.
Referenced by G4MouseReleaseEvent().
|
private |
Definition at line 290 of file G4OpenGLQtViewer.hh.
Referenced by createTempFolder(), getTempFolderPath(), and setTempFolderPath().
|
private |
Definition at line 336 of file G4OpenGLQtViewer.hh.
|
private |
Definition at line 337 of file G4OpenGLQtViewer.hh.
Referenced by getModelShortName(), isPVVolume(), and parseAndInsertInSceneTree().
|
private |
Definition at line 377 of file G4OpenGLQtViewer.hh.
Referenced by G4OpenGLQtViewer(), toggleSceneTreeComponentPickingCout(), updatePickInfosWidget(), and ~G4OpenGLQtViewer().
|
private |
Definition at line 376 of file G4OpenGLQtViewer.hh.
Referenced by G4OpenGLQtViewer(), toggleSceneTreeComponentPickingCout(), and ~G4OpenGLQtViewer().
|
private |
Definition at line 346 of file G4OpenGLQtViewer.hh.
Referenced by changeColorAndTransparency(), clearTreeWidget(), createSceneTreeComponent(), createTreeWidgetItem(), isSameSceneTreeElement(), parseAndInsertInSceneTree(), and setCheckComponent().
|
private |
Definition at line 342 of file G4OpenGLQtViewer.hh.
Referenced by updateViewerPropertiesTableWidget().
|
private |
Definition at line 321 of file G4OpenGLQtViewer.hh.
Referenced by createPickInfosWidget(), and updatePickInfosWidget().
|
private |
Definition at line 361 of file G4OpenGLQtViewer.hh.
Referenced by CreateMainWindow(), createPickInfosWidget(), createSceneTreeComponent(), createSceneTreeWidget(), createViewerPropertiesWidget(), currentTabActivated(), G4MouseMoveEvent(), G4MousePressEvent(), G4MouseReleaseEvent(), isCurrentWidget(), showShortcuts(), toggleMouseAction(), togglePicking(), and updateToolbarAndMouseContextMenu().
|
private |
Definition at line 319 of file G4OpenGLQtViewer.hh.
Referenced by createSceneTreeWidget(), and displaySceneTreeComponent().
|
private |
Definition at line 320 of file G4OpenGLQtViewer.hh.
Referenced by createViewerPropertiesWidget(), and updateViewerPropertiesTableWidget().
|
protected |
Definition at line 192 of file G4OpenGLQtViewer.hh.
Referenced by G4OpenGLImmediateQtViewer::G4OpenGLImmediateQtViewer(), G4OpenGLStoredQtViewer::G4OpenGLStoredQtViewer(), G4OpenGLImmediateQtViewer::updateQWidget(), and G4OpenGLStoredQtViewer::updateQWidget().
|
protectedinherited |
Definition at line 195 of file G4OpenGLViewer.hh.
Referenced by actionSaveImage(), G4OpenGLViewer::exportImage(), G4OpenGLXmViewer::misc_callback(), G4OpenGLXmViewer::set_print_style_callback(), and G4OpenGLViewerMessenger::SetNewValue().
|
private |
Definition at line 339 of file G4OpenGLQtViewer.hh.
Referenced by createViewerPropertiesWidget(), tableWidgetViewerSetItemChanged(), and updateViewerPropertiesTableWidget().
|
private |
Definition at line 328 of file G4OpenGLQtViewer.hh.
Referenced by updateViewerPropertiesTableWidget().
|
protectedinherited |
Definition at line 216 of file G4VViewer.hh.
Referenced by G4OpenGLXmViewer::actions_callback(), G4OpenGLXViewer::CreateGLXContext(), G4OpenGLXViewer::CreateMainWindow(), G4OpenGLImmediateQtViewer::G4OpenGLImmediateQtViewer(), G4OpenGLImmediateWin32Viewer::G4OpenGLImmediateWin32Viewer(), G4OpenGLImmediateXmViewer::G4OpenGLImmediateXmViewer(), G4OpenGLImmediateXViewer::G4OpenGLImmediateXViewer(), G4OpenGLStoredQtViewer::G4OpenGLStoredQtViewer(), G4OpenGLStoredWin32Viewer::G4OpenGLStoredWin32Viewer(), G4OpenGLStoredXmViewer::G4OpenGLStoredXmViewer(), G4OpenGLStoredXViewer::G4OpenGLStoredXViewer(), G4OpenGLXmViewer::G4OpenGLXmViewer(), G4OpenGLXViewer::G4OpenGLXViewer(), G4RayTracerViewer::G4RayTracerViewer(), G4VViewer::G4VViewer(), G4OpenGLXViewer::GetXConnection(), G4OpenGLXmViewer::GetXmConnection(), G4Qt3DViewer::Initialise(), G4RayTracerXViewer::Initialise(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::Initialise(), G4OpenGLXmViewer::misc_callback(), G4OpenGLWin32Viewer::~G4OpenGLWin32Viewer(), and G4OpenGLXViewer::~G4OpenGLXViewer().
|
protectedinherited |
Definition at line 219 of file G4VViewer.hh.
Referenced by actionChangeBackgroundColor(), actionChangeDefaultColor(), actionChangeTextColor(), G4OpenGLXmViewer::actions_callback(), G4OpenGLSceneHandler::AddPrimitive(), G4OpenGLImmediateSceneHandler::AddPrimitivePreambleInternal(), G4OpenGLStoredSceneHandler::AddPrimitivePreambleInternal(), G4OpenGLXmViewer::aux_edge_callback(), changeDepthInSceneTree(), G4OpenGLStoredQtViewer::CompareForKernelVisit(), G4OpenGLStoredViewer::CompareForKernelVisit(), G4OpenInventorViewer::CompareForKernelVisit(), G4Qt3DViewer::CompareForKernelVisit(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::CompareForKernelVisit(), G4OpenGLStoredQtViewer::ComputeView(), G4OpenGLWin32Viewer::CreateMainWindow(), G4OpenGLXmViewer::CreateMainWindow(), G4OpenGLXViewer::CreateMainWindow(), CreateMainWindow(), createPopupMenu(), G4OpenGLXmViewer::dolly_callback(), G4OpenGLStoredViewer::DrawDisplayLists(), G4OpenGLXmViewer::drawing_style_callback(), G4OpenGLStoredWin32Viewer::DrawView(), G4OpenGLStoredXmViewer::DrawView(), G4OpenGLStoredXViewer::DrawView(), G4OpenInventorViewer::DrawView(), G4Qt3DViewer::DrawView(), G4RayTracerViewer::DrawView(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::DrawView(), G4VtkViewer::DrawViewHUD(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::Export(), G4ASCIITreeViewer::G4ASCIITreeViewer(), G4HepRepFileViewer::G4HepRepFileViewer(), G4keyPressEvent(), G4MouseMoveEvent(), G4MousePressEvent(), G4MouseReleaseEvent(), G4OpenGLViewer::G4OpenGLViewer(), G4OpenInventorViewer::G4OpenInventorViewer(), G4VtkViewer::G4VtkViewer(), G4VViewer::G4VViewer(), G4wheelEvent(), G4OpenGLViewer::getSceneDepth(), G4OpenGLViewer::getSceneFarWidth(), G4OpenGLViewer::getSceneNearWidth(), G4OpenGLXmViewer::GetXmConnection(), G4OpenInventorViewer::GroupCameraSensorCB(), G4OpenInventorQtViewer::Initialise(), G4OpenInventorWinViewer::Initialise(), G4OpenInventorXtExtendedViewer::Initialise(), G4OpenInventorXtViewer::Initialise(), G4Qt3DViewer::Initialise(), G4RayTracerViewer::Initialise(), G4RayTracerXViewer::Initialise(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::Initialise(), G4VtkQtViewer::Initialise(), G4VtkViewer::Initialise(), G4OpenGLViewer::InitializeGLView(), G4OpenGLXmViewer::left_right_pan_callback(), G4OpenGLXmViewer::misc_callback(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::mouse_move(), G4Qt3DViewer::mouseMoveEvent(), moveScene(), G4OpenGLImmediateViewer::ProcessView(), G4OpenGLXmViewer::projection_callback(), G4OpenGLXmViewer::reset_callback(), G4OpenGLXmViewer::ResetView(), G4OpenGLViewer::rotateScene(), G4OpenGLViewer::rotateSceneInViewDirection(), G4OpenGLViewer::rotateSceneThetaPhi(), G4OpenGLViewer::rotateSceneToggle(), G4DAWNFILEViewer::SendDrawingStyleToDAWNGUI(), G4DAWNFILEViewer::SendViewParameters(), G4VRML2FileViewer::SendViewParameters(), G4OpenGLXmViewer::set_rot_subject_callback(), G4OpenGLViewerMessenger::SetNewValue(), G4OpenGLXmViewerMessenger::SetNewValue(), G4OpenGLWin32Viewer::SetRotation(), G4OpenGLWin32Viewer::SetShift(), G4OpenGLViewer::SetView(), G4OpenInventorQtViewer::SetView(), G4OpenInventorViewer::SetView(), G4OpenInventorWinViewer::SetView(), G4OpenInventorXtExtendedViewer::SetView(), G4OpenInventorXtViewer::SetView(), G4Qt3DViewer::SetView(), G4RayTracerViewer::SetView(), G4ToolsSGQtViewer::SetView(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::SetView(), G4VtkViewer::SetView(), G4VViewer::SetViewParameters(), G4OpenGLWin32Viewer::SetZoom(), G4OpenGLXViewer::ShowView(), G4VtkViewer::ShowView(), toggleAux(), toggleHiddenMarkers(), togglePicking(), toggleProjection(), toggleSurfaceAction(), G4VViewer::TouchableSetColour(), G4VViewer::TouchableSetVisibility(), G4OpenGLXmViewer::up_down_pan_callback(), G4OpenGLXmViewer::update_panels_callback(), G4OpenGLXmViewer::UpdateControlPanel(), updateToolbarAndMouseContextMenu(), updateViewerPropertiesTableWidget(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::wheel_rotate(), G4Qt3DViewer::wheelEvent(), G4OpenGLXmViewer::wobble_callback(), G4OpenGLXmViewer::wobble_timer_callback(), and G4OpenGLXmViewer::zoom_callback().
|
protectedinherited |
Definition at line 207 of file G4OpenGLViewer.hh.
Referenced by CreateMainWindow(), G4OpenGLViewer::getRealExportWidth(), G4OpenGLViewer::getWinWidth(), G4OpenGLViewer::InitializeGLView(), G4OpenGLViewer::printGl2PS(), G4OpenGLViewer::ResizeGLView(), G4OpenGLViewer::ResizeWindow(), and G4OpenGLViewer::SetView().
|
protectedinherited |
Definition at line 208 of file G4OpenGLViewer.hh.
Referenced by CreateMainWindow(), G4OpenGLViewer::getRealExportHeight(), G4OpenGLViewer::getWinHeight(), G4OpenGLViewer::InitializeGLView(), G4OpenGLViewer::printGl2PS(), G4OpenGLViewer::ResizeGLView(), G4OpenGLViewer::ResizeWindow(), and G4OpenGLViewer::SetView().
|
protectedinherited |
Definition at line 202 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLImmediateQtViewer::ComputeView(), G4OpenGLStoredQtViewer::ComputeView(), G4OpenGLXmViewer::CreateMainWindow(), createPopupMenu(), G4OpenGLImmediateWin32Viewer::DrawView(), G4OpenGLImmediateXmViewer::DrawView(), G4OpenGLImmediateXViewer::DrawView(), G4OpenGLStoredWin32Viewer::DrawView(), G4OpenGLStoredXmViewer::DrawView(), G4OpenGLStoredXViewer::DrawView(), G4OpenGLXmViewer::haloing_callback(), and toggleHaloing().
|
private |
Definition at line 391 of file G4OpenGLQtViewer.hh.
Referenced by G4OpenGLQtViewer(), and ~G4OpenGLQtViewer().
|
private |
Definition at line 392 of file G4OpenGLQtViewer.hh.
Referenced by G4OpenGLQtViewer(), and ~G4OpenGLQtViewer().
|
protectedinherited |
Definition at line 200 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLImmediateSceneHandler::AddPrimitivePreambleInternal(), G4OpenGLStoredSceneHandler::AddPrimitivePreambleInternal(), G4OpenGLXmViewer::CreateMainWindow(), createPopupMenu(), G4OpenGLStoredViewer::DrawDisplayLists(), G4OpenGLViewerMessenger::SetNewValue(), toggleTransparency(), and G4OpenGLXmViewer::transparency_callback().