43 fpCommand->
SetGuidance(
"Default hiddenEdge drawing for future viewers.");
45 (
"Edges become hidden/seen in wireframe or surface mode.");
69 switch (existingStyle) {
83 switch (existingStyle) {
111 fpCommand->
SetGuidance(
"Default drawing style for future viewers.");
113 (
"Set style of drawing - w[ireframe] or s[urface].");
115 (
"(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;
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
G4VisCommandViewerDefaultStyle()
G4VisCommandViewerDefaultHiddenEdge()
virtual ~G4VisCommandViewerDefaultStyle()
void SetDefaultViewParameters(const G4ViewParameters &)
void SetDefaultValue(G4bool defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
const G4ViewParameters & GetDefaultViewParameters() const
G4GLOB_DLL std::ostream G4cout
static G4bool ConvertToBool(const char *st)
virtual ~G4VisCommandViewerDefaultHiddenEdge()
void SetGuidance(const char *aGuidance)
void SetDrawingStyle(G4ViewParameters::DrawingStyle style)
G4String GetCurrentValue(G4UIcommand *command)
static Verbosity GetVerbosity()
void SetNewValue(G4UIcommand *command, G4String newValue)
DrawingStyle GetDrawingStyle() const
void SetCandidates(const char *candidateList)
static G4VisManager * fpVisManager