42 fpCommand->
SetGuidance(
"Default hiddenEdge drawing for future viewers.");
44 (
"Edges become hidden/seen in wireframe or surface mode.");
68 switch (existingStyle) {
84 switch (existingStyle) {
114 fpCommand->
SetGuidance(
"Default drawing style for future viewers.");
116 (
"Set style of drawing - w[ireframe] or s[urface] or c[loud].");
118 (
"(Default hidden line drawing is controlled by \"/vis/viewer/default/hiddenEdge\".)");
141 const size_t iPos0 = 0;
142 if (newValue[iPos0] ==
'w') {
143 switch (existingStyle) {
159 else if (newValue[iPos0] ==
's') {
160 switch (existingStyle) {
176 else if (newValue[iPos0] ==
'c') {
177 switch (existingStyle) {
196 G4cerr <<
"ERROR: \"" << newValue <<
"\" not recognised."
197 " Looking for 'w' or 's' or 'c' first character." <<
G4endl;
G4GLOB_DLL std::ostream G4cerr
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 &)