Geant4  10.03
G4VMarker Class Reference

#include <G4VMarker.hh>

+ Inheritance diagram for G4VMarker:
+ Collaboration diagram for G4VMarker:

Public Types

enum  FillStyle { noFill, hashed, filled }
 
enum  SizeType { none, world, screen }
 

Public Member Functions

 G4VMarker ()
 
 G4VMarker (const G4VMarker &)
 
 G4VMarker (const G4Point3D &position)
 
virtual ~G4VMarker ()
 
G4VMarkeroperator= (const G4VMarker &)
 
G4bool operator!= (const G4VMarker &) const
 
G4Point3D GetPosition () const
 
SizeType GetSizeType () const
 
G4double GetWorldSize () const
 
G4double GetWorldDiameter () const
 
G4double GetWorldRadius () const
 
G4double GetScreenSize () const
 
G4double GetScreenDiameter () const
 
G4double GetScreenRadius () const
 
FillStyle GetFillStyle () const
 
void SetPosition (const G4Point3D &)
 
void SetSize (SizeType, G4double)
 
void SetDiameter (SizeType, G4double)
 
void SetRadius (SizeType, G4double)
 
void SetWorldSize (G4double)
 
void SetWorldDiameter (G4double)
 
void SetWorldRadius (G4double)
 
void SetScreenSize (G4double)
 
void SetScreenDiameter (G4double)
 
void SetScreenRadius (G4double)
 
void SetFillStyle (FillStyle)
 
virtual const G4StringGetInfo () const
 
virtual void SetInfo (const G4String &info)
 
- Public Member Functions inherited from G4Visible
 G4Visible ()
 
 G4Visible (const G4Visible &)
 
 G4Visible (const G4VisAttributes *)
 
virtual ~G4Visible ()
 
G4Visibleoperator= (const G4Visible &)
 
G4bool operator!= (const G4Visible &right) const
 
const G4VisAttributesGetVisAttributes () const
 
void SetVisAttributes (const G4VisAttributes *)
 
void SetVisAttributes (const G4VisAttributes &)
 

Private Attributes

G4Point3D fPosition
 
G4double fWorldSize
 
G4double fScreenSize
 
FillStyle fFillStyle
 
G4String fInfo
 

Friends

std::ostream & operator<< (std::ostream &os, const G4VMarker &)
 

Additional Inherited Members

- Protected Attributes inherited from G4Visible
const G4VisAttributesfpVisAttributes
 
G4bool fAllocatedVisAttributes
 

Detailed Description

Definition at line 91 of file G4VMarker.hh.

Member Enumeration Documentation

Enumerator
noFill 
hashed 
filled 

Definition at line 97 of file G4VMarker.hh.

Enumerator
none 
world 
screen 

Definition at line 98 of file G4VMarker.hh.

Constructor & Destructor Documentation

G4VMarker::G4VMarker ( )

Definition at line 35 of file G4VMarker.cc.

G4VMarker::G4VMarker ( const G4VMarker mk)

Definition at line 44 of file G4VMarker.cc.

G4VMarker::G4VMarker ( const G4Point3D position)

Definition at line 53 of file G4VMarker.cc.

G4VMarker::~G4VMarker ( )
virtual

Definition at line 63 of file G4VMarker.cc.

Member Function Documentation

FillStyle G4VMarker::GetFillStyle ( ) const

Referenced by G4HepRepSceneHandler::setMarker().

+ Here is the caller graph for this function:

virtual const G4String& G4VMarker::GetInfo ( ) const
virtual
G4Point3D G4VMarker::GetPosition ( ) const

Referenced by G4HepRepSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddPrimitive(), and G4TextModel::G4TextModel().

+ Here is the caller graph for this function:

G4double G4VMarker::GetScreenDiameter ( ) const
G4double G4VMarker::GetScreenRadius ( ) const
G4double G4VMarker::GetScreenSize ( ) const

Referenced by G4TextModel::G4TextModel(), and G4VSceneHandler::GetMarkerSize().

+ Here is the caller graph for this function:

G4VMarker::SizeType G4VMarker::GetSizeType ( ) const

Definition at line 112 of file G4VMarker.cc.

References fScreenSize, fWorldSize, none, screen, and world.

G4double G4VMarker::GetWorldDiameter ( ) const
G4double G4VMarker::GetWorldRadius ( ) const

Referenced by G4HepRepFileSceneHandler::AddPrimitive().

+ Here is the caller graph for this function:

G4double G4VMarker::GetWorldSize ( ) const

Referenced by G4VSceneHandler::GetMarkerSize().

+ Here is the caller graph for this function:

G4bool G4VMarker::operator!= ( const G4VMarker mk) const

Definition at line 76 of file G4VMarker.cc.

References fFillStyle, fInfo, fPosition, fScreenSize, and fWorldSize.

G4VMarker & G4VMarker::operator= ( const G4VMarker mk)

Definition at line 65 of file G4VMarker.cc.

References fFillStyle, fInfo, fPosition, fScreenSize, fWorldSize, and G4Visible::operator=().

Referenced by G4Text::operator=().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4VMarker::SetDiameter ( SizeType  ,
G4double   
)
virtual void G4VMarker::SetInfo ( const G4String info)
virtual
void G4VMarker::SetPosition ( const G4Point3D )

Referenced by G4VSceneHandler::AddPrimitive(), and CexmcEventAction::DrawTrackPoints().

+ Here is the caller graph for this function:

void G4VMarker::SetRadius ( SizeType  ,
G4double   
)
void G4VMarker::SetScreenDiameter ( G4double  )
void G4VMarker::SetScreenRadius ( G4double  )
void G4VMarker::SetSize ( SizeType  sizeType,
G4double  size 
)

Definition at line 119 of file G4VMarker.cc.

References fScreenSize, fWorldSize, screen, and world.

Referenced by G4TrajectoryDrawerUtils::DrawWithoutTime(), and G4TrajectoryDrawerUtils::DrawWithTime().

+ Here is the caller graph for this function:

void G4VMarker::SetWorldDiameter ( G4double  )
void G4VMarker::SetWorldRadius ( G4double  )
void G4VMarker::SetWorldSize ( G4double  )

Referenced by G4VSceneHandler::AddPrimitive().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const G4VMarker marker 
)
friend

Definition at line 89 of file G4VMarker.cc.

Member Data Documentation

FillStyle G4VMarker::fFillStyle
private

Definition at line 152 of file G4VMarker.hh.

Referenced by operator!=(), operator<<(), and operator=().

G4String G4VMarker::fInfo
private

Definition at line 155 of file G4VMarker.hh.

Referenced by operator!=(), operator<<(), and operator=().

G4Point3D G4VMarker::fPosition
private

Definition at line 149 of file G4VMarker.hh.

Referenced by operator!=(), operator<<(), and operator=().

G4double G4VMarker::fScreenSize
private

Definition at line 151 of file G4VMarker.hh.

Referenced by GetSizeType(), operator!=(), operator<<(), operator=(), and SetSize().

G4double G4VMarker::fWorldSize
private

Definition at line 150 of file G4VMarker.hh.

Referenced by GetSizeType(), operator!=(), operator<<(), operator=(), and SetSize().


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