Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VGraphicsSystem Class Referenceabstract

#include <G4VGraphicsSystem.hh>

Inheritance diagram for G4VGraphicsSystem:
Collaboration diagram for G4VGraphicsSystem:

Public Types

enum  Functionality {
  noFunctionality, nonEuclidian, twoD, twoDStore,
  threeD, threeDInteractive, virtualReality, fileWriter
}
 

Public Member Functions

 G4VGraphicsSystem (const G4String &name, Functionality f)
 
 G4VGraphicsSystem (const G4String &name, const G4String &nickname, Functionality f)
 
 G4VGraphicsSystem (const G4String &name, const G4String &nickname, const G4String &description, Functionality f)
 
virtual ~G4VGraphicsSystem ()
 
virtual G4VSceneHandlerCreateSceneHandler (const G4String &name)=0
 
virtual G4VViewerCreateViewer (G4VSceneHandler &, const G4String &name)=0
 
const G4StringGetName () const
 
const G4StringGetNickname () const
 
const std::vector< G4String > & GetNicknames () const
 
const G4StringGetDescription () const
 
Functionality GetFunctionality () const
 
virtual G4bool IsUISessionCompatible () const
 
void AddNickname (const G4String &nickname)
 

Protected Attributes

G4String fName
 
std::vector< G4StringfNicknames
 
G4String fDescription
 
Functionality fFunctionality
 

Detailed Description

Definition at line 46 of file G4VGraphicsSystem.hh.

Member Enumeration Documentation

Enumerator
noFunctionality 
nonEuclidian 
twoD 
twoDStore 
threeD 
threeDInteractive 
virtualReality 
fileWriter 

Definition at line 50 of file G4VGraphicsSystem.hh.

50  {
52  ,nonEuclidian // e.g., tree representation of geometry hierarchy.
53  ,twoD // Simple 2D, e.g., X (no stored structures).
54  ,twoDStore // 2D with stored structures.
55  ,threeD // Passive 3D (with stored structures).
56  ,threeDInteractive // 3D with "pick" functionality.
57  ,virtualReality // Virtual Reality functionality.
58  ,fileWriter // File writer
59  };

Constructor & Destructor Documentation

G4VGraphicsSystem::G4VGraphicsSystem ( const G4String name,
Functionality  f 
)

Definition at line 39 of file G4VGraphicsSystem.cc.

40  :
41  fName (name),
42  fDescription ("No description"),
43  fFunctionality (f)
44 {
45  fNicknames.push_back("No Nickname");
46 }
std::vector< G4String > fNicknames
Functionality fFunctionality
G4VGraphicsSystem::G4VGraphicsSystem ( const G4String name,
const G4String nickname,
Functionality  f 
)

Definition at line 48 of file G4VGraphicsSystem.cc.

50  :
51  fName (name),
52  fDescription ("No description"),
53  fFunctionality (f)
54 {
55  fNicknames.push_back(nickname);
56 }
std::vector< G4String > fNicknames
Functionality fFunctionality
G4VGraphicsSystem::G4VGraphicsSystem ( const G4String name,
const G4String nickname,
const G4String description,
Functionality  f 
)

Definition at line 58 of file G4VGraphicsSystem.cc.

61  :
62  fName (name),
63  fDescription (description),
64  fFunctionality (f)
65 {
66  fNicknames.push_back(nickname);
67 }
std::vector< G4String > fNicknames
Functionality fFunctionality
G4VGraphicsSystem::~G4VGraphicsSystem ( )
virtual

Definition at line 37 of file G4VGraphicsSystem.cc.

37 {}

Member Function Documentation

void G4VGraphicsSystem::AddNickname ( const G4String nickname)
inline

Definition at line 86 of file G4VGraphicsSystem.hh.

86 {fNicknames.push_back(nickname);}
std::vector< G4String > fNicknames
const G4String& G4VGraphicsSystem::GetDescription ( ) const
inline

Definition at line 83 of file G4VGraphicsSystem.hh.

83 {return fDescription;}

Here is the caller graph for this function:

Functionality G4VGraphicsSystem::GetFunctionality ( ) const
inline

Definition at line 84 of file G4VGraphicsSystem.hh.

84 {return fFunctionality;}
Functionality fFunctionality

Here is the caller graph for this function:

const G4String& G4VGraphicsSystem::GetName ( void  ) const
inline

Definition at line 80 of file G4VGraphicsSystem.hh.

80 {return fName;}

Here is the caller graph for this function:

const G4String& G4VGraphicsSystem::GetNickname ( ) const
inline

Definition at line 81 of file G4VGraphicsSystem.hh.

81 {return fNicknames[0];}
std::vector< G4String > fNicknames

Here is the caller graph for this function:

const std::vector<G4String>& G4VGraphicsSystem::GetNicknames ( ) const
inline

Definition at line 82 of file G4VGraphicsSystem.hh.

82 {return fNicknames;}
std::vector< G4String > fNicknames

Here is the caller graph for this function:

G4bool G4VGraphicsSystem::IsUISessionCompatible ( ) const
virtual

Reimplemented in G4OpenInventor, G4OpenGLQt, and G4OpenGLXm.

Definition at line 69 of file G4VGraphicsSystem.cc.

70 {
71  return true;
72 }

Member Data Documentation

G4String G4VGraphicsSystem::fDescription
protected

Definition at line 91 of file G4VGraphicsSystem.hh.

Functionality G4VGraphicsSystem::fFunctionality
protected

Definition at line 92 of file G4VGraphicsSystem.hh.

G4String G4VGraphicsSystem::fName
protected

Definition at line 89 of file G4VGraphicsSystem.hh.

std::vector<G4String> G4VGraphicsSystem::fNicknames
protected

Definition at line 90 of file G4VGraphicsSystem.hh.


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