|
Geant4-11
|
#include <G4OpenGLXmSliderBar.hh>
Public Member Functions | |
| void | AddYourselfTo (G4OpenGLXmVWidgetContainer *) |
| G4OpenGLXmSliderBar (const char *=NULL, XtCallbackRec *=NULL, G4bool=False, short=0, G4double=0., G4double=0., G4double=0., unsigned char=XmHORIZONTAL, unsigned char=XmMAX_ON_RIGHT) | |
| short | GetDecimalPlaces () |
| unsigned char | GetDirection () |
| G4double | GetInitialValue () |
| G4double | GetMaxValue () |
| G4double | GetMinValue () |
| const char * | GetName () |
| unsigned char | GetOrientation () |
| Widget * | GetPointerToParent () |
| Widget * | GetPointerToWidget () |
| G4bool | GetShow () |
| G4OpenGLXmViewer * | GetView () |
| void | ProcesspView () |
| void | SetDecimalPlaces (short) |
| void | SetDirection (unsigned char) |
| void | SetInitialValue (G4double) |
| void | SetMaxValue (G4double) |
| void | SetMinValue (G4double) |
| void | SetName (const char *) |
| void | SetOrientation (unsigned char) |
| void | SetShow (G4bool) |
| virtual | ~G4OpenGLXmSliderBar () |
Protected Attributes | |
| Pixel | bgnd |
| Pixel | borcol |
| Colormap | cmap |
| unsigned int | depth |
| G4OpenGLXmViewer * | pView |
| Widget | top |
| Visual * | visual |
Private Member Functions | |
| G4OpenGLXmSliderBar (const G4OpenGLXmSliderBar &) | |
| G4OpenGLXmSliderBar & | operator= (const G4OpenGLXmSliderBar &) |
Private Attributes | |
| XtCallbackRec * | callback |
| short | decimal_places |
| unsigned char | direction |
| G4int | initial_value |
| G4int | max_value |
| G4int | min_value |
| const char * | name |
| unsigned char | orientation |
| Widget * | parent |
| G4bool | show |
| Widget | sliderbar |
Definition at line 36 of file G4OpenGLXmSliderBar.hh.
| G4OpenGLXmSliderBar::G4OpenGLXmSliderBar | ( | const char * | n = NULL, |
| XtCallbackRec * | c = NULL, |
||
| G4bool | sh = False, |
||
| short | dp = 0, |
||
| G4double | v = 0., |
||
| G4double | max = 0., |
||
| G4double | min = 0., |
||
| unsigned char | o = XmHORIZONTAL, |
||
| unsigned char | d = XmMAX_ON_RIGHT |
||
| ) |
Definition at line 37 of file G4OpenGLXmSliderBar.cc.
References callback, decimal_places, direction, initial_value, G4INCL::Math::max(), max_value, G4INCL::Math::min(), min_value, CLHEP::detail::n, name, orientation, and show.
|
virtual |
Definition at line 60 of file G4OpenGLXmSliderBar.cc.
|
private |
|
virtual |
Implements G4OpenGLXmVWidgetComponent.
Definition at line 176 of file G4OpenGLXmSliderBar.cc.
References G4OpenGLXmVWidgetObject::bgnd, G4OpenGLXmVWidgetObject::borcol, callback, G4OpenGLXmVWidgetObject::cmap, decimal_places, G4OpenGLXmVWidgetObject::depth, direction, G4OpenGLXmVWidgetContainer::GetPointerToWidget(), G4OpenGLXmVWidgetObject::GetView(), initial_value, max_value, min_value, name, orientation, parent, G4OpenGLXmVWidgetObject::ProcesspView(), G4OpenGLXmVWidgetObject::pView, show, sliderbar, and G4OpenGLXmVWidgetObject::visual.
| short G4OpenGLXmSliderBar::GetDecimalPlaces | ( | ) |
Definition at line 73 of file G4OpenGLXmSliderBar.cc.
References decimal_places.
Referenced by GetInitialValue(), GetMaxValue(), GetMinValue(), SetInitialValue(), SetMaxValue(), and SetMinValue().
| unsigned char G4OpenGLXmSliderBar::GetDirection | ( | void | ) |
Definition at line 98 of file G4OpenGLXmSliderBar.cc.
References direction.
| G4double G4OpenGLXmSliderBar::GetInitialValue | ( | ) |
Definition at line 78 of file G4OpenGLXmSliderBar.cc.
References GetDecimalPlaces(), and initial_value.
| G4double G4OpenGLXmSliderBar::GetMaxValue | ( | ) |
Definition at line 83 of file G4OpenGLXmSliderBar.cc.
References GetDecimalPlaces(), and max_value.
| G4double G4OpenGLXmSliderBar::GetMinValue | ( | ) |
Definition at line 88 of file G4OpenGLXmSliderBar.cc.
References GetDecimalPlaces(), and min_value.
| const char * G4OpenGLXmSliderBar::GetName | ( | ) |
| unsigned char G4OpenGLXmSliderBar::GetOrientation | ( | ) |
Definition at line 93 of file G4OpenGLXmSliderBar.cc.
References orientation.
|
virtual |
Implements G4OpenGLXmVWidgetComponent.
Definition at line 215 of file G4OpenGLXmSliderBar.cc.
References parent.
|
virtual |
Implements G4OpenGLXmVWidgetComponent.
Definition at line 220 of file G4OpenGLXmSliderBar.cc.
References sliderbar.
| G4bool G4OpenGLXmSliderBar::GetShow | ( | ) |
|
inherited |
Definition at line 42 of file G4OpenGLXmVWidgetObject.cc.
References G4OpenGLXmVWidgetObject::pView.
Referenced by G4OpenGLXmFourArrowButtons::AddYourselfTo(), G4OpenGLXmPushButton::AddYourselfTo(), G4OpenGLXmRadioButton::AddYourselfTo(), G4OpenGLXmSeparator::AddYourselfTo(), AddYourselfTo(), G4OpenGLXmTextField::AddYourselfTo(), G4OpenGLXmBox::AddYourselfTo(), and G4OpenGLXmFramedBox::AddYourselfTo().
|
private |
|
inherited |
Definition at line 47 of file G4OpenGLXmVWidgetObject.cc.
References G4OpenGLXmViewer::bgnd, G4OpenGLXmVWidgetObject::bgnd, G4OpenGLXmViewer::borcol, G4OpenGLXmVWidgetObject::borcol, G4OpenGLXmVWidgetObject::cmap, G4OpenGLXViewer::cmap, G4OpenGLXmVWidgetObject::depth, G4OpenGLXmVWidgetObject::pView, G4OpenGLXmVWidgetObject::top, G4OpenGLXmViewer::toplevel, G4OpenGLXViewer::vi, and G4OpenGLXmVWidgetObject::visual.
Referenced by G4OpenGLXmFourArrowButtons::AddYourselfTo(), G4OpenGLXmPushButton::AddYourselfTo(), G4OpenGLXmRadioButton::AddYourselfTo(), G4OpenGLXmSeparator::AddYourselfTo(), AddYourselfTo(), G4OpenGLXmTextField::AddYourselfTo(), G4OpenGLXmBox::AddYourselfTo(), G4OpenGLXmFramedBox::AddYourselfTo(), and G4OpenGLXmTopLevelShell::G4OpenGLXmTopLevelShell().
| void G4OpenGLXmSliderBar::SetDecimalPlaces | ( | short | dp | ) |
Definition at line 122 of file G4OpenGLXmSliderBar.cc.
References decimal_places, and sliderbar.
| void G4OpenGLXmSliderBar::SetDirection | ( | unsigned char | d | ) |
| void G4OpenGLXmSliderBar::SetInitialValue | ( | G4double | v | ) |
Definition at line 131 of file G4OpenGLXmSliderBar.cc.
References GetDecimalPlaces(), initial_value, and sliderbar.
Referenced by G4OpenGLXmViewerMessenger::SetNewValue(), G4OpenGLXmViewer::update_panels_callback(), and G4OpenGLXmViewer::UpdateControlPanel().
| void G4OpenGLXmSliderBar::SetMaxValue | ( | G4double | v | ) |
Definition at line 140 of file G4OpenGLXmSliderBar.cc.
References GetDecimalPlaces(), max_value, and sliderbar.
Referenced by G4OpenGLXmViewerMessenger::SetNewValue(), G4OpenGLXmViewer::update_panels_callback(), and G4OpenGLXmViewer::UpdateControlPanel().
| void G4OpenGLXmSliderBar::SetMinValue | ( | G4double | v | ) |
Definition at line 149 of file G4OpenGLXmSliderBar.cc.
References GetDecimalPlaces(), min_value, and sliderbar.
Referenced by G4OpenGLXmViewerMessenger::SetNewValue(), G4OpenGLXmViewer::update_panels_callback(), and G4OpenGLXmViewer::UpdateControlPanel().
| void G4OpenGLXmSliderBar::SetName | ( | const char * | n | ) |
Definition at line 103 of file G4OpenGLXmSliderBar.cc.
References CLHEP::detail::n, name, and sliderbar.
| void G4OpenGLXmSliderBar::SetOrientation | ( | unsigned char | o | ) |
Definition at line 158 of file G4OpenGLXmSliderBar.cc.
References orientation, and sliderbar.
| void G4OpenGLXmSliderBar::SetShow | ( | G4bool | sh | ) |
|
protectedinherited |
Definition at line 54 of file G4OpenGLXmVWidgetObject.hh.
Referenced by G4OpenGLXmFourArrowButtons::AddYourselfTo(), G4OpenGLXmPushButton::AddYourselfTo(), G4OpenGLXmRadioButton::AddYourselfTo(), G4OpenGLXmSeparator::AddYourselfTo(), AddYourselfTo(), G4OpenGLXmTextField::AddYourselfTo(), G4OpenGLXmBox::AddYourselfTo(), G4OpenGLXmFramedBox::AddYourselfTo(), G4OpenGLXmTopLevelShell::G4OpenGLXmTopLevelShell(), and G4OpenGLXmVWidgetObject::ProcesspView().
|
protectedinherited |
Definition at line 53 of file G4OpenGLXmVWidgetObject.hh.
Referenced by G4OpenGLXmFourArrowButtons::AddYourselfTo(), G4OpenGLXmPushButton::AddYourselfTo(), G4OpenGLXmRadioButton::AddYourselfTo(), G4OpenGLXmSeparator::AddYourselfTo(), AddYourselfTo(), G4OpenGLXmTextField::AddYourselfTo(), G4OpenGLXmBox::AddYourselfTo(), G4OpenGLXmFramedBox::AddYourselfTo(), G4OpenGLXmTopLevelShell::G4OpenGLXmTopLevelShell(), and G4OpenGLXmVWidgetObject::ProcesspView().
|
private |
Definition at line 80 of file G4OpenGLXmSliderBar.hh.
Referenced by AddYourselfTo(), and G4OpenGLXmSliderBar().
|
protectedinherited |
Definition at line 52 of file G4OpenGLXmVWidgetObject.hh.
Referenced by G4OpenGLXmFourArrowButtons::AddYourselfTo(), G4OpenGLXmPushButton::AddYourselfTo(), G4OpenGLXmRadioButton::AddYourselfTo(), G4OpenGLXmSeparator::AddYourselfTo(), AddYourselfTo(), G4OpenGLXmTextField::AddYourselfTo(), G4OpenGLXmBox::AddYourselfTo(), G4OpenGLXmFramedBox::AddYourselfTo(), G4OpenGLXmTopLevelShell::G4OpenGLXmTopLevelShell(), and G4OpenGLXmVWidgetObject::ProcesspView().
|
private |
Definition at line 84 of file G4OpenGLXmSliderBar.hh.
Referenced by AddYourselfTo(), G4OpenGLXmSliderBar(), GetDecimalPlaces(), and SetDecimalPlaces().
|
protectedinherited |
Definition at line 55 of file G4OpenGLXmVWidgetObject.hh.
Referenced by G4OpenGLXmFourArrowButtons::AddYourselfTo(), G4OpenGLXmPushButton::AddYourselfTo(), G4OpenGLXmRadioButton::AddYourselfTo(), G4OpenGLXmSeparator::AddYourselfTo(), AddYourselfTo(), G4OpenGLXmTextField::AddYourselfTo(), G4OpenGLXmBox::AddYourselfTo(), G4OpenGLXmFramedBox::AddYourselfTo(), G4OpenGLXmTopLevelShell::G4OpenGLXmTopLevelShell(), and G4OpenGLXmVWidgetObject::ProcesspView().
|
private |
Definition at line 89 of file G4OpenGLXmSliderBar.hh.
Referenced by AddYourselfTo(), G4OpenGLXmSliderBar(), GetDirection(), and SetDirection().
|
private |
Definition at line 85 of file G4OpenGLXmSliderBar.hh.
Referenced by AddYourselfTo(), G4OpenGLXmSliderBar(), GetInitialValue(), and SetInitialValue().
|
private |
Definition at line 86 of file G4OpenGLXmSliderBar.hh.
Referenced by AddYourselfTo(), G4OpenGLXmSliderBar(), GetMaxValue(), and SetMaxValue().
|
private |
Definition at line 87 of file G4OpenGLXmSliderBar.hh.
Referenced by AddYourselfTo(), G4OpenGLXmSliderBar(), GetMinValue(), and SetMinValue().
|
private |
Definition at line 79 of file G4OpenGLXmSliderBar.hh.
Referenced by AddYourselfTo(), source.g4viscp.G4Scene::create_scene(), G4OpenGLXmSliderBar(), GetName(), mcscore.MCParticle::printout(), SetName(), and source.g4viscp.G4Scene::update_scene().
|
private |
Definition at line 88 of file G4OpenGLXmSliderBar.hh.
Referenced by AddYourselfTo(), G4OpenGLXmSliderBar(), GetOrientation(), and SetOrientation().
|
private |
Definition at line 82 of file G4OpenGLXmSliderBar.hh.
Referenced by AddYourselfTo(), and GetPointerToParent().
|
protectedinherited |
Definition at line 51 of file G4OpenGLXmVWidgetObject.hh.
Referenced by G4OpenGLXmFourArrowButtons::AddYourselfTo(), G4OpenGLXmPushButton::AddYourselfTo(), G4OpenGLXmRadioButton::AddYourselfTo(), G4OpenGLXmSeparator::AddYourselfTo(), AddYourselfTo(), G4OpenGLXmTextField::AddYourselfTo(), G4OpenGLXmBox::AddYourselfTo(), G4OpenGLXmFramedBox::AddYourselfTo(), G4OpenGLXmTopLevelShell::G4OpenGLXmTopLevelShell(), G4OpenGLXmVWidgetObject::GetView(), and G4OpenGLXmVWidgetObject::ProcesspView().
|
private |
Definition at line 83 of file G4OpenGLXmSliderBar.hh.
Referenced by AddYourselfTo(), G4OpenGLXmSliderBar(), GetShow(), and SetShow().
|
private |
Definition at line 81 of file G4OpenGLXmSliderBar.hh.
Referenced by AddYourselfTo(), GetPointerToWidget(), SetDecimalPlaces(), SetDirection(), SetInitialValue(), SetMaxValue(), SetMinValue(), SetName(), SetOrientation(), and SetShow().
|
protectedinherited |
Definition at line 57 of file G4OpenGLXmVWidgetObject.hh.
Referenced by G4OpenGLXmTopLevelShell::G4OpenGLXmTopLevelShell(), and G4OpenGLXmVWidgetObject::ProcesspView().
|
protectedinherited |
Definition at line 56 of file G4OpenGLXmVWidgetObject.hh.
Referenced by G4OpenGLXmFourArrowButtons::AddYourselfTo(), G4OpenGLXmPushButton::AddYourselfTo(), G4OpenGLXmRadioButton::AddYourselfTo(), G4OpenGLXmSeparator::AddYourselfTo(), AddYourselfTo(), G4OpenGLXmTextField::AddYourselfTo(), G4OpenGLXmBox::AddYourselfTo(), G4OpenGLXmFramedBox::AddYourselfTo(), G4OpenGLXmTopLevelShell::G4OpenGLXmTopLevelShell(), and G4OpenGLXmVWidgetObject::ProcesspView().