44 fpCommand->
SetGuidance(
"Default hiddenEdge drawing for future viewers.");
46 (
"Edges become hidden/seen in wireframe or surface mode.");
70 switch (existingStyle) {
84 switch (existingStyle) {
112 fpCommand->
SetGuidance(
"Default drawing style for future viewers.");
114 (
"Set style of drawing - w[ireframe] or s[urface].");
116 (
"(Default hidden line drawing is controlled by \"/vis/viewer/default/hiddenEdge\".)");
138 const size_t iPos0 = 0;
139 if (newValue[iPos0] ==
'w') {
140 switch (existingStyle) {
153 else if (newValue[iPos0] ==
's') {
154 switch (existingStyle) {
169 G4cout <<
"ERROR: \"" << newValue <<
"\" not recognised."
170 " Looking for 'w' or 's' first character." <<
G4endl;
G4DLLIMPORT std::ostream G4cout
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4bool defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetGuidance(const char *aGuidance)
static G4bool ConvertToBool(const char *st)
static G4VisManager * fpVisManager
void SetDrawingStyle(G4ViewParameters::DrawingStyle style)
DrawingStyle GetDrawingStyle() const
void SetNewValue(G4UIcommand *command, G4String newValue)
virtual ~G4VisCommandViewerDefaultHiddenEdge()
G4VisCommandViewerDefaultHiddenEdge()
G4String GetCurrentValue(G4UIcommand *command)
virtual ~G4VisCommandViewerDefaultStyle()
G4VisCommandViewerDefaultStyle()
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
const G4ViewParameters & GetDefaultViewParameters() const
static Verbosity GetVerbosity()
void SetDefaultViewParameters(const G4ViewParameters &)