Geant4-11
|
#include <G4OpenGLWin32Viewer.hh>
Public Member Functions | |
void | ClearView () |
void | ClearViewWithoutFlush () |
std::vector< G4ThreeVector > | ComputeFlyThrough (G4Vector3D *) |
virtual void | DrawView ()=0 |
virtual bool | exportImage (std::string name="", int width=-1, int height=-1) |
virtual void | FinishView () |
G4OpenGLWin32Viewer (G4OpenGLSceneHandler &scene) | |
const G4VisAttributes * | GetApplicableVisAttributes (const G4VisAttributes *) const |
const G4ViewParameters & | GetDefaultViewParameters () const |
const G4String & | GetName () const |
virtual const std::vector< G4ModelingParameters::VisAttributesModifier > * | GetPrivateVisAttributesModifiers () const |
G4VSceneHandler * | GetSceneHandler () const |
const G4String & | GetShortName () const |
G4int | GetViewId () const |
const G4ViewParameters & | GetViewParameters () const |
virtual void | Initialise () |
void | NeedKernelVisit () |
void | ProcessView () |
void | RefreshView () |
void | SetDefaultViewParameters (const G4ViewParameters &vp) |
bool | setExportImageFormat (std::string format, bool quiet=false) |
void | SetName (const G4String &) |
void | SetNeedKernelVisit (G4bool need) |
void | SetView () |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// More... | |
void | SetViewParameters (const G4ViewParameters &vp) |
void | ShowView () |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// More... | |
virtual | ~G4OpenGLWin32Viewer () |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// More... | |
Protected Member Functions | |
void | addExportImageFormat (std::string format) |
void | ChangeLineWidth (G4double width) |
void | ChangePointSize (G4double size) |
virtual void | CreateFontLists () |
void | CreateGLWin32Context () |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// More... | |
virtual void | CreateMainWindow () |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// More... | |
virtual void | DrawText (const G4Text &) |
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]) |
const std::vector< G4OpenGLViewerPickMap * > & | GetPickDetails (GLdouble x, GLdouble y) |
std::string | getRealPrintFilename () |
GLdouble | getSceneDepth () |
GLdouble | getSceneFarWidth () |
GLdouble | getSceneNearWidth () |
void | GetWin32Connection () |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// More... | |
unsigned int | getWinHeight () const |
unsigned int | getWinWidth () const |
void | HaloingFirstPass () |
void | HaloingSecondPass () |
void | HLRFirstPass () |
void | HLRSecondPass () |
void | HLRThirdPass () |
void | InitializeGLView () |
G4bool | isFramebufferReady () |
G4bool | isGl2psWriting () |
virtual G4String | Pick (GLdouble x, GLdouble y) |
void | ResetView () |
void | ResizeGLView () |
void | ResizeWindow (unsigned int, unsigned int) |
void | rotateScene (G4double dx, G4double dy) |
void | rotateSceneToggle (G4double dx, G4double dy) |
bool | setExportFilename (G4String name, G4bool inc=true) |
void | setExportSize (G4int, G4int) |
void | SetTouchable (const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &fullPath) |
G4bool | sizeHasChanged () |
void | TouchableSetColour (const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &fullPath, const G4Colour &) |
void | TouchableSetVisibility (const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &fullPath, G4bool visibility) |
Protected Attributes | |
G4bool | antialiasing_enabled |
G4Colour | background |
std::string | fDefaultExportImageFormat |
G4ViewParameters | fDefaultVP |
int | fExportFilenameIndex |
std::string | fExportImageFormat |
std::vector< std::string > | fExportImageFormatVector |
G4OpenGL2PSAction * | fGL2PSAction |
HDC | fHDC |
G4bool | fMouseHovered |
G4bool | fMousePressed |
G4int | fMousePressedX |
G4int | fMousePressedY |
G4String | fName |
G4bool | fNeedKernelVisit |
G4OpenGLSceneHandler & | fOpenGLSceneHandler |
G4double | fPan_sens |
G4bool | fPrintColour |
G4int | fPrintSizeX |
G4int | fPrintSizeY |
G4double | fRot_sens |
G4VSceneHandler & | fSceneHandler |
G4String | fShortName |
G4bool | fVectoredPs |
G4int | fViewId |
G4ViewParameters | fVP |
unsigned int | fWinSize_x |
unsigned int | fWinSize_y |
G4bool | haloing_enabled |
G4bool | transparency_enabled |
Private Member Functions | |
G4int | getRealExportHeight () |
G4int | getRealExportWidth () |
GLubyte * | grabPixels (int inColor, unsigned int width, unsigned int height) |
bool | printGl2PS () |
bool | printNonVectoredEPS () |
bool | printVectoredEPS () |
void | ReleaseMouse () |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// More... | |
void | rotateSceneInViewDirection (G4double dx, G4double dy) |
void | rotateSceneThetaPhi (G4double dx, G4double dy) |
void | SetRotation (G4int, G4int) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// More... | |
void | SetShift (G4int, G4int) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// More... | |
void | SetZoom (G4int) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// More... | |
void | TrackMouse (G4int, G4int) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// More... | |
Static Private Member Functions | |
static G4bool | SetWindowPixelFormat (HDC) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// More... | |
static LRESULT CALLBACK | WindowProc (HWND, UINT, WPARAM, LPARAM) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// More... | |
Private Attributes | |
G4String | fDefaultExportFilename |
G4String | fExportFilename |
int | fGl2psDefaultLineWith |
int | fGl2psDefaultPointSize |
bool | fGlViewInitialized |
HGLRC | fHGLRC |
G4bool | fInCreateWindow |
bool | fIsGettingPickInfos |
G4float | fPointSize |
G4bool | fSizeHasChanged |
HWND | fWindow |
Definition at line 41 of file G4OpenGLWin32Viewer.hh.
G4OpenGLWin32Viewer::G4OpenGLWin32Viewer | ( | G4OpenGLSceneHandler & | scene | ) |
Definition at line 161 of file G4OpenGLWin32Viewer.cc.
|
virtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 180 of file G4OpenGLWin32Viewer.cc.
References fHDC, fHGLRC, G4VViewer::fViewId, and fWindow.
|
protectedinherited |
Definition at line 1288 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::fExportImageFormatVector.
Referenced by G4OpenGLQtViewer::G4OpenGLQtViewer(), and G4OpenGLViewer::G4OpenGLViewer().
|
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().
|
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().
|
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().
|
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 |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 83 of file G4OpenGLWin32Viewer.cc.
Referenced by G4OpenGLImmediateWin32Viewer::Initialise(), and G4OpenGLStoredWin32Viewer::Initialise().
|
protectedvirtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 91 of file G4OpenGLWin32Viewer.cc.
References className, fHDC, fHGLRC, fInCreateWindow, G4VViewer::fName, G4VViewer::fVP, fWindow, G4ViewParameters::GetWindowAbsoluteLocationHintX(), G4ViewParameters::GetWindowAbsoluteLocationHintY(), G4ViewParameters::GetWindowSizeHintX(), G4ViewParameters::GetWindowSizeHintY(), G4OpenGLViewer::getWinHeight(), G4OpenGLViewer::getWinWidth(), G4OpenGLViewer::ResizeWindow(), SetWindowPixelFormat(), TRUE, and WindowProc().
Referenced by G4OpenGLImmediateWin32Viewer::Initialise(), and G4OpenGLStoredWin32Viewer::Initialise().
|
protectedvirtualinherited |
Reimplemented in G4OpenGLQtViewer, and G4OpenGLXViewer.
Definition at line 758 of file G4OpenGLViewer.cc.
References G4Text::centre, G4VViewer::fName, G4VViewer::fSceneHandler, G4cout, G4endl, G4Text::GetLayout(), G4VSceneHandler::GetMarkerSize(), G4VMarker::GetPosition(), G4Text::GetText(), GL2PS_TEXT_B, GL2PS_TEXT_BL, GL2PS_TEXT_BR, gl2psTextOpt, G4OpenGLViewer::isGl2psWriting(), G4Text::left, and G4Text::right.
Referenced by G4OpenGLSceneHandler::AddPrimitive(), G4OpenGLQtViewer::DrawText(), and G4OpenGLXViewer::DrawText().
|
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().
|
virtualinherited |
Export image with the given name with width and height Several cases : If name is "", filename 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). Will also add an incremented suffix at the end of the file
Reimplemented in G4OpenGLQtViewer.
Definition at line 827 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::fExportFilenameIndex, G4OpenGLViewer::fExportImageFormat, G4OpenGLViewer::fGL2PSAction, free, G4OpenGLViewer::fVectoredPs, G4cerr, G4cout, G4endl, G4OpenGLViewer::getRealExportHeight(), G4OpenGLViewer::getRealExportWidth(), G4OpenGLViewer::getRealPrintFilename(), GL2PS_EPS, GL2PS_PDF, GL2PS_PS, GL2PS_SVG, G4InuclParticleNames::name(), G4OpenGLViewer::printNonVectoredEPS(), G4OpenGLViewer::printVectoredEPS(), G4OpenGLViewer::setExportFilename(), G4OpenGLViewer::setExportImageFormat(), G4OpenGL2PSAction::setExportImageFormat(), and G4OpenGLViewer::setExportSize().
Referenced by G4OpenGLQtViewer::exportImage(), G4OpenGLXmViewer::print_callback(), and G4OpenGLViewerMessenger::SetNewValue().
|
virtualinherited |
Reimplemented in G4OpenGLImmediateWin32Viewer, G4OpenGLImmediateXmViewer, G4OpenGLImmediateXViewer, G4OpenGLQtViewer, G4OpenGLStoredWin32Viewer, G4OpenGLStoredXmViewer, G4OpenGLStoredXViewer, G4OpenInventorQtViewer, G4OpenInventorWinViewer, G4OpenInventorXtExtendedViewer, G4OpenInventorXtViewer, G4Qt3DViewer, G4ToolsSGViewer< SG_SESSION, SG_VIEWER >, G4ToolsSGViewer< tools::Qt::session, tools::Qt::sg_viewer >, G4VRML2FileViewer, G4VtkQtViewer, and G4VtkViewer.
Definition at line 101 of file G4VViewer.cc.
Referenced by G4OpenInventorViewer::DrawView(), G4VisManager::GeometryHasChanged(), G4OpenGLViewer::InitializeGLView(), G4VisManager::NotifyHandlers(), and G4VisCommandViewerClear::SetNewValue().
|
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().
|
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().
|
inherited |
Referenced by G4VisCommandsViewerSet::SetNewValue().
|
inherited |
Referenced by G4OpenGLQtViewer::createSceneTreeComponent(), G4OpenGLQtViewer::createSceneTreeWidget(), G4OpenGLQtViewer::createViewerPropertiesWidget(), G4OpenGLQtViewer::currentTabActivated(), G4OpenGLImmediateQtViewer::Initialise(), G4OpenGLStoredQtViewer::Initialise(), G4ToolsSGQtViewer::Initialise(), G4VtkQtViewer::Initialise(), G4VVisCommand::InterpolateViews(), G4OpenGLQtViewer::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 G4OpenGLQtViewer::updatePickInfosWidget().
|
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 G4OpenGLQtViewer::updatePickInfosWidget().
|
virtualinherited |
Reimplemented in G4OpenGLQtViewer.
Referenced by G4VisCommandViewerSave::SetNewValue(), and G4VisCommandsViewerSet::SetNewValue().
|
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 G4OpenGLQtViewer::exportImage(), G4OpenGLViewer::exportImage(), G4OpenGLXmViewer::misc_callback(), G4OpenGLViewer::printGl2PS(), G4OpenGLViewer::printNonVectoredEPS(), and G4OpenGLViewer::setExportFilename().
|
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 G4OpenGLQtViewer::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(), 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 G4OpenGLQtViewer::G4MousePressEvent(), and G4OpenGLQtViewer::moveScene().
|
inherited |
Referenced by G4OpenGLViewer::G4OpenGLViewer().
|
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().
|
protected |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 75 of file G4OpenGLWin32Viewer.cc.
|
protectedinherited |
Definition at line 977 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::fWinSize_y.
Referenced by CreateMainWindow(), G4OpenGLXmViewer::CreateMainWindow(), G4OpenGLXViewer::CreateMainWindow(), G4OpenGLQtViewer::CreateMainWindow(), G4OpenGLQtViewer::DrawText(), G4OpenGLImmediateWin32Viewer::DrawView(), G4OpenGLStoredWin32Viewer::DrawView(), G4OpenGLQtViewer::G4MouseMoveEvent(), G4OpenGLQtViewer::G4MousePressEvent(), G4OpenGLQtViewer::moveScene(), G4OpenGLImmediateQtViewer::paintGL(), and G4OpenGLStoredQtViewer::paintGL().
|
protectedinherited |
Definition at line 973 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::fWinSize_x.
Referenced by CreateMainWindow(), G4OpenGLXmViewer::CreateMainWindow(), G4OpenGLXViewer::CreateMainWindow(), G4OpenGLQtViewer::CreateMainWindow(), G4OpenGLQtViewer::DrawText(), G4OpenGLImmediateWin32Viewer::DrawView(), G4OpenGLStoredWin32Viewer::DrawView(), G4OpenGLQtViewer::G4MouseMoveEvent(), G4OpenGLQtViewer::G4MousePressEvent(), G4OpenGLQtViewer::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().
|
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(), G4OpenGLQtViewer::DrawText(), G4OpenGLViewer::DrawText(), and G4OpenGLXViewer::DrawText().
|
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().
|
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().
|
privateinherited |
Definition at line 629 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::printGl2PS().
Referenced by G4OpenGLViewer::exportImage().
|
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 |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 417 of file G4OpenGLWin32Viewer.cc.
References fMousePressed, fMousePressedX, and fMousePressedY.
|
protectedvirtualinherited |
Reimplemented from G4VViewer.
Reimplemented in G4OpenGLXmViewer.
Definition at line 434 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::fPan_sens, G4OpenGLViewer::fRot_sens, and G4VViewer::ResetView().
Referenced by G4OpenGLQtViewer::ResetView(), and G4OpenGLXmViewer::ResetView().
|
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 CreateMainWindow(), G4OpenGLXmViewer::CreateMainWindow(), G4OpenGLXViewer::CreateMainWindow(), G4OpenGLQtViewer::CreateMainWindow(), G4OpenGLXmViewer::expose_callback(), G4OpenGLImmediateQtViewer::resizeGL(), and G4OpenGLStoredQtViewer::resizeGL().
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 G4OpenGLQtViewer::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 G4OpenGLQtViewer::rotateQtSceneToggle().
|
inherited |
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 G4OpenGLQtViewer::actionSaveImage(), G4OpenGLQtViewer::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 G4OpenGLQtViewer::actionSaveImage(), G4OpenGLQtViewer::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 |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 444 of file G4OpenGLWin32Viewer.cc.
References HepGeom::BasicVector3D< T >::cross(), G4ViewParameters::freeRotation, G4VViewer::fVP, G4ViewParameters::GetRotationStyle(), G4ViewParameters::GetUpVector(), G4ViewParameters::GetViewpointDirection(), G4ViewParameters::SetUpVector(), G4ViewParameters::SetViewpointDirection(), and HepGeom::BasicVector3D< T >::unit().
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 428 of file G4OpenGLWin32Viewer.cc.
References G4VViewer::fVP, G4Scene::GetExtent(), G4VisExtent::GetExtentRadius(), G4VSceneHandler::GetScene(), G4VViewer::GetSceneHandler(), and G4ViewParameters::IncrementPan().
|
protectedinherited |
Definition at line 124 of file G4VViewer.cc.
References G4UImanager::ApplyCommand(), G4Exception(), G4PhysicalVolumeStore::GetInstance(), G4UImanager::GetUIpointer(), and JustWarning.
Referenced by G4OpenGLQtViewer::changeColorAndTransparency(), and G4OpenGLQtViewer::setCheckComponent().
|
virtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Reimplemented from G4OpenGLViewer.
Definition at line 47 of file G4OpenGLWin32Viewer.cc.
References fHDC, fHGLRC, and G4OpenGLViewer::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().
|
staticprivate |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 349 of file G4OpenGLWin32Viewer.cc.
References FALSE.
Referenced by CreateMainWindow().
|
private |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 470 of file G4OpenGLWin32Viewer.cc.
References deg, G4VViewer::fVP, G4ViewParameters::GetDolly(), G4ViewParameters::GetFieldHalfAngle(), G4ViewParameters::MultiplyZoomFactor(), and G4ViewParameters::SetDolly().
|
virtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Reimplemented from G4VViewer.
Definition at line 59 of file G4OpenGLWin32Viewer.cc.
References fHDC.
|
protectedinherited |
Definition at line 981 of file G4OpenGLViewer.cc.
References G4OpenGLViewer::fSizeHasChanged.
Referenced by G4OpenGLImmediateQtViewer::resizeGL(), and G4OpenGLStoredQtViewer::resizeGL().
|
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 G4OpenGLQtViewer::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 G4OpenGLQtViewer::setCheckComponent().
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 404 of file G4OpenGLWin32Viewer.cc.
References fMousePressed, fMousePressedX, and fMousePressedY.
|
staticprivate |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 202 of file G4OpenGLWin32Viewer.cc.
References ps.
Referenced by CreateMainWindow().
|
protectedinherited |
Definition at line 201 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLXmViewer::antialias_callback(), G4OpenGLXmViewer::CreateMainWindow(), G4OpenGLQtViewer::createPopupMenu(), and G4OpenGLQtViewer::toggleAntialiasing().
|
protectedinherited |
Definition at line 198 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLViewer::ClearViewWithoutFlush(), G4OpenGLXmViewer::CreateMainWindow(), and G4OpenGLViewer::SetView().
|
privateinherited |
Definition at line 220 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLViewer::G4OpenGLViewer().
|
protectedinherited |
Definition at line 210 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLQtViewer::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().
|
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 G4OpenGLQtViewer::exportImage(), G4OpenGLViewer::exportImage(), G4OpenGLViewer::getRealPrintFilename(), G4OpenGLViewer::setExportFilename(), and G4OpenGLViewer::setExportImageFormat().
|
protectedinherited |
Definition at line 211 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLQtViewer::actionSaveImage(), G4OpenGLViewer::exportImage(), G4OpenGLViewer::getRealPrintFilename(), and G4OpenGLViewer::setExportImageFormat().
|
protectedinherited |
Definition at line 209 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLQtViewer::actionSaveImage(), G4OpenGLViewer::addExportImageFormat(), and G4OpenGLViewer::setExportImageFormat().
|
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 53 of file G4OpenGLWin32Viewer.hh.
Referenced by CreateMainWindow(), G4OpenGLImmediateWin32Viewer::FinishView(), G4OpenGLStoredWin32Viewer::FinishView(), SetView(), ShowView(), and ~G4OpenGLWin32Viewer().
|
private |
Definition at line 70 of file G4OpenGLWin32Viewer.hh.
Referenced by CreateMainWindow(), SetView(), and ~G4OpenGLWin32Viewer().
|
private |
Definition at line 71 of file G4OpenGLWin32Viewer.hh.
Referenced by CreateMainWindow().
|
privateinherited |
Definition at line 241 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLViewer::GetPickDetails(), and G4OpenGLViewer::SetView().
|
protected |
Definition at line 55 of file G4OpenGLWin32Viewer.hh.
|
protected |
Definition at line 56 of file G4OpenGLWin32Viewer.hh.
Referenced by ReleaseMouse(), and TrackMouse().
|
protected |
Definition at line 57 of file G4OpenGLWin32Viewer.hh.
Referenced by ReleaseMouse(), and TrackMouse().
|
protected |
Definition at line 57 of file G4OpenGLWin32Viewer.hh.
Referenced by ReleaseMouse(), and TrackMouse().
|
protectedinherited |
Definition at line 217 of file G4VViewer.hh.
Referenced by 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().
|
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().
|
protectedinherited |
Definition at line 197 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLViewer::GetPickDetails().
|
protectedinherited |
Definition at line 206 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLXmViewer::actions_callback(), G4OpenGLXmViewer::left_right_pan_callback(), G4OpenGLQtViewer::moveScene(), G4OpenGLViewer::ResetView(), G4OpenGLXmViewer::ResetView(), G4OpenGLXmViewer::set_pan_sens_callback(), G4OpenGLXmViewer::up_down_pan_callback(), and G4OpenGLXmViewer::UpdateControlPanel().
|
privateinherited |
Definition at line 218 of file G4OpenGLViewer.hh.
|
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().
|
protectedinherited |
Definition at line 205 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLXmViewer::actions_callback(), G4OpenGLQtViewer::G4keyPressEvent(), G4OpenGLViewer::ResetView(), G4OpenGLViewer::rotateSceneInViewDirection(), G4OpenGLViewer::rotateSceneThetaPhi(), G4OpenGLXmViewer::set_rot_sens_callback(), and G4OpenGLXmViewer::UpdateControlPanel().
|
protectedinherited |
Definition at line 215 of file G4VViewer.hh.
Referenced by G4OpenGLQtViewer::addNonPVSceneTreeElement(), G4OpenGLQtViewer::addPVSceneTreeElement(), G4VtkViewer::ClearView(), G4OpenGLStoredViewer::DrawDisplayLists(), G4OpenGLQtViewer::DrawText(), G4OpenGLViewer::DrawText(), G4OpenGLXViewer::DrawText(), G4VtkViewer::FinishView(), G4VViewer::G4VViewer(), G4OpenGLViewer::getSceneDepth(), G4OpenGLViewer::getSceneFarWidth(), G4OpenGLViewer::getSceneNearWidth(), G4OpenGLImmediateQtViewer::initializeGL(), G4OpenGLStoredQtViewer::initializeGL(), G4OpenGLQtViewer::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(), G4OpenGLQtViewer::updateViewerPropertiesTableWidget(), and G4VViewer::~G4VViewer().
|
protectedinherited |
Definition at line 218 of file G4VViewer.hh.
Referenced by G4RayTracerViewer::DrawView(), G4VViewer::G4VViewer(), and G4VViewer::SetName().
|
privateinherited |
Definition at line 221 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLViewer::ResizeWindow(), and G4OpenGLViewer::sizeHasChanged().
|
protectedinherited |
Definition at line 195 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLQtViewer::actionSaveImage(), G4OpenGLViewer::exportImage(), G4OpenGLXmViewer::misc_callback(), G4OpenGLXmViewer::set_print_style_callback(), and G4OpenGLViewerMessenger::SetNewValue().
|
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(), and G4OpenGLXViewer::~G4OpenGLXViewer().
|
protectedinherited |
Definition at line 219 of file G4VViewer.hh.
Referenced by G4OpenGLQtViewer::actionChangeBackgroundColor(), G4OpenGLQtViewer::actionChangeDefaultColor(), G4OpenGLQtViewer::actionChangeTextColor(), G4OpenGLXmViewer::actions_callback(), G4OpenGLSceneHandler::AddPrimitive(), G4OpenGLImmediateSceneHandler::AddPrimitivePreambleInternal(), G4OpenGLStoredSceneHandler::AddPrimitivePreambleInternal(), G4OpenGLXmViewer::aux_edge_callback(), G4OpenGLQtViewer::changeDepthInSceneTree(), G4OpenGLStoredQtViewer::CompareForKernelVisit(), G4OpenGLStoredViewer::CompareForKernelVisit(), G4OpenInventorViewer::CompareForKernelVisit(), G4Qt3DViewer::CompareForKernelVisit(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::CompareForKernelVisit(), G4OpenGLStoredQtViewer::ComputeView(), CreateMainWindow(), G4OpenGLXmViewer::CreateMainWindow(), G4OpenGLXViewer::CreateMainWindow(), G4OpenGLQtViewer::CreateMainWindow(), G4OpenGLQtViewer::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(), G4OpenGLQtViewer::G4keyPressEvent(), G4OpenGLQtViewer::G4MouseMoveEvent(), G4OpenGLQtViewer::G4MousePressEvent(), G4OpenGLQtViewer::G4MouseReleaseEvent(), G4OpenGLViewer::G4OpenGLViewer(), G4OpenInventorViewer::G4OpenInventorViewer(), G4VtkViewer::G4VtkViewer(), G4VViewer::G4VViewer(), G4OpenGLQtViewer::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(), G4OpenGLQtViewer::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(), SetRotation(), 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(), SetZoom(), G4OpenGLXViewer::ShowView(), G4VtkViewer::ShowView(), G4OpenGLQtViewer::toggleAux(), G4OpenGLQtViewer::toggleHiddenMarkers(), G4OpenGLQtViewer::togglePicking(), G4OpenGLQtViewer::toggleProjection(), G4OpenGLQtViewer::toggleSurfaceAction(), G4VViewer::TouchableSetColour(), G4VViewer::TouchableSetVisibility(), G4OpenGLXmViewer::up_down_pan_callback(), G4OpenGLXmViewer::update_panels_callback(), G4OpenGLXmViewer::UpdateControlPanel(), G4OpenGLQtViewer::updateToolbarAndMouseContextMenu(), G4OpenGLQtViewer::updateViewerPropertiesTableWidget(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::wheel_rotate(), G4Qt3DViewer::wheelEvent(), G4OpenGLXmViewer::wobble_callback(), G4OpenGLXmViewer::wobble_timer_callback(), and G4OpenGLXmViewer::zoom_callback().
|
private |
Definition at line 69 of file G4OpenGLWin32Viewer.hh.
Referenced by CreateMainWindow(), and ~G4OpenGLWin32Viewer().
|
protectedinherited |
Definition at line 207 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLQtViewer::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 G4OpenGLQtViewer::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(), G4OpenGLQtViewer::createPopupMenu(), G4OpenGLImmediateWin32Viewer::DrawView(), G4OpenGLImmediateXmViewer::DrawView(), G4OpenGLImmediateXViewer::DrawView(), G4OpenGLStoredWin32Viewer::DrawView(), G4OpenGLStoredXmViewer::DrawView(), G4OpenGLStoredXViewer::DrawView(), G4OpenGLXmViewer::haloing_callback(), and G4OpenGLQtViewer::toggleHaloing().
|
protectedinherited |
Definition at line 200 of file G4OpenGLViewer.hh.
Referenced by G4OpenGLImmediateSceneHandler::AddPrimitivePreambleInternal(), G4OpenGLStoredSceneHandler::AddPrimitivePreambleInternal(), G4OpenGLXmViewer::CreateMainWindow(), G4OpenGLQtViewer::createPopupMenu(), G4OpenGLStoredViewer::DrawDisplayLists(), G4OpenGLViewerMessenger::SetNewValue(), G4OpenGLQtViewer::toggleTransparency(), and G4OpenGLXmViewer::transparency_callback().