Geant4 9.6.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 43 of file G4Polymarker.hh.

Member Enumeration Documentation

◆ MarkerType

Enumerator
dots 
circles 
squares 

Definition at line 48 of file G4Polymarker.hh.

Constructor & Destructor Documentation

◆ G4Polymarker() [1/2]

G4Polymarker::G4Polymarker ( )

Definition at line 34 of file G4Polymarker.cc.

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

◆ G4Polymarker() [2/2]

G4Polymarker::G4Polymarker ( const G4VMarker marker)

Definition at line 38 of file G4Polymarker.cc.

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

◆ ~G4Polymarker()

G4Polymarker::~G4Polymarker ( )
virtual

Definition at line 43 of file G4Polymarker.cc.

43{}

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 45 of file G4Polymarker.cc.

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

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