Geant4  10.00.p02
PerspectiveVisAction Class Reference

#include <PerspectiveVisAction.hh>

+ Inheritance diagram for PerspectiveVisAction:
+ Collaboration diagram for PerspectiveVisAction:

Public Member Functions

 PerspectiveVisAction ()
 
void SetOptionString (const G4String &optionString)
 
void SetScene (const G4String &scene)
 
virtual void Draw ()
 
- Public Member Functions inherited from G4VUserVisAction
 G4VUserVisAction ()
 
virtual ~G4VUserVisAction ()
 
void operator() (G4VGraphicsScene &, const G4Transform3D &)
 

Private Member Functions

void ExtendedDraw (const G4VSolid &, const G4VisAttributes &, const G4Transform3D &objectTransformation=G4Transform3D())
 
void RoomAndChair ()
 
void Chair (const G4VisAttributes &, const G4Transform3D &)
 

Private Attributes

G4VVisManagerfpVisManager
 
G4String fOptionString
 
G4String fScene
 
G4double fRoomX
 
G4double fRoomY
 
G4double fRoomZ
 
G4double fWindowX
 
G4double fWindowY
 
G4double fWindowZ
 
G4double fWindowSillHeight
 
G4double fWindowOffset
 
G4double fDoorFrameX
 
G4double fDoorFrameY
 
G4double fDoorFrameZ
 
G4double fDoorFrameOffset
 
G4double fDoorX
 
G4double fDoorY
 
G4double fDoorZ
 
G4double fChairX
 
G4double fChairY
 
G4double fChairZ
 
G4double fChairSeat
 
G4double fChairThickness
 

Detailed Description

Definition at line 50 of file PerspectiveVisAction.hh.

Constructor & Destructor Documentation

PerspectiveVisAction::PerspectiveVisAction ( )

Definition at line 46 of file PerspectiveVisAction.cc.

Member Function Documentation

void PerspectiveVisAction::Chair ( const G4VisAttributes visAtts,
const G4Transform3D transform 
)
private

Definition at line 145 of file PerspectiveVisAction.cc.

Referenced by RoomAndChair().

+ Here is the caller graph for this function:

void PerspectiveVisAction::Draw ( )
virtual

Implements G4VUserVisAction.

Definition at line 77 of file PerspectiveVisAction.cc.

References fpVisManager, fScene, G4VVisManager::GetConcreteInstance(), and RoomAndChair().

+ Here is the call graph for this function:

void PerspectiveVisAction::ExtendedDraw ( const G4VSolid solid,
const G4VisAttributes visAtts,
const G4Transform3D objectTransformation = G4Transform3D() 
)
private

Definition at line 173 of file PerspectiveVisAction.cc.

References A, G4VSolid::GetPolyhedron(), m, n, G4Visible::SetVisAttributes(), and z.

Referenced by RoomAndChair().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PerspectiveVisAction::RoomAndChair ( )
private

Definition at line 93 of file PerspectiveVisAction.cc.

References A, Chair(), G4Colour::Cyan(), deg, ExtendedDraw(), fChairY, fDoorFrameOffset, fDoorFrameX, fDoorFrameY, fDoorFrameZ, fDoorX, fDoorY, fDoorZ, fRoomX, fRoomY, fRoomZ, fWindowOffset, fWindowSillHeight, fWindowX, fWindowY, fWindowZ, G4Colour::Red(), and G4VisAttributes::SetForceWireframe().

Referenced by Draw().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PerspectiveVisAction::SetOptionString ( const G4String optionString)
inline

Definition at line 53 of file PerspectiveVisAction.hh.

References fOptionString.

void PerspectiveVisAction::SetScene ( const G4String scene)
inline

Definition at line 55 of file PerspectiveVisAction.hh.

References fScene.

Member Data Documentation

G4double PerspectiveVisAction::fChairSeat
private

Definition at line 66 of file PerspectiveVisAction.hh.

G4double PerspectiveVisAction::fChairThickness
private

Definition at line 66 of file PerspectiveVisAction.hh.

G4double PerspectiveVisAction::fChairX
private

Definition at line 66 of file PerspectiveVisAction.hh.

G4double PerspectiveVisAction::fChairY
private

Definition at line 66 of file PerspectiveVisAction.hh.

Referenced by RoomAndChair().

G4double PerspectiveVisAction::fChairZ
private

Definition at line 66 of file PerspectiveVisAction.hh.

G4double PerspectiveVisAction::fDoorFrameOffset
private

Definition at line 66 of file PerspectiveVisAction.hh.

Referenced by RoomAndChair().

G4double PerspectiveVisAction::fDoorFrameX
private

Definition at line 66 of file PerspectiveVisAction.hh.

Referenced by RoomAndChair().

G4double PerspectiveVisAction::fDoorFrameY
private

Definition at line 66 of file PerspectiveVisAction.hh.

Referenced by RoomAndChair().

G4double PerspectiveVisAction::fDoorFrameZ
private

Definition at line 66 of file PerspectiveVisAction.hh.

Referenced by RoomAndChair().

G4double PerspectiveVisAction::fDoorX
private

Definition at line 66 of file PerspectiveVisAction.hh.

Referenced by RoomAndChair().

G4double PerspectiveVisAction::fDoorY
private

Definition at line 66 of file PerspectiveVisAction.hh.

Referenced by RoomAndChair().

G4double PerspectiveVisAction::fDoorZ
private

Definition at line 66 of file PerspectiveVisAction.hh.

Referenced by RoomAndChair().

G4String PerspectiveVisAction::fOptionString
private

Definition at line 64 of file PerspectiveVisAction.hh.

Referenced by SetOptionString().

G4VVisManager* PerspectiveVisAction::fpVisManager
private

Definition at line 63 of file PerspectiveVisAction.hh.

Referenced by Draw().

G4double PerspectiveVisAction::fRoomX
private

Definition at line 66 of file PerspectiveVisAction.hh.

Referenced by RoomAndChair().

G4double PerspectiveVisAction::fRoomY
private

Definition at line 66 of file PerspectiveVisAction.hh.

Referenced by RoomAndChair().

G4double PerspectiveVisAction::fRoomZ
private

Definition at line 66 of file PerspectiveVisAction.hh.

Referenced by RoomAndChair().

G4String PerspectiveVisAction::fScene
private

Definition at line 65 of file PerspectiveVisAction.hh.

Referenced by Draw(), and SetScene().

G4double PerspectiveVisAction::fWindowOffset
private

Definition at line 66 of file PerspectiveVisAction.hh.

Referenced by RoomAndChair().

G4double PerspectiveVisAction::fWindowSillHeight
private

Definition at line 66 of file PerspectiveVisAction.hh.

Referenced by RoomAndChair().

G4double PerspectiveVisAction::fWindowX
private

Definition at line 66 of file PerspectiveVisAction.hh.

Referenced by RoomAndChair().

G4double PerspectiveVisAction::fWindowY
private

Definition at line 66 of file PerspectiveVisAction.hh.

Referenced by RoomAndChair().

G4double PerspectiveVisAction::fWindowZ
private

Definition at line 66 of file PerspectiveVisAction.hh.

Referenced by RoomAndChair().


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