Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4Polymarker Class Reference

#include <G4Polymarker.hh>

+ Inheritance diagram for G4Polymarker:

Public Types

enum  MarkerType { dots , circles , squares }
 
- Public Types inherited from G4VMarker
enum  FillStyle { noFill , hashed , filled }
 
enum  SizeType { none , world , screen }
 
- Public Types inherited from G4Point3DList
typedef std::vector< G4Point3D >::iterator iterator
 

Public Member Functions

 G4Polymarker ()
 
 G4Polymarker (const G4VMarker &)
 
virtual ~G4Polymarker ()
 
MarkerType GetMarkerType () const
 
void SetMarkerType (MarkerType)
 
- Public Member Functions inherited from G4VMarker
 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 &)
 
- Public Member Functions inherited from G4Point3DList
virtual ~G4Point3DList ()
 

Friends

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

Additional Inherited Members

- Protected Attributes inherited from G4Visible
const G4VisAttributesfpVisAttributes
 
G4bool fAllocatedVisAttributes
 

Detailed Description

Definition at line 42 of file G4Polymarker.hh.

Member Enumeration Documentation

◆ MarkerType

Enumerator
dots 
circles 
squares 

Definition at line 47 of file G4Polymarker.hh.

Constructor & Destructor Documentation

◆ G4Polymarker() [1/2]

G4Polymarker::G4Polymarker ( )

Definition at line 33 of file G4Polymarker.cc.

33 :
34fMarkerType (G4Polymarker::dots)
35{}

◆ G4Polymarker() [2/2]

G4Polymarker::G4Polymarker ( const G4VMarker marker)

Definition at line 37 of file G4Polymarker.cc.

37 :
38 G4VMarker (marker),
39 fMarkerType (G4Polymarker::dots)
40{}

◆ ~G4Polymarker()

G4Polymarker::~G4Polymarker ( )
virtual

Definition at line 42 of file G4Polymarker.cc.

42{}

Member Function Documentation

◆ GetMarkerType()

MarkerType G4Polymarker::GetMarkerType ( ) const

◆ SetMarkerType()

void G4Polymarker::SetMarkerType ( MarkerType  )

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 44 of file G4Polymarker.cc.

44 {
45 os << "G4Polymarker: type: ";
46 switch (marker.fMarkerType) {
48 os << "dots"; break;
50 os << "circles"; break;
52 os << "squares"; break;
53 default:
54 os << "unrecognised"; break;
55 }
56 os << "\n " << (G4VMarker) marker;
57 os << "\n " << (G4Point3DList) marker;
58 return os;
59}

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