44 fpCommand->
SetGuidance(
"Default hiddenEdge drawing for future viewers.");
46 (
"Edges become hidden/seen in wireframe or surface mode.");
70 switch (existingStyle) {
86 switch (existingStyle) {
116 fpCommand->
SetGuidance(
"Default drawing style for future viewers.");
118 (
"Set style of drawing - w[ireframe] or s[urface] or c[loud].");
120 (
"(Default hidden line drawing is controlled by \"/vis/viewer/default/hiddenEdge\".)");
143 const size_t iPos0 = 0;
144 if (newValue[iPos0] ==
'w') {
145 switch (existingStyle) {
161 else if (newValue[iPos0] ==
's') {
162 switch (existingStyle) {
178 else if (newValue[iPos0] ==
'c') {
179 switch (existingStyle) {
198 G4warn <<
"ERROR: \"" << newValue <<
"\" not recognised."
199 " Looking for 'w' or 's' or 'c' first character." <<
G4endl;
G4GLOB_DLL std::ostream G4cout
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4bool defVal)
void SetCandidates(const char *candidateList)
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 &)