Geant4  10.02.p02
G4ArrowModel Class Reference

#include <G4ArrowModel.hh>

+ Inheritance diagram for G4ArrowModel:
+ Collaboration diagram for G4ArrowModel:

Public Member Functions

 G4ArrowModel (G4double x1, G4double y1, G4double z1, G4double x2, G4double y2, G4double z2, G4double width, const G4Colour &colour, const G4String &description="")
 
virtual ~G4ArrowModel ()
 
virtual void DescribeYourselfTo (G4VGraphicsScene &)
 
- Public Member Functions inherited from G4VModel
 G4VModel (const G4Transform3D &modelTransformation=G4Transform3D(), const G4ModelingParameters *=0)
 
virtual ~G4VModel ()
 
const G4ModelingParametersGetModelingParameters () const
 
const G4StringGetType () const
 
virtual G4String GetCurrentDescription () const
 
virtual G4String GetCurrentTag () const
 
const G4VisExtentGetExtent () const
 
const G4StringGetGlobalDescription () const
 
const G4StringGetGlobalTag () const
 
const G4Transform3DGetTransformation () const
 
void SetModelingParameters (const G4ModelingParameters *)
 
void SetExtent (const G4VisExtent &)
 
void SetType (const G4String &)
 
void SetGlobalDescription (const G4String &)
 
void SetGlobalTag (const G4String &)
 
void SetTransformation (const G4Transform3D &)
 
virtual G4bool Validate (G4bool warn=true)
 

Private Member Functions

 G4ArrowModel (const G4ArrowModel &)
 
G4ArrowModeloperator= (const G4ArrowModel &)
 

Private Attributes

G4PolyhedronfpShaftPolyhedron
 
G4PolyhedronfpHeadPolyhedron
 

Additional Inherited Members

- Protected Attributes inherited from G4VModel
G4String fType
 
G4String fGlobalTag
 
G4String fGlobalDescription
 
G4VisExtent fExtent
 
G4Transform3D fTransform
 
const G4ModelingParametersfpMP
 

Detailed Description

Definition at line 48 of file G4ArrowModel.hh.

Constructor & Destructor Documentation

G4ArrowModel::G4ArrowModel ( G4double  x1,
G4double  y1,
G4double  z1,
G4double  x2,
G4double  y2,
G4double  z2,
G4double  width,
const G4Colour colour,
const G4String description = "" 
)

Definition at line 52 of file G4ArrowModel.cc.

References G4GenericPolycone::CreatePolyhedron(), G4Tubs::CreatePolyhedron(), G4INCL::Math::max(), G4INCL::Math::min(), G4VisAttributes::SetColour(), G4VisAttributes::SetForceSolid(), twopi, and z.

+ Here is the call graph for this function:

G4ArrowModel::~G4ArrowModel ( )
virtual

Definition at line 45 of file G4ArrowModel.cc.

References fpHeadPolyhedron, and fpShaftPolyhedron.

G4ArrowModel::G4ArrowModel ( const G4ArrowModel )
private

Member Function Documentation

void G4ArrowModel::DescribeYourselfTo ( G4VGraphicsScene sceneHandler)
virtual

Implements G4VModel.

Definition at line 111 of file G4ArrowModel.cc.

References G4VGraphicsScene::AddPrimitive(), G4VGraphicsScene::BeginPrimitives(), G4VGraphicsScene::EndPrimitives(), fpHeadPolyhedron, and fpShaftPolyhedron.

Referenced by G4MagneticFieldModel::DescribeYourselfTo().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ArrowModel& G4ArrowModel::operator= ( const G4ArrowModel )
private

Member Data Documentation

G4Polyhedron* G4ArrowModel::fpHeadPolyhedron
private

Definition at line 68 of file G4ArrowModel.hh.

Referenced by DescribeYourselfTo(), and ~G4ArrowModel().

G4Polyhedron* G4ArrowModel::fpShaftPolyhedron
private

Definition at line 67 of file G4ArrowModel.hh.

Referenced by DescribeYourselfTo(), and ~G4ArrowModel().


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