Geant4  10.02
G4VisCommandSceneAddLine2D::Line2D Struct Reference
+ Collaboration diagram for G4VisCommandSceneAddLine2D::Line2D:

Public Member Functions

 Line2D (G4double x1, G4double y1, G4double x2, G4double y2, G4double width, const G4Colour &colour)
 
void operator() (G4VGraphicsScene &, const G4Transform3D &)
 

Public Attributes

G4Polyline fPolyline
 
G4double fWidth
 
G4Colour fColour
 

Detailed Description

Definition at line 248 of file G4VisCommandsSceneAdd.hh.

Constructor & Destructor Documentation

G4VisCommandSceneAddLine2D::Line2D::Line2D ( G4double  x1,
G4double  y1,
G4double  x2,
G4double  y2,
G4double  width,
const G4Colour colour 
)

Definition at line 1065 of file G4VisCommandsSceneAdd.cc.

References G4VisAttributes::SetColour(), and G4VisAttributes::SetLineWidth().

+ Here is the call graph for this function:

Member Function Documentation

void G4VisCommandSceneAddLine2D::Line2D::operator() ( G4VGraphicsScene sceneHandler,
const G4Transform3D  
)

Definition at line 1079 of file G4VisCommandsSceneAdd.cc.

References G4VGraphicsScene::AddPrimitive(), G4VGraphicsScene::BeginPrimitives2D(), and G4VGraphicsScene::EndPrimitives2D().

+ Here is the call graph for this function:

Member Data Documentation

G4Colour G4VisCommandSceneAddLine2D::Line2D::fColour

Definition at line 255 of file G4VisCommandsSceneAdd.hh.

G4Polyline G4VisCommandSceneAddLine2D::Line2D::fPolyline

Definition at line 253 of file G4VisCommandsSceneAdd.hh.

G4double G4VisCommandSceneAddLine2D::Line2D::fWidth

Definition at line 254 of file G4VisCommandsSceneAdd.hh.


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