Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VViewer Class Referenceabstract

#include <G4VViewer.hh>

+ Inheritance diagram for G4VViewer:

Classes

class  G4Spline
 

Public Member Functions

 G4VViewer (G4VSceneHandler &, G4int id, const G4String &name="")
 
virtual ~G4VViewer ()
 
virtual void Initialise ()
 
virtual void ResetView ()
 
virtual void SetView ()=0
 
virtual void ClearView ()=0
 
virtual void DrawView ()=0
 
void RefreshView ()
 
virtual void ShowView ()
 
virtual void FinishView ()
 
std::vector< G4ThreeVectorComputeFlyThrough (G4Vector3D *)
 
const G4StringGetName () const
 
const G4StringGetShortName () const
 
void SetName (const G4String &)
 
G4int GetViewId () const
 
G4VSceneHandlerGetSceneHandler () const
 
const G4ViewParametersGetViewParameters () const
 
const G4ViewParametersGetDefaultViewParameters () const
 
G4double GetKernelVisitElapsedTimeSeconds () const
 
virtual const std::vector< G4ModelingParameters::VisAttributesModifier > * GetPrivateVisAttributesModifiers () const
 
void SetViewParameters (const G4ViewParameters &vp)
 
void SetDefaultViewParameters (const G4ViewParameters &vp)
 
const G4VisAttributesGetApplicableVisAttributes (const G4VisAttributes *) const
 
void SetNeedKernelVisit (G4bool need)
 
void NeedKernelVisit ()
 
void ProcessView ()
 

Protected Member Functions

void SetTouchable (const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &fullPath)
 
void TouchableSetVisibility (const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &fullPath, G4bool visibility)
 
void TouchableSetColour (const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &fullPath, const G4Colour &)
 

Protected Attributes

G4VSceneHandlerfSceneHandler
 
G4int fViewId
 
G4String fName
 
G4String fShortName
 
G4ViewParameters fVP
 
G4ViewParameters fDefaultVP
 
G4double fKernelVisitElapsedTimeSeconds = 999.
 
G4bool fNeedKernelVisit
 

Friends

std::ostream & operator<< (std::ostream &os, const G4VViewer &v)
 

Detailed Description

Definition at line 45 of file G4VViewer.hh.

Constructor & Destructor Documentation

◆ G4VViewer()

G4VViewer::G4VViewer ( G4VSceneHandler sceneHandler,
G4int  id,
const G4String name = "" 
)

Definition at line 48 of file G4VViewer.cc.

49 :
50fSceneHandler (sceneHandler),
51fViewId (id),
52//fModified (true),
54{
55 if (name == "") {
56 std::ostringstream ost;
57 ost << fSceneHandler.GetName () << '-' << fViewId;
58 fName = ost.str();
59 }
60 else {
61 fName = name;
62 }
63 fShortName = fName.substr(0, fName.find (' '));
65
68}
const G4String & GetName() const
G4bool fNeedKernelVisit
Definition: G4VViewer.hh:227
G4VSceneHandler & fSceneHandler
Definition: G4VViewer.hh:216
G4String fShortName
Definition: G4VViewer.hh:219
G4String fName
Definition: G4VViewer.hh:218
G4ViewParameters fDefaultVP
Definition: G4VViewer.hh:221
G4int fViewId
Definition: G4VViewer.hh:217
G4ViewParameters fVP
Definition: G4VViewer.hh:220
const G4ViewParameters & GetDefaultViewParameters() const
static G4VisManager * GetInstance()
const char * name(G4int ptype)
void strip(G4String &str, char ch=' ')
Remove leading and trailing characters from string.

◆ ~G4VViewer()

G4VViewer::~G4VViewer ( )
virtual

Definition at line 70 of file G4VViewer.cc.

70 {
72}
void RemoveViewerFromList(G4VViewer *pView)

Member Function Documentation

◆ ClearView()

◆ ComputeFlyThrough()

std::vector< G4ThreeVector > G4VViewer::ComputeFlyThrough ( G4Vector3D )

Definition at line 202 of file G4VViewer.cc.

203{
204 enum CurveType {
205 Bezier,
206 G4SplineTest};
207
208 // Choose a curve type (for testing)
209// int myCurveType = Bezier;
210
211 // number if step points
212 G4int stepPoints = 500;
213
214
215 G4Spline spline;
216
217
218 // At the moment we don't use the aVect parameters, but build it here :
219 // Good step points for exampleB5
220 spline.AddSplinePoint(G4Vector3D(0,1000,-14000));
221 spline.AddSplinePoint(G4Vector3D(0,1000,0));
222 spline.AddSplinePoint(G4Vector3D(-4000,1000,4000));
223
224
225 std::vector <G4ThreeVector> viewVect;
226
227// if(myCurveType == Bezier) {
228
229
230 // Draw the spline
231
232 for (G4int i = 0; i < stepPoints; ++i) {
233 G4float t = (G4float)i / (G4float)stepPoints;
234 G4Vector3D cameraPosition = spline.GetInterpolatedSplinePoint(t);
235 // G4Vector3D targetPoint = spline.GetInterpolatedSplinePoint(t);
236
237 // viewParam->SetViewAndLights(G4ThreeVector (cameraPosition.x(), cameraPosition.y(), cameraPosition.z()));
238 // viewParam->SetCurrentTargetPoint(targetPoint);
239 G4cout << "FLY CR("<< i << "):" << cameraPosition << G4endl;
240 viewVect.push_back(G4ThreeVector (cameraPosition.x(), cameraPosition.y(), cameraPosition.z()));
241 }
242
243// } else if (myCurveType == G4SplineTest) {
244 /*
245 This method is a inspire from a Bezier curve. The problem of the Bezier curve is that the path does not go straight between two waypoints.
246 This method add "stay straight" parameter which could be between 0 and 1 where the pass will follow exactly the line between the waypoints
247 Ex : stay straight = 50%
248 m1 = 3*(P1+P0)/2
249
250 Ex : stay straight = 0%
251 m1 = (P1+P0)/2
252
253 P1
254 / \
255 / \
256 a--x--b
257 / ° ° \
258 / ° ° \
259 m1 m2
260 / \
261 / \
262 / \
263 / \
264 P0 P2
265
266 */
267// G4Vector3D a;
268// G4Vector3D b;
269// G4Vector3D m1;
270// G4Vector3D m2;
271// G4Vector3D P0;
272// G4Vector3D P1;
273// G4Vector3D P2;
274// G4double stayStraight = 0;
275// G4double bezierSpeed = 0.4; // Spend 40% time in bezier curve (time between m1-m2 is 40% of time between P0-P1)
276//
277// G4Vector3D firstPoint;
278// G4Vector3D lastPoint;
279//
280// float nbBezierSteps = (stepPoints * bezierSpeed*(1-stayStraight)) * (2./spline.GetNumPoints());
281// float nbFirstSteps = ((stepPoints/2-nbBezierSteps/2) /(1+stayStraight)) * (2./spline.GetNumPoints());
282//
283// // First points
284// firstPoint = spline.GetPoint(0);
285// lastPoint = (firstPoint + spline.GetPoint(1))/2;
286//
287// for( float j=0; j<1; j+= 1/nbFirstSteps) {
288// G4ThreeVector pt = firstPoint + (lastPoint - firstPoint) * j;
289// viewVect.push_back(pt);
290// G4cout << "FLY Bezier A1("<< viewVect.size()<< "):" << pt << G4endl;
291// }
292//
293// for (int i = 0; i < spline.GetNumPoints()-2; i++) {
294// P0 = spline.GetPoint(i);
295// P1 = spline.GetPoint(i+1);
296// P2 = spline.GetPoint(i+2);
297//
298// m1 = P1 - (P1-P0)*(1-stayStraight)/2;
299// m2 = P1 + (P2-P1)*(1-stayStraight)/2;
300//
301// // We have to get straight path from (middile of P0-P1) to (middile of P0-P1 + (dist P0-P1) * stayStraight/2)
302// if (stayStraight >0) {
303//
304// firstPoint = (P0 + P1)/2;
305// lastPoint = (P0 + P1)/2 + (P1-P0)*stayStraight/2;
306//
307// for( float j=0; j<1; j+= 1/(nbFirstSteps*stayStraight)) {
308// G4ThreeVector pt = firstPoint + (lastPoint - firstPoint)* j;
309// viewVect.push_back(pt);
310// G4cout << "FLY Bezier A2("<< viewVect.size()<< "):" << pt << G4endl;
311// }
312// }
313// // Compute Bezier curve
314// for( float delta = 0 ; delta < 1 ; delta += 1/nbBezierSteps)
315// {
316// // The Green Line
317// a = m1 + ( (P1 - m1) * delta );
318// b = P1 + ( (m2 - P1) * delta );
319//
320// // Final point
321// G4ThreeVector pt = a + ((b-a) * delta );
322// viewVect.push_back(pt);
323// G4cout << "FLY Bezier("<< viewVect.size()<< "):" << pt << G4endl;
324// }
325//
326// // We have to get straight path
327// if (stayStraight >0) {
328// firstPoint = (P1 + P2)/2 - (P2-P1)*stayStraight/2;
329// lastPoint = (P1 + P2)/2;
330//
331// for( float j=0; j<1; j+= 1/(nbFirstSteps*stayStraight)) {
332// G4ThreeVector pt = firstPoint + (lastPoint - firstPoint)* j;
333// viewVect.push_back(pt);
334// G4cout << "FLY Bezier B1("<< viewVect.size()<< "):" << pt << G4endl;
335// }
336// }
337// }
338//
339// // last points
340// firstPoint = spline.GetPoint(spline.GetNumPoints()-2);
341// lastPoint = spline.GetPoint(spline.GetNumPoints()-1);
342// for( float j=1; j>0; j-= 1/nbFirstSteps) {
343// G4ThreeVector pt = lastPoint - ((lastPoint-firstPoint)*((1-stayStraight)/2) * j );
344// viewVect.push_back(pt);
345// G4cout << "FLY Bezier B2("<< viewVect.size()<< "):" << pt << G4endl;
346// }
347// }
348 return viewVect;
349}
float G4float
Definition: G4Types.hh:84
int G4int
Definition: G4Types.hh:85
HepGeom::Vector3D< G4double > G4Vector3D
Definition: G4Vector3D.hh:34
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout

◆ DrawView()

◆ FinishView()

◆ GetApplicableVisAttributes()

◆ GetDefaultViewParameters()

const G4ViewParameters & G4VViewer::GetDefaultViewParameters ( ) const

◆ GetKernelVisitElapsedTimeSeconds()

G4double G4VViewer::GetKernelVisitElapsedTimeSeconds ( ) const

◆ GetName()

◆ GetPrivateVisAttributesModifiers()

virtual const std::vector< G4ModelingParameters::VisAttributesModifier > * G4VViewer::GetPrivateVisAttributesModifiers ( ) const
virtual

◆ GetSceneHandler()

◆ GetShortName()

const G4String & G4VViewer::GetShortName ( ) const

◆ GetViewId()

◆ GetViewParameters()

const G4ViewParameters & G4VViewer::GetViewParameters ( ) const

Referenced by G4OpenGLXmViewer::actions_callback(), G4VSceneHandler::AddCompound(), G4Qt3DSceneHandler::AddPrimitive(), G4ToolsSGSceneHandler::AddPrimitive(), G4OpenInventorSceneHandler::AddPrimitive(), G4OpenGLSceneHandler::AddPrimitive(), G4OpenGLXmViewer::background_color_callback(), G4VSceneHandler::CreateCutawaySolid(), G4VSceneHandler::CreateSectionSolid(), G4VisManager::CreateViewer(), G4VSceneHandler::Draw3DRectMeshAsDots(), G4VSceneHandler::DrawTetMeshAsDots(), G4OpenGLImmediateWin32Viewer::DrawView(), G4OpenGLImmediateXmViewer::DrawView(), G4OpenGLImmediateXViewer::DrawView(), G4OpenGLStoredWin32Viewer::DrawView(), G4OpenGLStoredXmViewer::DrawView(), G4OpenGLStoredXViewer::DrawView(), G4OpenGLStoredSceneHandler::EndModeling(), 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(), G4VisCommandViewerResetCameraParameters::SetNewValue(), G4VisCommandViewerSave::SetNewValue(), G4VisCommandViewerScale::SetNewValue(), G4VisCommandViewerZoom::SetNewValue(), G4VisCommandsViewerSet::SetNewValue(), G4VisCommandGeometrySetVisibility::SetNewValueOnLV(), G4OpenInventorViewer::SetReducedWireFrame(), G4OpenInventorViewer::SetSolid(), G4OpenInventorViewer::SetWireFrame(), and G4VSceneHandler::StandardSpecialMeshRendering().

◆ Initialise()

◆ NeedKernelVisit()

void G4VViewer::NeedKernelVisit ( )

Definition at line 80 of file G4VViewer.cc.

80 {
81
82 fNeedKernelVisit = true;
83
84 // At one time I thought we'd better notify all viewers. But I guess
85 // each viewer can take care of itself, so the following code is
86 // redundant (but keep it commented out for now). (John Allison)
87 // Notify all viewers that a kernel visit is required.
88 // const G4ViewerList& viewerList = fSceneHandler.GetViewerList ();
89 // G4ViewerListConstIterator i;
90 // for (i = viewerList.begin(); i != viewerList.end(); i++) {
91 // (*i) -> SetNeedKernelVisit ();
92 // }
93 // ??...but, there's a problem in OpenGL Stored which seems to
94 // require *all* viewers to revisit the kernel, so...
95 // const G4ViewerList& viewerList = fSceneHandler.GetViewerList ();
96 // G4ViewerListConstIterator i;
97 // for (i = viewerList.begin(); i != viewerList.end(); i++) {
98 // (*i) -> SetNeedKernelVisit (true);
99 // }
100 // Feb 2005 - commented out. Let's fix OpenGL if necessary.
101}

Referenced by 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().

◆ ProcessView()

void G4VViewer::ProcessView ( )

Definition at line 107 of file G4VViewer.cc.

108{
109 // If the scene has changed, or if the concrete viewer has decided
110 // that it necessary to visit the kernel, perhaps because the view
111 // parameters have changed significantly (this should be done in the
112 // concrete viewer's DrawView)...
113 if (fNeedKernelVisit) {
114 // Reset flag. This must be done before ProcessScene to prevent
115 // recursive calls when recomputing transients...
116 G4Timer timer;
117 timer.Start();
118 fNeedKernelVisit = false;
121 timer.Stop();
123 }
124}
void Stop()
void Start()
G4double GetRealElapsed() const
Definition: G4Timer.cc:113
virtual void ProcessScene()
virtual void ClearStore()
G4double fKernelVisitElapsedTimeSeconds
Definition: G4VViewer.hh:222

Referenced by G4DAWNFILEViewer::DrawView(), G4GMocrenFileViewer::DrawView(), G4HepRepFileViewer::DrawView(), G4OpenGLStoredWin32Viewer::DrawView(), G4OpenGLStoredXmViewer::DrawView(), G4OpenGLStoredXViewer::DrawView(), G4OpenInventorViewer::DrawView(), G4Qt3DViewer::DrawView(), G4RayTracerViewer::DrawView(), G4ToolsSGOffscreenViewer::DrawView(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::DrawView(), G4VTreeViewer::DrawView(), G4VRML2FileViewer::DrawView(), G4VtkViewer::DrawView(), and G4OpenGLImmediateViewer::ProcessView().

◆ RefreshView()

void G4VViewer::RefreshView ( )

◆ ResetView()

virtual void G4VViewer::ResetView ( )
virtual

◆ SetDefaultViewParameters()

void G4VViewer::SetDefaultViewParameters ( const G4ViewParameters vp)

◆ SetName()

void G4VViewer::SetName ( const G4String name)

Definition at line 74 of file G4VViewer.cc.

74 {
75 fName = name;
76 fShortName = fName.substr(0, fName.find (' '));
78}

◆ SetNeedKernelVisit()

void G4VViewer::SetNeedKernelVisit ( G4bool  need)

◆ SetTouchable()

void G4VViewer::SetTouchable ( const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &  fullPath)
protected

Definition at line 130 of file G4VViewer.cc.

132{
133 // Set the touchable for /vis/touchable/set/... commands.
134 std::ostringstream oss;
135 const auto& pvStore = G4PhysicalVolumeStore::GetInstance();
136 for (const auto& pvNodeId: fullPath) {
137 const auto& pv = pvNodeId.GetPhysicalVolume();
138 auto iterator = find(pvStore->cbegin(),pvStore->cend(),pv);
139 if (iterator == pvStore->cend()) {
141 ed << "Volume no longer in physical volume store.";
142 G4Exception("G4VViewer::SetTouchable", "visman0501", JustWarning, ed);
143 } else {
144 oss
145 << ' ' << pvNodeId.GetPhysicalVolume()->GetName()
146 << ' ' << pvNodeId.GetCopyNo();
147 }
148 }
149 G4UImanager::GetUIpointer()->ApplyCommand("/vis/set/touchable" + oss.str());
150}
@ JustWarning
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
Definition: G4Exception.cc:59
std::ostringstream G4ExceptionDescription
Definition: G4Exception.hh:40
static G4PhysicalVolumeStore * GetInstance()
G4int ApplyCommand(const char *aCommand)
Definition: G4UImanager.cc:495
static G4UImanager * GetUIpointer()
Definition: G4UImanager.cc:77

◆ SetView()

◆ SetViewParameters()

◆ ShowView()

◆ TouchableSetColour()

void G4VViewer::TouchableSetColour ( const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &  fullPath,
const G4Colour colour 
)
protected

Definition at line 177 of file G4VViewer.cc.

180{
181 // Changes the Vis Attribute Modifiers WITHOUT triggering a rebuild.
182
183 // The following is equivalent to
184 // G4UImanager::GetUIpointer()->ApplyCommand("/vis/touchable/set/colour ...");
185 // (assuming the touchable has already been set), but avoids view rebuild.
186
187 // Instantiate a working copy of a G4VisAttributes object...
188 G4VisAttributes workingVisAtts;
189 // and set the colour.
190 workingVisAtts.SetColour(colour);
191
194 (workingVisAtts,
197 // G4ModelingParameters::VASColour (VAS = Vis Attribute Signifier)
198 // signifies that it is the colour that should be picked out
199 // and merged with the touchable's normal vis attributes.
200}
static G4ModelingParameters::PVNameCopyNoPath GetPVNameCopyNoPath(const std::vector< G4PhysicalVolumeNodeID > &)
void AddVisAttributesModifier(const G4ModelingParameters::VisAttributesModifier &)
void SetColour(const G4Colour &)

◆ TouchableSetVisibility()

void G4VViewer::TouchableSetVisibility ( const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &  fullPath,
G4bool  visibility 
)
protected

Definition at line 152 of file G4VViewer.cc.

155{
156 // Changes the Vis Attribute Modifiers WITHOUT triggering a rebuild.
157
158 // The following is equivalent to
159 // G4UImanager::GetUIpointer()->ApplyCommand("/vis/touchable/set/visibility ...");
160 // (assuming the touchable has already been set), but avoids view rebuild.
161
162 // Instantiate a working copy of a G4VisAttributes object...
163 G4VisAttributes workingVisAtts;
164 // and set the visibility.
165 workingVisAtts.SetVisibility(visibiity);
166
169 (workingVisAtts,
172 // G4ModelingParameters::VASVisibility (VAS = Vis Attribute Signifier)
173 // signifies that it is the visibility that should be picked out
174 // and merged with the touchable's normal vis attributes.
175}
void SetVisibility(G4bool=true)

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const G4VViewer v 
)
friend

Definition at line 380 of file G4VViewer.cc.

380 {
381 os << "View " << v.fName << ":\n";
382 os << v.fVP;
383 return os;
384}

Member Data Documentation

◆ fDefaultVP

◆ fKernelVisitElapsedTimeSeconds

G4double G4VViewer::fKernelVisitElapsedTimeSeconds = 999.
protected

Definition at line 222 of file G4VViewer.hh.

Referenced by ProcessView().

◆ fName

◆ fNeedKernelVisit

◆ fSceneHandler

◆ fShortName

G4String G4VViewer::fShortName
protected

Definition at line 219 of file G4VViewer.hh.

Referenced by G4RayTracerViewer::DrawView(), G4VViewer(), and SetName().

◆ fViewId

◆ fVP

G4ViewParameters G4VViewer::fVP
protected

Definition at line 220 of file G4VViewer.hh.

Referenced by G4OpenGLXmViewer::actions_callback(), G4OpenGLSceneHandler::AddPrimitive(), G4OpenGLXmViewer::aux_edge_callback(), G4OpenGLStoredQtViewer::CompareForKernelVisit(), G4OpenGLStoredViewer::CompareForKernelVisit(), G4Qt3DViewer::CompareForKernelVisit(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::CompareForKernelVisit(), G4OpenGLWin32Viewer::CreateMainWindow(), G4OpenGLXmViewer::CreateMainWindow(), G4OpenGLXViewer::CreateMainWindow(), G4OpenGLQtViewer::CreateMainWindow(), G4OpenGLXmViewer::dolly_callback(), G4OpenGLStoredViewer::DrawDisplayLists(), G4OpenGLXmViewer::drawing_style_callback(), G4OpenGLStoredWin32Viewer::DrawView(), G4OpenGLStoredXmViewer::DrawView(), G4OpenGLStoredXViewer::DrawView(), G4OpenInventorViewer::DrawView(), G4Qt3DViewer::DrawView(), G4RayTracerViewer::DrawView(), G4ToolsSGOffscreenViewer::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(), G4OpenGLQtViewer::G4wheelEvent(), G4OpenGLViewer::getSceneDepth(), G4OpenGLViewer::getSceneFarWidth(), G4OpenGLViewer::getSceneNearWidth(), G4OpenGLXmViewer::GetXmConnection(), G4OpenInventorQtViewer::Initialise(), G4OpenInventorWinViewer::Initialise(), G4OpenInventorXtExtendedViewer::Initialise(), G4OpenInventorXtViewer::Initialise(), G4Qt3DViewer::Initialise(), G4RayTracerViewer::Initialise(), G4RayTracerXViewer::Initialise(), G4ToolsSGOffscreenViewer::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::rotateSceneToggle(), G4DAWNFILEViewer::SendDrawingStyleToDAWNGUI(), G4DAWNFILEViewer::SendViewParameters(), G4OpenGLXmViewer::set_rot_subject_callback(), G4OpenGLViewerMessenger::SetNewValue(), G4OpenGLXmViewerMessenger::SetNewValue(), G4ToolsSGOffscreenViewer::SetSize(), G4OpenGLViewer::SetView(), G4OpenInventorQtViewer::SetView(), G4OpenInventorViewer::SetView(), G4OpenInventorWinViewer::SetView(), G4OpenInventorXtExtendedViewer::SetView(), G4OpenInventorXtViewer::SetView(), G4Qt3DViewer::SetView(), G4RayTracerViewer::SetView(), G4ToolsSGOffscreenViewer::SetView(), G4ToolsSGQtViewer::SetView(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::SetView(), G4VtkViewer::SetView(), SetViewParameters(), G4OpenGLXViewer::ShowView(), G4VtkViewer::ShowView(), TouchableSetColour(), TouchableSetVisibility(), G4OpenGLXmViewer::up_down_pan_callback(), G4OpenGLXmViewer::update_panels_callback(), G4OpenGLQtViewer::updateToolbarAndMouseContextMenu(), G4OpenGLQtViewer::updateViewerPropertiesTableWidget(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::wheel_rotate(), G4Qt3DViewer::wheelEvent(), G4OpenGLXmViewer::wobble_callback(), G4OpenGLXmViewer::wobble_timer_callback(), and G4OpenGLXmViewer::zoom_callback().


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