Files
geant4/source/graphics_reps/include/G4Polyline.hh
T
2016-06-09 10:49:58 +02:00

63 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: G4Polyline.hh,v 1.10 2003/06/16 16:55:10 gunter Exp $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
//
//
// John Allison July 1995
// Class Description:
// A set of line segments defined with a set of vertices.
// G4Polyline is used for visualizing trajectories, steps, coordinate axes,
// etc.
// Class Description - End:
#ifndef G4POLYLINE_HH
#define G4POLYLINE_HH
#include "G4VVisPrim.hh"
#include "G4Point3DList.hh"
#include "G4Transform3D.hh"
class G4Polyline: public G4VVisPrim, public G4Point3DList {
friend std::ostream& operator << (std::ostream& os, const G4Polyline& line);
public: // With description
typedef G4Point3DList::iterator iterator;
G4Polyline ();
G4Polyline (const G4VVisPrim& prim);
virtual ~G4Polyline ();
virtual G4Visible& operator = (const G4Visible& right);
virtual G4VVisPrim& operator = (const G4VVisPrim& right);
virtual G4Polyline& operator = (const G4Polyline& right);
G4Polyline& transform (const G4Transform3D&);
};
#endif