#include <G4VisCommandsSet.hh>
Definition at line 41 of file G4VisCommandsSet.hh.
 
◆ G4VisCommandSetColour() [1/2]
      
        
          | G4VisCommandSetColour::G4VisCommandSetColour  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 42 of file G4VisCommandsSet.cc.
   47     (
"Defines colour and opacity for future \"/vis/scene/add/\" commands.");
    49     (
"(Except \"/vis/scene/add/text\" commands - see \"/vis/set/textColour\".)");
    54     (
"Red component or a string, e.g., \"cyan\" (green and blue parameters are ignored).");
    57   parameter = 
new G4UIparameter (
"green", 
'd', omitable = 
true);
    63   parameter = 
new G4UIparameter (
"alpha", 
'd', omitable = 
true);
 void SetParameter(G4UIparameter *const newParameter)
 
void SetDefaultValue(const char *theDefaultValue)
 
void SetGuidance(const char *aGuidance)
 
void SetGuidance(const char *theGuidance)
 
 
 
 
◆ ~G4VisCommandSetColour()
  
  
      
        
          | G4VisCommandSetColour::~G4VisCommandSetColour  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ G4VisCommandSetColour() [2/2]
◆ GetCurrentValue()
◆ operator=()
◆ SetNewValue()
Reimplemented from G4UImessenger.
Definition at line 79 of file G4VisCommandsSet.cc.
   85   std::istringstream iss(newValue);
    86   iss >> redOrString >> green >> blue >> opacity;
    89   if (std::isalpha(redOrString(0))) {
    92     G4cout << 
"WARNING: Colour \"" << redOrString
    93            << 
"\" not found.  Defaulting to white and opaque."   103     (colour.GetRed(), colour.GetGreen(), colour.GetBlue(), opacity);
   107       "Colour for future \"/vis/scene/add/\" commands has been set to "   109       ".\n(Except \"/vis/scene/add/text\" commands - use \"/vis/set/textColour\".)" 
static G4Colour fCurrentColour
 
static G4bool GetColour(const G4String &key, G4Colour &result)
 
G4GLOB_DLL std::ostream G4cout
 
static G4double ConvertToDouble(const char *st)
 
static Verbosity GetVerbosity()
 
static G4VisManager * fpVisManager
 
 
 
 
◆ fpCommand
The documentation for this class was generated from the following files: