#include <G4ModelCommandsT.hh>
Inheritance diagram for G4ModelCmdDraw< M >:
Public Member Functions | |
G4ModelCmdDraw (M *model, const G4String &placement, const G4String &cmdName="draw") | |
virtual | ~G4ModelCmdDraw () |
Protected Member Functions | |
virtual void | Apply (const G4bool &newValue) |
Definition at line 760 of file G4ModelCommandsT.hh.
G4ModelCmdDraw< M >::G4ModelCmdDraw | ( | M * | model, | |
const G4String & | placement, | |||
const G4String & | cmdName = "draw" | |||
) | [inline] |
Definition at line 764 of file G4ModelCommandsT.hh.
References G4ModelCmdApplyBool< M >::Command(), and G4UIcommand::SetGuidance().
00766 :G4ModelCmdApplyBool<M>(model, placement, cmdName) 00767 { 00768 G4ModelCmdApplyBool<M>::Command()->SetGuidance("Draw command"); 00769 }
virtual G4ModelCmdDraw< M >::~G4ModelCmdDraw | ( | ) | [inline, virtual] |
virtual void G4ModelCmdDraw< M >::Apply | ( | const G4bool & | newValue | ) | [inline, protected, virtual] |
Implements G4ModelCmdApplyBool< M >.
Definition at line 775 of file G4ModelCommandsT.hh.
References G4VModelCommand< T >::Model().
00775 { 00776 if (newValue) G4VModelCommand<M>::Model()->Draw(); 00777 }