ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VRML2FileViewer Class Reference

#include <geant4/tree/geant4-10.6-release/source/visualization/VRML/include/G4VRML2FileViewer.hh>

+ Inheritance diagram for G4VRML2FileViewer:
+ Collaboration diagram for G4VRML2FileViewer:

Public Member Functions

 G4VRML2FileViewer (G4VRML2FileSceneHandler &scene, const G4String &name="")
 
virtual ~G4VRML2FileViewer ()
 
void ClearView ()
 
void DrawView ()
 
void ShowView ()
 
void FinishView ()
 
- Public Member Functions inherited from G4VViewer
 G4VViewer (G4VSceneHandler &, G4int id, const G4String &name="")
 
virtual ~G4VViewer ()
 
virtual void Initialise ()
 
virtual void ResetView ()
 
void RefreshView ()
 
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
 
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 ()
 

Private Member Functions

void SetView ()
 
void SendViewParameters ()
 

Private Attributes

G4VRML2FileSceneHandlerfSceneHandler
 
std::ofstream & fDest
 
G4double fViewHalfAngle
 
G4double fsin_VHA
 

Additional Inherited Members

- Protected Member Functions inherited from G4VViewer
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 inherited from G4VViewer
G4VSceneHandlerfSceneHandler
 
G4int fViewId
 
G4String fName
 
G4String fShortName
 
G4ViewParameters fVP
 
G4ViewParameters fDefaultVP
 
G4bool fNeedKernelVisit
 

Detailed Description

Definition at line 40 of file G4VRML2FileViewer.hh.

View newest version in sPHENIX GitHub at line 40 of file G4VRML2FileViewer.hh

Constructor & Destructor Documentation

G4VRML2FileViewer::G4VRML2FileViewer ( G4VRML2FileSceneHandler scene,
const G4String name = "" 
)

Definition at line 44 of file G4VRML2FileViewer.cc.

View newest version in sPHENIX GitHub at line 44 of file G4VRML2FileViewer.cc

References deg, fsin_VHA, and fViewHalfAngle.

G4VRML2FileViewer::~G4VRML2FileViewer ( )
virtual

Definition at line 56 of file G4VRML2FileViewer.cc.

View newest version in sPHENIX GitHub at line 56 of file G4VRML2FileViewer.cc

Member Function Documentation

void G4VRML2FileViewer::ClearView ( void  )
virtual

Implements G4VViewer.

Definition at line 89 of file G4VRML2FileViewer.cc.

View newest version in sPHENIX GitHub at line 89 of file G4VRML2FileViewer.cc

References G4VisManager::errors, G4VRML2FileSceneHandler::fDest, G4VRML2FileSceneHandler::fFlagDestOpen, fSceneHandler, G4VRML2FileSceneHandler::fVRMLFileName, G4cout, G4endl, and G4VisManager::GetVerbosity().

+ Here is the call graph for this function:

void G4VRML2FileViewer::DrawView ( )
virtual

Implements G4VViewer.

Definition at line 71 of file G4VRML2FileViewer.cc.

View newest version in sPHENIX GitHub at line 71 of file G4VRML2FileViewer.cc

References G4VisManager::errors, FinishView(), fSceneHandler, G4cout, G4endl, G4VisManager::GetVerbosity(), G4VViewer::NeedKernelVisit(), G4VViewer::ProcessView(), SendViewParameters(), and G4VRML2FileSceneHandler::VRMLBeginModeling().

+ Here is the call graph for this function:

void G4VRML2FileViewer::FinishView ( void  )
virtual

Reimplemented from G4VViewer.

Definition at line 113 of file G4VRML2FileViewer.cc.

View newest version in sPHENIX GitHub at line 113 of file G4VRML2FileViewer.cc

References G4VisManager::errors, G4cout, G4endl, and G4VisManager::GetVerbosity().

Referenced by DrawView().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4VRML2FileViewer::SendViewParameters ( )
private

Definition at line 121 of file G4VRML2FileViewer.cc.

View newest version in sPHENIX GitHub at line 121 of file G4VRML2FileViewer.cc

References E, e, G4VisManager::errors, fDest, fSceneHandler, fsin_VHA, G4VViewer::fVP, G4cout, G4endl, G4ViewParameters::GetCurrentTargetPoint(), G4Scene::GetExtent(), G4VisExtent::GetExtentRadius(), G4VSceneHandler::GetScene(), G4Scene::GetStandardTargetPoint(), G4VisManager::GetVerbosity(), return(), HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().

Referenced by DrawView().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4VRML2FileViewer::SetView ( )
privatevirtual

Implements G4VViewer.

Definition at line 59 of file G4VRML2FileViewer.cc.

View newest version in sPHENIX GitHub at line 59 of file G4VRML2FileViewer.cc

References G4VisManager::errors, G4cout, G4endl, and G4VisManager::GetVerbosity().

+ Here is the call graph for this function:

void G4VRML2FileViewer::ShowView ( void  )
virtual

Reimplemented from G4VViewer.

Definition at line 104 of file G4VRML2FileViewer.cc.

View newest version in sPHENIX GitHub at line 104 of file G4VRML2FileViewer.cc

References G4VisManager::errors, fSceneHandler, G4cout, G4endl, G4VisManager::GetVerbosity(), and G4VRML2FileSceneHandler::VRMLEndModeling().

+ Here is the call graph for this function:

Member Data Documentation

std::ofstream& G4VRML2FileViewer::fDest
private

Definition at line 54 of file G4VRML2FileViewer.hh.

View newest version in sPHENIX GitHub at line 54 of file G4VRML2FileViewer.hh

Referenced by SendViewParameters().

G4VRML2FileSceneHandler& G4VRML2FileViewer::fSceneHandler
private

Definition at line 53 of file G4VRML2FileViewer.hh.

View newest version in sPHENIX GitHub at line 53 of file G4VRML2FileViewer.hh

Referenced by ClearView(), DrawView(), SendViewParameters(), and ShowView().

G4double G4VRML2FileViewer::fsin_VHA
private

Definition at line 57 of file G4VRML2FileViewer.hh.

View newest version in sPHENIX GitHub at line 57 of file G4VRML2FileViewer.hh

Referenced by G4VRML2FileViewer(), and SendViewParameters().

G4double G4VRML2FileViewer::fViewHalfAngle
private

Definition at line 56 of file G4VRML2FileViewer.hh.

View newest version in sPHENIX GitHub at line 56 of file G4VRML2FileViewer.hh

Referenced by G4VRML2FileViewer().


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