Geant4  10.00.p02
G4VisCommandSceneAddLine::Line Struct Reference
+ Collaboration diagram for G4VisCommandSceneAddLine::Line:

Public Member Functions

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

Public Attributes

G4Polyline fPolyline
 
G4double fWidth
 
G4Colour fColour
 

Detailed Description

Definition at line 208 of file G4VisCommandsSceneAdd.hh.

Constructor & Destructor Documentation

G4VisCommandSceneAddLine::Line::Line ( G4double  x1,
G4double  y1,
G4double  z1,
G4double  x2,
G4double  y2,
G4double  z2,
G4double  width,
const G4Colour colour 
)

Definition at line 837 of file G4VisCommandsSceneAdd.cc.

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

+ Here is the call graph for this function:

Member Function Documentation

void G4VisCommandSceneAddLine::Line::operator() ( G4VGraphicsScene sceneHandler,
const G4Transform3D  
)

Definition at line 851 of file G4VisCommandsSceneAdd.cc.

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

+ Here is the call graph for this function:

Member Data Documentation

G4Colour G4VisCommandSceneAddLine::Line::fColour

Definition at line 215 of file G4VisCommandsSceneAdd.hh.

G4Polyline G4VisCommandSceneAddLine::Line::fPolyline

Definition at line 213 of file G4VisCommandsSceneAdd.hh.

G4double G4VisCommandSceneAddLine::Line::fWidth

Definition at line 214 of file G4VisCommandsSceneAdd.hh.


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