Geant4-11
Public Member Functions | Private Attributes
G4VisCommandSceneAddText2D::G4Text2D Struct Reference

Public Member Functions

 G4Text2D (const G4Text &)
 
void operator() (G4VGraphicsScene &, const G4ModelingParameters *)
 

Private Attributes

G4Text fText
 

Detailed Description

Definition at line 442 of file G4VisCommandsSceneAdd.hh.

Constructor & Destructor Documentation

◆ G4Text2D()

G4VisCommandSceneAddText2D::G4Text2D::G4Text2D ( const G4Text text)

Definition at line 2743 of file G4VisCommandsSceneAdd.cc.

2743 :
2744 fText(text)
2745{}

Member Function Documentation

◆ operator()()

void G4VisCommandSceneAddText2D::G4Text2D::operator() ( G4VGraphicsScene sceneHandler,
const G4ModelingParameters  
)

Definition at line 2747 of file G4VisCommandsSceneAdd.cc.

2748 {
2749 sceneHandler.BeginPrimitives2D();
2750 sceneHandler.AddPrimitive(fText);
2751 sceneHandler.EndPrimitives2D();
2752}
virtual void BeginPrimitives2D(const G4Transform3D &objectTransformation=G4Transform3D())=0
virtual void EndPrimitives2D()=0
virtual void AddPrimitive(const G4Polyline &)=0

Field Documentation

◆ fText

G4Text G4VisCommandSceneAddText2D::G4Text2D::fText
private

Definition at line 446 of file G4VisCommandsSceneAdd.hh.


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