Overture
Version 25
|
#include <DialogData.h>
Public Types | |
enum | WidgetTypeEnum { optionMenuWidget, pushButtonWidget, pullDownWidget, toggleButtonWidget, textBoxWidget, radioBoxWidget } |
enum | cursorTypeEnum { pointerCursor =0, watchCursor, numberOfCursors } |
Public Member Functions | |
DialogData () | |
~DialogData () | |
void | openDialog (int managed=1) |
int | dialogCommands (aString **commands) |
bool | getToggleValue (const aString &answer, const aString &label, bool &target) |
bool | getToggleValue (const aString &answer, const aString &label, int &target) |
bool | getTextValue (const aString &answer, const aString &label, const aString &format, GUITypes::real &target) |
bool | getTextValue (const aString &answer, const aString &label, const aString &format, int &target) |
bool | getTextValue (const aString &answer, const aString &label, const aString &format, aString &target) |
int | showSibling () |
int | hideSibling () |
void | setSensitive (int trueFalse) |
void | setSensitive (bool trueOrFalse, WidgetTypeEnum widgetType, int number) |
void | setSensitive (bool trueOrFalse, WidgetTypeEnum widgetType, const aString &label) |
int | addOptionMenu (const aString &opMainLabel, const aString opCommands[], const aString opLabels[], int initCommand) |
bool | addRadioBox (const aString &rbMainLabel, const aString rbCommands[], const aString rbLabels[], int initCommand, int columns=1) |
RadioBox & | getRadioBox (int n) |
RadioBox & | getRadioBox (const aString &radioLabel) |
bool | changeOptionMenu (int nOption, const aString opCommands[], const aString opLabels[], int initCommand) |
bool | changeOptionMenu (const aString &opMainLabel, const aString opCommands[], const aString opLabels[], int initCommand) |
int | deleteOptionMenus () |
int | addPulldownMenu (const aString &pdMainLabel, const aString commands[], const aString labels[], button_type bt, int *initState=NULL) |
int | setToggleButtons (const aString tbCommands[], const aString tbLabels[], const int initState[], int numberOfColumns=2) |
int | deleteToggleButtons () |
int | setPushButtons (const aString pbCommands[], const aString pbLabels[], int numberOfRows=2) |
int | setTextBoxes (const aString textCommands[], const aString textLabels[], const aString initString[]) |
int | setTextLabel (int n, const aString &buff) |
int | setTextLabel (const aString &textLabel, const aString &buff) |
int | setToggleState (int n, int trueFalse) |
int | setToggleState (const aString &toggleButtonLabel, int trueFalse) |
int | setExitCommand (const aString &exitC, const aString &exitL) |
void | setWindowTitle (const aString &title) |
void | setOptionMenuColumns (int columns) |
void | setLastPullDownIsHelp (int trueFalse) |
PullDownMenu & | getPulldownMenu (int n) |
PullDownMenu & | getPulldownMenu (const aString &label) |
OptionMenu & | getOptionMenu (int n) |
OptionMenu & | getOptionMenu (const aString &opMainLabel) |
void | closeDialog () |
void * | getWidget () |
aString & | getExitCommand () |
void | setBuiltInDialog () |
int | getBuiltInDialog () |
void | setCursor (cursorTypeEnum c) |
int | addInfoLabel (const aString &textLabel) |
int | deleteInfoLabels () |
bool | setInfoLabel (int n, const aString &buff) |
Protected Member Functions | |
DialogData (DialogData &source) | |
void | operator= (DialogData &source) |
Protected Attributes | |
void * | dialogWindow |
aString | windowTitle |
aString | exitCommand |
aString | exitLabel |
bool | exitCommandSet |
int | builtInDialog |
int | pButtonRows |
int | n_pButtons |
PushButton * | pButtons |
int | toggleButtonColumns |
int | n_toggle |
ToggleButton * | tButtons |
int | n_text |
TextLabel * | textBoxes |
int | n_radioBoxes |
RadioBox | radioBoxData [MAX_RADIO_BOXES] |
int | optionMenuColumns |
int | n_optionMenu |
OptionMenu | opMenuData [MAX_OP_MENU] |
int | n_pullDownMenu |
PullDownMenu | pdMenuData [MAX_PD_MENU] |
int | n_infoLabels |
InfoLabel | infoLabelData [MAX_INFO_LABELS] |
int | pdLastIsHelp |
DialogData::DialogData | ( | ) |
DialogData::~DialogData | ( | ) |
References n_optionMenu, n_radioBoxes, n_text, opMenuData, OptionMenu::optionList, RadioBox::optionList, pButtons, radioBoxData, tButtons, and textBoxes.
|
protected |
int DialogData::addInfoLabel | ( | const aString & | textLabel | ) |
References infoLabelData, MAX_INFO_LABELS, n_infoLabels, printF(), and InfoLabel::textLabel.
Referenced by MappingBuilder::build(), HyperbolicMapping::buildCurve(), OgmgParameters::buildOptionsDialog(), ShowFilePlotter::buildPlotStuffDialog(), StretchTransform::buildStretchingParametersDialog(), TrimmedMappingBuilder::buildTrimmedMapping(), Ogen::changeParameters(), CompositeTopology::getAnotherEdge(), main(), Ogen::plot(), StretchTransform::update(), GridStretcher::update(), and UnstructuredMapping::update().
int DialogData::addOptionMenu | ( | const aString & | opMainLabel, |
const aString | opCommands[], | ||
const aString | opLabels[], | ||
int | initCommand | ||
) |
References PushButton::buttonCommand, PushButton::buttonLabel, OptionMenu::currentChoice, MAX_OP_MENU, n_optionMenu, OptionMenu::n_options, opMenuData, OptionMenu::optionLabel, OptionMenu::optionList, and printF().
Referenced by MappingBuilder::build(), HyperbolicMapping::buildBoundaryConditionMappingDialog(), GridSmoother::buildDialog(), HyperbolicMapping::buildMarchingParametersDialog(), HyperbolicMapping::buildMarchingSpacingDialog(), OgmgParameters::buildOptionsDialog(), ShowFilePlotter::buildPlotStuffDialog(), StretchTransform::buildStretchingParametersDialog(), HyperbolicMapping::buildSurfaceGridParametersDialog(), PlotIt::contour2d(), PlotIt::contour3d(), OffsetShell::createOffsetMappings(), main(), PlotIt::plotCompositeSurface(), BodyForce::plotForcingRegions(), PlotIt::plotGrid(), PlotIt::plotGridQuality(), TrimmedMappingBuilder::setOptionMenus(), GL_GraphicsInterface::setupHardCopy(), PlotIt::streamLines3d(), MatchingCurve::update(), LoftedSurfaceMapping::update(), StretchTransform::update(), SquareMapping::update(), ColourBar::update(), FilletMapping::update(), UserDefinedMapping1::update(), AnnulusMapping::update(), HyperbolicMapping::update(), and DataFormats::writePlot3d().
int DialogData::addPulldownMenu | ( | const aString & | pdMainLabel, |
const aString | commands[], | ||
const aString | labels[], | ||
button_type | bt, | ||
int * | initState = NULL |
||
) |
References PushButton::buttonCommand, ToggleButton::buttonCommand, PushButton::buttonLabel, ToggleButton::buttonLabel, GI_PUSHBUTTON, GI_TOGGLEBUTTON, MAX_PD_MENU, PullDownMenu::menuTitle, PullDownMenu::n_button, n_pullDownMenu, PullDownMenu::pbList, pdMenuData, printF(), ToggleButton::state, PullDownMenu::tbList, and PullDownMenu::type.
Referenced by main(), PlotIt::plotGrid(), and CompositeTopology::update().
bool DialogData::addRadioBox | ( | const aString & | rbMainLabel, |
const aString | rbCommands[], | ||
const aString | rbLabels[], | ||
int | initCommand, | ||
int | columns = 1 |
||
) |
References ToggleButton::buttonCommand, ToggleButton::buttonLabel, RadioBox::columns, RadioBox::currentChoice, RadioBox::currentIndex, MAX_RADIO_BOXES, RadioBox::n_options, n_radioBoxes, RadioBox::optionList, printF(), radioBoxData, RadioBox::radioLabel, and ToggleButton::state.
Referenced by MappingBuilder::assignBoundaryConditions(), MappingBuilder::build(), MappingBuilder::buildBoxGrid(), PlotIt::buildColourDialog(), MappingBuilder::buildSurfacePatch(), TrimmedMappingBuilder::buildTrimmedMapping(), TrimmedMapping::editNurbsTrimCurve(), main(), MeshQualityMetrics::plot(), PlotIt::plotUM(), Ogen::queryAPoint(), GL_GraphicsInterface::setupHardCopy(), CompositeTopology::update(), and GridStretcher::update().
bool DialogData::changeOptionMenu | ( | int | nOption, |
const aString | opCommands[], | ||
const aString | opLabels[], | ||
int | initCommand | ||
) |
References PushButton::buttonCommand, PushButton::buttonLabel, OptionMenu::currentChoice, dialogWindow, n_optionMenu, OptionMenu::n_options, NULL, opMenuData, OptionMenu::optionList, PushButton::pb, and SC.
Referenced by changeOptionMenu(), TrimmedMappingBuilder::setOptionMenus(), HyperbolicMapping::updateBoundaryConditionMappingDialog(), and ShowFilePlotter::updatePlotStuffDialog().
bool DialogData::changeOptionMenu | ( | const aString & | opMainLabel, |
const aString | opCommands[], | ||
const aString | opLabels[], | ||
int | initCommand | ||
) |
References assert, changeOptionMenu(), n_optionMenu, opMenuData, OptionMenu::optionLabel, and printF().
void DialogData::closeDialog | ( | ) |
References deleteInfoLabels(), deleteOptionMenus(), deleteToggleButtons(), dialogWindow, n_text, NULL, textBoxes, and TextLabel::textWidget.
Referenced by MappingBuilder::build(), GL_GraphicsInterface::popGUI(), and StretchTransform::update().
int DialogData::deleteInfoLabels | ( | ) |
References n_infoLabels.
Referenced by closeDialog().
int DialogData::deleteOptionMenus | ( | ) |
References n_optionMenu, NULL, opMenuData, and OptionMenu::optionList.
Referenced by closeDialog().
int DialogData::deleteToggleButtons | ( | ) |
References n_toggle, NULL, and tButtons.
Referenced by closeDialog().
int DialogData::dialogCommands | ( | aString ** | commands | ) |
References aString, PushButton::buttonCommand, ToggleButton::buttonCommand, exitCommand, GI_PUSHBUTTON, GI_TOGGLEBUTTON, PullDownMenu::n_button, n_optionMenu, OptionMenu::n_options, RadioBox::n_options, n_pButtons, n_pullDownMenu, n_radioBoxes, n_text, n_toggle, NULL, opMenuData, PullDownMenu::pbList, pButtons, pdMenuData, radioBoxData, PullDownMenu::tbList, tButtons, and textBoxes.
Referenced by GUIState::setAllCommands().
int DialogData::getBuiltInDialog | ( | ) |
References builtInDialog.
aString & DialogData::getExitCommand | ( | ) |
References exitCommand.
OptionMenu & DialogData::getOptionMenu | ( | int | n | ) |
References max(), min(), n_optionMenu, and opMenuData.
Referenced by HyperbolicMapping::assignMarchingParametersDialog(), PlotIt::contour2d(), PlotIt::contour3d(), OffsetShell::createOffsetMappings(), main(), ShowFilePlotter::plot(), BodyForce::plotForcingRegions(), PlotIt::plotGrid(), PlotIt::plotGridQuality(), HyperbolicMapping::setLinesAndDistanceLabels(), ShowFilePlotter::setSensitivity(), PlotIt::streamLines3d(), StretchTransform::update(), SquareMapping::update(), FilletMapping::update(), AnnulusMapping::update(), OgmgParameters::update(), HyperbolicMapping::update(), Ugen::updateHybrid(), HyperbolicMapping::updateMarchingParameters(), HyperbolicMapping::updateMarchingSpacingOptions(), GridSmoother::updateOptions(), StretchTransform::updateStretchingParameters(), and HyperbolicMapping::updateSurfaceGridParameters().
OptionMenu & DialogData::getOptionMenu | ( | const aString & | opMainLabel | ) |
References assert, n_optionMenu, opMenuData, OptionMenu::optionLabel, and printF().
PullDownMenu & DialogData::getPulldownMenu | ( | int | n | ) |
References max(), min(), n_pullDownMenu, and pdMenuData.
Referenced by main(), and PlotIt::plotGrid().
PullDownMenu & DialogData::getPulldownMenu | ( | const aString & | label | ) |
References assert, PullDownMenu::menuTitle, n_pullDownMenu, pdMenuData, and printF().
RadioBox & DialogData::getRadioBox | ( | int | n | ) |
References max(), min(), n_radioBoxes, and radioBoxData.
Referenced by MappingBuilder::assignBoundaryConditions(), MappingBuilder::build(), MappingBuilder::buildBoxGrid(), MappingBuilder::buildSurfacePatch(), TrimmedMappingBuilder::buildTrimmedMapping(), TrimmedMapping::editNurbsTrimCurve(), main(), Ogen::queryAPoint(), CompositeTopology::update(), GridStretcher::update(), and TrimmedMapping::update().
References assert, n_radioBoxes, printF(), radioBoxData, and RadioBox::radioLabel.
bool DialogData::getTextValue | ( | const aString & | answer, |
const aString & | label, | ||
const aString & | format, | ||
GUITypes::real & | target | ||
) |
References aString, printF(), setTextLabel(), sPrintF(), sScanF(), and str_matches().
Referenced by MappingBuilder::build(), PlotIt::contour2d(), PlotIt::contour3d(), Integrate::defineSurfacesAndComputeWeights(), TrimmedMapping::editNurbsTrimCurve(), main(), ogen(), ShowFilePlotter::plot(), Ogen::plot(), plot3dToOverture(), PlotIt::plotGrid(), PlotIt::plotGridQuality(), saveOvertureTextFile(), showFileFromDataFile(), PlotIt::streamLines2d(), MatchingCurve::update(), LoftedSurfaceMapping::update(), StretchTransform::update(), OgmgParameters::update(), HyperbolicMapping::updatePlotOptions(), StretchTransform::updateStretchingParameters(), and DataFormats::writePlot3d().
bool DialogData::getTextValue | ( | const aString & | answer, |
const aString & | label, | ||
const aString & | format, | ||
int & | target | ||
) |
References aString, printF(), setTextLabel(), sPrintF(), sScanF(), and str_matches().
bool DialogData::getTextValue | ( | const aString & | answer, |
const aString & | label, | ||
const aString & | format, | ||
aString & | target | ||
) |
References printF(), setTextLabel(), and str_matches().
References setToggleState(), sScanF(), and str_matches().
Referenced by TrimmedMappingBuilder::buildTrimmedMapping(), PlotIt::contour2d(), PlotIt::contour3d(), Integrate::defineSurfacesAndComputeWeights(), Mapping::getMappingParametersOption(), getToggleValue(), ogen(), ShowFilePlotter::plot(), Ogen::plot(), plot3dToOverture(), BodyForce::plotForcingRegions(), PlotIt::plotGrid(), PlotIt::plotUM(), saveOvertureTextFile(), showFileFromDataFile(), StretchTransform::update(), SquareMapping::update(), AnnulusMapping::update(), OgmgParameters::update(), HyperbolicMapping::updateMarchingParameters(), and DataFormats::writePlot3d().
References getToggleValue().
void * DialogData::getWidget | ( | ) |
References dialogWindow.
Referenced by makeGraphicsWindow().
int DialogData::hideSibling | ( | ) |
References dialogWindow.
Referenced by MappingBuilder::buildSurfacePatch(), PlotIt::contour3d(), Mapping::getMappingParametersOption(), GL_GraphicsInterface::hardcopyCommands(), main(), BodyForce::plotForcingRegions(), PlotIt::plotGrid(), StretchTransform::update(), HyperbolicMapping::update(), Mapping::update(), and Ugen::updateHybrid().
void DialogData::openDialog | ( | int | managed = 1 | ) |
References RadioBox::currentIndex, dialogWindow, exitCommandSet, exitLabel, GI_PUSHBUTTON, GI_TOGGLEBUTTON, infoLabelData, TextLabel::labelWidget, InfoLabel::labelWidget, OptionMenu::menuframe, OptionMenu::menupane, PullDownMenu::menupane, PullDownMenu::n_button, n_infoLabels, n_optionMenu, OptionMenu::n_options, RadioBox::n_options, n_pButtons, n_pullDownMenu, n_radioBoxes, n_text, n_toggle, NULL, opMenuData, OptionMenu::optionList, RadioBox::optionList, optionMenuColumns, PushButton::pb, PullDownMenu::pbList, pButtonRows, pButtons, pdLastIsHelp, pdMenuData, positionDialog(), RadioBox::radioBox, radioBoxData, SC, ToggleButton::tb, PullDownMenu::tbList, tButtons, textBoxes, TextLabel::textWidget, toggleButtonColumns, and windowTitle.
Referenced by MappingBuilder::build(), GL_GraphicsInterface::openGUI(), GL_GraphicsInterface::pushGUI(), GL_GraphicsInterface::setupHardCopy(), and ColourBar::update().
|
protected |
void DialogData::setBuiltInDialog | ( | ) |
References builtInDialog.
Referenced by GL_GraphicsInterface::setupHardCopy().
void DialogData::setCursor | ( | cursorTypeEnum | c | ) |
References dialogWindow, pointerCursor, and watchCursor.
Referenced by GL_GraphicsInterface::interactiveAnswer(), and setSensitive().
References exitCommand, exitCommandSet, exitLabel, and printF().
Referenced by MappingBuilder::assignBoundaryConditions(), MappingBuilder::build(), MappingBuilder::buildBoxGrid(), HyperbolicMapping::buildCurve(), MappingBuilder::buildCurveOnSurface(), Mapping::buildMappingParametersDialog(), OgmgParameters::buildOptionsDialog(), ShowFilePlotter::buildPlotStuffDialog(), MappingBuilder::buildSurfacePatch(), TrimmedMappingBuilder::buildTrimmedMapping(), Ogen::changeParameters(), PlotIt::contour2d(), PlotIt::contour3d(), OffsetShell::createOffsetMappings(), Integrate::defineSurfacesAndComputeWeights(), TrimmedMapping::editNurbsTrimCurve(), CompositeTopology::getAnotherEdge(), main(), ogen(), GL_GraphicsInterface::pause(), PlotIt::plot(), MeshQualityMetrics::plot(), Ogen::plot(), plot3dToOverture(), PlotIt::plotCompositeSurface(), BodyForce::plotForcingRegions(), PlotIt::plotGrid(), PlotIt::plotGridQuality(), PlotIt::plotUM(), Ogen::queryAPoint(), saveOvertureTextFile(), GL_GraphicsInterface::setupHardCopy(), showFileFromDataFile(), PlotIt::streamLines2d(), PlotIt::streamLines3d(), MatchingCurve::update(), LoftedSurfaceMapping::update(), CompositeTopology::update(), StretchTransform::update(), SquareMapping::update(), ColourBar::update(), FilletMapping::update(), UserDefinedMapping1::update(), GridStretcher::update(), AnnulusMapping::update(), CompositeSurface::update(), HyperbolicMapping::update(), UnstructuredMapping::update(), Ugen::updateHybrid(), and DataFormats::writePlot3d().
bool DialogData::setInfoLabel | ( | int | n, |
const aString & | buff | ||
) |
References infoLabelData, n_infoLabels, SC, and InfoLabel::textLabel.
Referenced by MappingBuilder::build(), main(), ShowFilePlotter::plotAll(), StretchTransform::update(), and StretchTransform::updateStretchingParameters().
void DialogData::setLastPullDownIsHelp | ( | int | trueFalse | ) |
References pdLastIsHelp.
Referenced by CompositeTopology::update().
void DialogData::setOptionMenuColumns | ( | int | columns | ) |
References optionMenuColumns.
Referenced by MappingBuilder::build(), GridSmoother::buildDialog(), HyperbolicMapping::buildMarchingParametersDialog(), HyperbolicMapping::buildMarchingSpacingDialog(), OgmgParameters::buildOptionsDialog(), ShowFilePlotter::buildPlotStuffDialog(), PlotIt::contour2d(), PlotIt::contour3d(), OffsetShell::createOffsetMappings(), main(), PlotIt::plotCompositeSurface(), PlotIt::plotGrid(), PlotIt::plotGridQuality(), TrimmedMappingBuilder::setOptionMenus(), GL_GraphicsInterface::setupHardCopy(), PlotIt::streamLines2d(), MatchingCurve::update(), LoftedSurfaceMapping::update(), StretchTransform::update(), ColourBar::update(), FilletMapping::update(), UserDefinedMapping1::update(), HyperbolicMapping::update(), and DataFormats::writePlot3d().
int DialogData::setPushButtons | ( | const aString | pbCommands[], |
const aString | pbLabels[], | ||
int | numberOfRows = 2 |
||
) |
References PushButton::buttonCommand, PushButton::buttonLabel, n_pButtons, pButtonRows, pButtons, and printF().
Referenced by MappingBuilder::assignBoundaryConditions(), MappingBuilder::build(), MappingBuilder::buildBoxGrid(), MappingBuilder::buildCurveOnSurface(), GridStretcher::buildDialog(), GridSmoother::buildDialog(), Mapping::buildMappingParametersDialog(), HyperbolicMapping::buildMarchingSpacingDialog(), OgmgParameters::buildOptionsDialog(), ShowFilePlotter::buildPlotStuffDialog(), HyperbolicMapping::buildStartCurveSpacingDialog(), StretchTransform::buildStretchingParametersDialog(), HyperbolicMapping::buildSurfaceGridParametersDialog(), MappingBuilder::buildSurfacePatch(), TrimmedMappingBuilder::buildTrimmedMapping(), Ogen::changeParameters(), PlotIt::contour2d(), PlotIt::contour3d(), OffsetShell::createOffsetMappings(), Integrate::defineSurfacesAndComputeWeights(), TrimmedMapping::editNurbsTrimCurve(), main(), ogen(), GL_GraphicsInterface::pause(), Ogen::plot(), plot3dToOverture(), PlotIt::plotCompositeSurface(), BodyForce::plotForcingRegions(), PlotIt::plotGrid(), Ogen::queryAPoint(), saveOvertureTextFile(), GL_GraphicsInterface::setupHardCopy(), showFileFromDataFile(), PlotIt::streamLines2d(), PlotIt::streamLines3d(), LoftedSurfaceMapping::update(), CompositeTopology::update(), StretchTransform::update(), SquareMapping::update(), ColourBar::update(), FilletMapping::update(), UserDefinedMapping1::update(), AnnulusMapping::update(), HyperbolicMapping::update(), and DataFormats::writePlot3d().
void DialogData::setSensitive | ( | int | trueFalse | ) |
References dialogWindow, n_pullDownMenu, pdMenuData, pointerCursor, setCursor(), and watchCursor.
Referenced by GL_GraphicsInterface::disableGUI(), TrimmedMapping::editNurbsTrimCurve(), main(), GL_GraphicsInterface::openGUI(), PlotIt::plotUM(), GL_GraphicsInterface::popGUI(), GL_GraphicsInterface::pushGUI(), HyperbolicMapping::setLinesAndDistanceLabels(), ShowFilePlotter::setSensitivity(), CompositeTopology::update(), TrimmedMapping::update(), HyperbolicMapping::update(), and Ugen::updateHybrid().
void DialogData::setSensitive | ( | bool | trueOrFalse, |
WidgetTypeEnum | widgetType, | ||
int | number | ||
) |
References n_optionMenu, n_pButtons, n_pullDownMenu, n_radioBoxes, n_text, n_toggle, opMenuData, optionMenuWidget, pButtons, pdMenuData, pullDownWidget, pushButtonWidget, radioBoxData, radioBoxWidget, PushButton::sensitive, ToggleButton::sensitive, TextLabel::sensitive, PullDownMenu::sensitive, OptionMenu::setSensitive(), RadioBox::setSensitive(), tButtons, textBoxes, textBoxWidget, and toggleButtonWidget.
void DialogData::setSensitive | ( | bool | trueOrFalse, |
WidgetTypeEnum | widgetType, | ||
const aString & | label | ||
) |
References PushButton::buttonLabel, ToggleButton::buttonLabel, PullDownMenu::menuTitle, n_optionMenu, n_pButtons, n_pullDownMenu, n_radioBoxes, n_text, n_toggle, opMenuData, OptionMenu::optionLabel, optionMenuWidget, pButtons, pdMenuData, pullDownWidget, pushButtonWidget, radioBoxData, radioBoxWidget, RadioBox::radioLabel, PushButton::sensitive, ToggleButton::sensitive, TextLabel::sensitive, PullDownMenu::sensitive, OptionMenu::setSensitive(), RadioBox::setSensitive(), tButtons, textBoxes, textBoxWidget, TextLabel::textLabel, and toggleButtonWidget.
int DialogData::setTextBoxes | ( | const aString | textCommands[], |
const aString | textLabels[], | ||
const aString | initString[] | ||
) |
References n_text, printF(), TextLabel::string, textBoxes, TextLabel::textCommand, and TextLabel::textLabel.
Referenced by MappingBuilder::assignBoundaryConditions(), MappingBuilder::build(), MappingBuilder::buildBoxGrid(), MappingBuilder::buildCurveOnSurface(), GridStretcher::buildDialog(), GridSmoother::buildDialog(), Mapping::buildMappingParametersDialog(), HyperbolicMapping::buildMarchingParametersDialog(), HyperbolicMapping::buildMarchingSpacingDialog(), OgmgParameters::buildOptionsDialog(), HyperbolicMapping::buildPlotOptionsDialog(), ShowFilePlotter::buildPlotStuffDialog(), HyperbolicMapping::buildStartCurveSpacingDialog(), StretchTransform::buildStretchingParametersDialog(), HyperbolicMapping::buildSurfaceGridParametersDialog(), MappingBuilder::buildSurfacePatch(), TrimmedMappingBuilder::buildTrimmedMapping(), PlotIt::contour2d(), PlotIt::contour3d(), OffsetShell::createOffsetMappings(), Integrate::defineSurfacesAndComputeWeights(), TrimmedMapping::editNurbsTrimCurve(), main(), ogen(), Ogen::plot(), plot3dToOverture(), PlotIt::plotGrid(), PlotIt::plotGridQuality(), PlotIt::plotUM(), Ogen::queryAPoint(), saveOvertureTextFile(), GL_GraphicsInterface::setupHardCopy(), showFileFromDataFile(), PlotIt::streamLines2d(), PlotIt::streamLines3d(), MatchingCurve::update(), LoftedSurfaceMapping::update(), CompositeTopology::update(), StretchTransform::update(), SquareMapping::update(), FilletMapping::update(), UserDefinedMapping1::update(), GridStretcher::update(), AnnulusMapping::update(), HyperbolicMapping::update(), and DataFormats::writePlot3d().
int DialogData::setTextLabel | ( | int | n, |
const aString & | buff | ||
) |
References dialogWindow, n_text, SC, TextLabel::string, and textBoxes.
Referenced by MappingBuilder::assignBoundaryConditions(), HyperbolicMapping::assignMarchingParametersDialog(), MappingBuilder::build(), MappingBuilder::buildBoxGrid(), HyperbolicMapping::buildCurve(), MappingBuilder::buildCurveOnSurface(), MappingBuilder::buildSurfacePatch(), GridStretcher::checkForStretchCommands(), PlotIt::contour2d(), PlotIt::contour3d(), OffsetShell::createOffsetMappings(), Mapping::getMappingParametersOption(), getTextValue(), GL_GraphicsInterface::hardcopyCommands(), main(), ShowFilePlotter::plot(), plot3dToOverture(), PlotIt::plotGrid(), PlotIt::plotGridQuality(), Ogen::queryAPoint(), HyperbolicMapping::setLinesAndDistanceLabels(), setTextLabel(), PlotIt::streamLines2d(), PlotIt::streamLines3d(), CompositeTopology::update(), StretchTransform::update(), SquareMapping::update(), ColourBar::update(), FilletMapping::update(), UserDefinedMapping1::update(), GridStretcher::update(), AnnulusMapping::update(), HyperbolicMapping::update(), Ugen::updateHybrid(), Mapping::updateMappingParametersDialog(), HyperbolicMapping::updateMarchingParameters(), HyperbolicMapping::updateMarchingSpacingOptions(), GridSmoother::updateOptions(), HyperbolicMapping::updateStartCurveSpacingOptions(), StretchTransform::updateStretchingParameters(), and HyperbolicMapping::updateSurfaceGridParameters().
References n_text, printF(), setTextLabel(), textBoxes, and TextLabel::textLabel.
int DialogData::setToggleButtons | ( | const aString | tbCommands[], |
const aString | tbLabels[], | ||
const int | initState[], | ||
int | numberOfColumns = 2 |
||
) |
References ToggleButton::buttonCommand, ToggleButton::buttonLabel, n_toggle, printF(), ToggleButton::state, tButtons, and toggleButtonColumns.
Referenced by MappingBuilder::assignBoundaryConditions(), MappingBuilder::build(), MappingBuilder::buildBoxGrid(), MappingBuilder::buildCurveOnSurface(), GridStretcher::buildDialog(), GridSmoother::buildDialog(), Mapping::buildMappingParametersDialog(), HyperbolicMapping::buildMarchingParametersDialog(), OgmgParameters::buildOptionsDialog(), HyperbolicMapping::buildPlotOptionsDialog(), ShowFilePlotter::buildPlotStuffDialog(), HyperbolicMapping::buildStartCurveSpacingDialog(), HyperbolicMapping::buildSurfaceGridParametersDialog(), MappingBuilder::buildSurfacePatch(), TrimmedMappingBuilder::buildTrimmedMapping(), PlotIt::contour2d(), PlotIt::contour3d(), Integrate::defineSurfacesAndComputeWeights(), TrimmedMapping::editNurbsTrimCurve(), main(), ogen(), PlotIt::plot(), MeshQualityMetrics::plot(), Ogen::plot(), plot3dToOverture(), PlotIt::plotCompositeSurface(), BodyForce::plotForcingRegions(), PlotIt::plotGrid(), PlotIt::plotUM(), Ogen::queryAPoint(), saveOvertureTextFile(), showFileFromDataFile(), CompositeTopology::update(), StretchTransform::update(), SquareMapping::update(), FilletMapping::update(), AnnulusMapping::update(), and DataFormats::writePlot3d().
int DialogData::setToggleState | ( | int | n, |
int | trueFalse | ||
) |
References n_toggle, ToggleButton::state, and tButtons.
Referenced by MappingBuilder::assignBoundaryConditions(), HyperbolicMapping::assignMarchingParametersDialog(), MappingBuilder::build(), MappingBuilder::buildBoxGrid(), MappingBuilder::buildCurveOnSurface(), MappingBuilder::buildSurfacePatch(), TrimmedMappingBuilder::buildTrimmedMapping(), PlotIt::contour2d(), PlotIt::contour3d(), TrimmedMapping::editNurbsTrimCurve(), getToggleValue(), main(), PlotIt::plot(), MeshQualityMetrics::plot(), PlotIt::plotGrid(), Ogen::queryAPoint(), setToggleState(), CompositeTopology::update(), FilletMapping::update(), GridStretcher::update(), TrimmedMapping::update(), HyperbolicMapping::update(), HyperbolicMapping::updateMarchingParameters(), GridSmoother::updateOptions(), HyperbolicMapping::updatePlotOptions(), HyperbolicMapping::updateStartCurveSpacingOptions(), and HyperbolicMapping::updateSurfaceGridParameters().
int DialogData::setToggleState | ( | const aString & | toggleButtonLabel, |
int | trueFalse | ||
) |
References n_toggle, setToggleState(), and tButtons.
void DialogData::setWindowTitle | ( | const aString & | title | ) |
References windowTitle.
Referenced by MappingBuilder::assignBoundaryConditions(), MappingBuilder::build(), MappingBuilder::buildBoxGrid(), HyperbolicMapping::buildCurve(), MappingBuilder::buildCurveOnSurface(), Mapping::buildMappingParametersDialog(), OgmgParameters::buildOptionsDialog(), ShowFilePlotter::buildPlotStuffDialog(), MappingBuilder::buildSurfacePatch(), TrimmedMappingBuilder::buildTrimmedMapping(), Ogen::changeParameters(), PlotIt::contour2d(), PlotIt::contour3d(), OffsetShell::createOffsetMappings(), Integrate::defineSurfacesAndComputeWeights(), TrimmedMapping::editNurbsTrimCurve(), main(), ogen(), GL_GraphicsInterface::pause(), PlotIt::plot(), MeshQualityMetrics::plot(), Ogen::plot(), plot3dToOverture(), PlotIt::plotCompositeSurface(), BodyForce::plotForcingRegions(), PlotIt::plotGrid(), PlotIt::plotGridQuality(), Ogen::queryAPoint(), saveOvertureTextFile(), GL_GraphicsInterface::setupHardCopy(), showFileFromDataFile(), PlotIt::streamLines2d(), PlotIt::streamLines3d(), MatchingCurve::update(), LoftedSurfaceMapping::update(), CompositeTopology::update(), StretchTransform::update(), SquareMapping::update(), ColourBar::update(), FilletMapping::update(), UserDefinedMapping1::update(), AnnulusMapping::update(), GridStretcher::update(), CompositeSurface::update(), HyperbolicMapping::update(), UnstructuredMapping::update(), Ugen::updateHybrid(), and DataFormats::writePlot3d().
int DialogData::showSibling | ( | ) |
|
protected |
Referenced by DialogData(), getBuiltInDialog(), and setBuiltInDialog().
|
protected |
Referenced by changeOptionMenu(), closeDialog(), DialogData(), getWidget(), hideSibling(), openDialog(), setCursor(), setSensitive(), setTextLabel(), and showSibling().
|
protected |
Referenced by dialogCommands(), DialogData(), getExitCommand(), and setExitCommand().
|
protected |
Referenced by DialogData(), openDialog(), and setExitCommand().
|
protected |
Referenced by DialogData(), openDialog(), and setExitCommand().
|
protected |
Referenced by addInfoLabel(), openDialog(), and setInfoLabel().
|
protected |
Referenced by addInfoLabel(), deleteInfoLabels(), DialogData(), openDialog(), and setInfoLabel().
|
protected |
Referenced by addOptionMenu(), changeOptionMenu(), deleteOptionMenus(), dialogCommands(), DialogData(), getOptionMenu(), openDialog(), setSensitive(), and ~DialogData().
|
protected |
Referenced by dialogCommands(), DialogData(), openDialog(), setPushButtons(), and setSensitive().
|
protected |
Referenced by addPulldownMenu(), dialogCommands(), DialogData(), getPulldownMenu(), openDialog(), and setSensitive().
|
protected |
Referenced by addRadioBox(), dialogCommands(), DialogData(), getRadioBox(), openDialog(), setSensitive(), and ~DialogData().
|
protected |
Referenced by closeDialog(), dialogCommands(), DialogData(), openDialog(), setSensitive(), setTextBoxes(), setTextLabel(), and ~DialogData().
|
protected |
Referenced by deleteToggleButtons(), dialogCommands(), DialogData(), openDialog(), setSensitive(), setToggleButtons(), and setToggleState().
|
protected |
Referenced by addOptionMenu(), changeOptionMenu(), deleteOptionMenus(), dialogCommands(), getOptionMenu(), openDialog(), setSensitive(), and ~DialogData().
|
protected |
Referenced by DialogData(), openDialog(), and setOptionMenuColumns().
|
protected |
Referenced by DialogData(), openDialog(), and setPushButtons().
|
protected |
Referenced by dialogCommands(), DialogData(), openDialog(), setPushButtons(), setSensitive(), and ~DialogData().
|
protected |
Referenced by DialogData(), openDialog(), and setLastPullDownIsHelp().
|
protected |
Referenced by addPulldownMenu(), dialogCommands(), getPulldownMenu(), openDialog(), and setSensitive().
|
protected |
Referenced by addRadioBox(), dialogCommands(), getRadioBox(), openDialog(), setSensitive(), and ~DialogData().
|
protected |
Referenced by deleteToggleButtons(), dialogCommands(), DialogData(), openDialog(), setSensitive(), setToggleButtons(), setToggleState(), and ~DialogData().
|
protected |
Referenced by closeDialog(), dialogCommands(), DialogData(), openDialog(), setSensitive(), setTextBoxes(), setTextLabel(), and ~DialogData().
|
protected |
Referenced by DialogData(), openDialog(), and setToggleButtons().
|
protected |
Referenced by DialogData(), openDialog(), and setWindowTitle().