62 lines
2.4 KiB
C++
62 lines
2.4 KiB
C++
//
|
|
// ********************************************************************
|
|
// * DISCLAIMER *
|
|
// * *
|
|
// * The following disclaimer summarizes all the specific disclaimers *
|
|
// * of contributors to this software. The specific disclaimers,which *
|
|
// * govern, are listed with their locations in: *
|
|
// * http://cern.ch/geant4/license *
|
|
// * *
|
|
// * Neither the authors of this software system, nor their employing *
|
|
// * institutes,nor the agencies providing financial support for this *
|
|
// * work make any representation or warranty, express or implied, *
|
|
// * regarding this software system or assume any liability for its *
|
|
// * use. *
|
|
// * *
|
|
// * This code implementation is the intellectual property of the *
|
|
// * GEANT4 collaboration. *
|
|
// * By copying, distributing or modifying the Program (or any work *
|
|
// * based on the Program) you indicate your acceptance of this *
|
|
// * statement, and all its terms. *
|
|
// ********************************************************************
|
|
//
|
|
//
|
|
// $Id: G4Polymarker.hh,v 1.7 2001/07/11 10:01:03 gunter Exp $
|
|
// GEANT4 tag $Name: geant4-05-00 $
|
|
//
|
|
//
|
|
// John Allison November 1996
|
|
|
|
// Class Description:
|
|
// A set of markers.
|
|
// Class Description - End:
|
|
|
|
|
|
#ifndef G4POLYMARKER_HH
|
|
#define G4POLYMARKER_HH
|
|
|
|
#include "G4VMarker.hh"
|
|
#include "G4Point3DList.hh"
|
|
|
|
class G4Polymarker: public G4VMarker, public G4Point3DList {
|
|
|
|
public: // With description
|
|
|
|
friend G4std::ostream& operator << (G4std::ostream& os, const G4Polymarker& marker);
|
|
enum MarkerType {line, dots, circles, squares};
|
|
G4Polymarker ();
|
|
virtual ~G4Polymarker ();
|
|
virtual G4Visible& operator = (const G4Visible& right);
|
|
virtual G4VVisPrim& operator = (const G4VVisPrim& right);
|
|
virtual G4VMarker& operator = (const G4VMarker& right);
|
|
virtual G4Polymarker& operator = (const G4Polymarker& right);
|
|
MarkerType GetMarkerType () const;
|
|
void SetMarkerType (MarkerType type);
|
|
private:
|
|
MarkerType fMarkerType;
|
|
};
|
|
|
|
#include "G4Polymarker.icc"
|
|
|
|
#endif
|