Overture
Version 25
|
#include <MappingBuilder.h>
Public Types | |
enum | bcPlotOptionEnum { colourBoundariesByGridNumber, colourBoundariesByBCNumber, colourBoundariesByShareNumber } |
Public Member Functions | |
MappingBuilder () | |
~MappingBuilder () | |
int | build (MappingInformation &mapInfo, Mapping *surface=NULL) |
Protected Member Functions | |
int | assignBoundaryConditions (MappingInformation &mapInfo) |
int | buildBoxGrid (MappingInformation &mapInfo) |
int | buildCurveOnSurface (MappingInformation &mapInfo) |
int | buildSurfacePatch (MappingInformation &mapInfo) |
int | getBoundaryCurves () |
int | plot (MappingInformation &mapInfo) |
MappingBuilder::MappingBuilder | ( | ) |
MappingBuilder::~MappingBuilder | ( | ) |
References c, extraBoundaryCurve, NULL, and numberOfExtraBoundaryCurves.
|
protected |
References DialogData::addRadioBox(), GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, bcPlotOption, colourBoundariesByBCNumber, colourBoundariesByGridNumber, colourBoundariesByShareNumber, GraphicsParameters::colourByBoundaryCondition, GraphicsParameters::colourByGrid, GraphicsParameters::colourByShare, GenericGraphicsInterface::drawColouredSquares(), GenericGraphicsInterface::erase(), CompositeSurface::eraseCompositeSurface(), fabs(), GenericGraphicsInterface::getAnswer(), GraphicsParameters::getBoundaryColourOption(), Mapping::getBoundaryCondition(), Mapping::getDomainDimension(), ReferenceCounting::getGlobalID(), DialogData::getRadioBox(), Mapping::getShare(), GI_PLOT_NON_PHYSICAL_BOUNDARIES, GI_PLOT_SHADED_MAPPING_BOUNDARIES, MappingInformation::graphXInterface, ApproximateGlobalInverse::grid, Mapping::inverseMap(), SelectionInfo::nSelect, NULL, numberOfVolumeGrids, GenericGraphicsInterface::outputString(), GenericGraphicsInterface::outputToCommandFile(), parameters, PlotIt::plot(), plotNonPhysicalBoundaries, GenericGraphicsInterface::popGUI(), GenericGraphicsInterface::pushGUI(), r, REAL_MAX, GenericGraphicsInterface::savePickCommands(), SelectionInfo::selection, GraphicsParameters::set(), Mapping::setBoundaryCondition(), RadioBox::setCurrentChoice(), DialogData::setExitCommand(), CompositeSurface::setIsVisible(), DialogData::setPushButtons(), Mapping::setShare(), DialogData::setTextBoxes(), DialogData::setTextLabel(), DialogData::setToggleButtons(), DialogData::setToggleState(), DialogData::setWindowTitle(), share, sPrintF(), sScanF(), GenericGraphicsInterface::stopReadingCommandFile(), TRUE, GenericGraphicsInterface::unAppendTheDefaultPrompt(), volumeGrids, SelectionInfo::x, x, and SelectionInfo::zbMin.
Referenced by build().
int MappingBuilder::build | ( | MappingInformation & | mapInfo, |
Mapping * | surface = NULL |
||
) |
addPrefix(label,prefix,cmd,maxCommands);
addPrefix(label,prefix,cmd,maxCommands);
References CompositeSurface::add(), HyperbolicMapping::addBoundaryCurves(), ListOfMappingRC::addElement(), DialogData::addInfoLabel(), DialogData::addOptionMenu(), DialogData::addRadioBox(), GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, assignBoundaryConditions(), aString, axis1, bcPlotOption, boundaryCurves, buildBoxGrid(), GenericGraphicsInterface::buildCascadingMenu(), buildCurveOnSurface(), GUIState::buildPopup(), buildSurfacePatch(), choosePlotBoundsFromReferenceSurface, DialogData::closeDialog(), colourBoundariesByBCNumber, colourBoundariesByGridNumber, colourBoundariesByShareNumber, GraphicsParameters::colourByBoundaryCondition, GraphicsParameters::colourByGrid, GraphicsParameters::colourByShare, ReferenceCounting::decrementReferenceCount(), ListOfMappingRC::deleteElement(), HyperbolicMapping::distanceFromLinesAndSpacing, HyperbolicMapping::distanceToMarch, GenericGraphicsInterface::erase(), CompositeSurface::eraseCompositeSurface(), HyperbolicMapping::estimateMarchingParameters(), extraBoundaryCurve, FALSE, Mapping::functionPeriodic, HyperbolicMapping::generateNew(), GenericGraphicsInterface::getAnswer(), GraphicsParameters::getBoundaryColourOption(), ReferenceCounting::getClassName(), Mapping::getClassName(), GenericGraphicsInterface::getColourName(), MappingRC::getDomainDimension(), Mapping::getDomainDimension(), Mapping::getGridDimensions(), Mapping::getIsPeriodic(), ListOfMappingRC::getLength(), MappingRC::getMapping(), GenericGraphicsInterface::getMenuItem(), MappingRC::getName(), Mapping::getName(), DialogData::getRadioBox(), MappingRC::getRangeDimension(), Mapping::getRangeDimension(), DialogData::getTextValue(), GI_PLOT_LINES_ON_MAPPING_BOUNDARIES, GI_PLOT_SHADED_MAPPING_BOUNDARIES, GI_PLOT_THE_OBJECT_AND_EXIT, GI_PLOT_UNS_EDGES, GI_PLOT_UNS_FACES, MappingInformation::graphXInterface, ApproximateGlobalInverse::grid, HyperbolicMapping::growInTheReverseDirection, ReferenceCounting::incrementReferenceCount(), GenericGraphicsInterface::indexInCascadingMenu(), HyperbolicMapping::linesInTheNormalDirection, ApproximateGlobalInverse::map, MappingInformation::mappingList, Mapping::mappingName, HyperbolicMapping::matchToABoundaryCurve, max(), maxNumberOfExtraBoundaryCurves, HDF_DataBase::mount(), SelectionInfo::nSelect, NULL, numberOfBoundaryCurves, numberOfBoxGrids, numberOfExtraBoundaryCurves, numberOfGhostLinesToPlot, CompositeSurface::numberOfSubSurfaces(), numberOfSurfaceGrids, numberOfVolumeGrids, DialogData::openDialog(), GenericGraphicsInterface::outputString(), HyperbolicMapping::outwardSplay, parameters, HyperbolicMapping::periodic, plot(), plotBlockBoundaries, plotBoundaryConditionMappings, plotBoundaryCurves, plotGhostPoints, plotGridLines, plotNonPhysicalBoundaries, plotReferenceSurface, plotSurfaceGrids, plotVolumeGrids, GenericGraphicsInterface::popGUI(), printF(), HyperbolicMapping::projectGhostBoundaries, pSurface, GenericGraphicsInterface::pushGUI(), MappingRC::put(), Mapping::put(), ra, referenceSurfaceParameters, CompositeSurface::remove(), s, SelectionInfo::selection, GraphicsParameters::set(), HyperbolicMapping::setBoundaryCurves(), CompositeSurface::setColour(), RadioBox::setCurrentChoice(), DialogData::setExitCommand(), DialogData::setInfoLabel(), Mapping::setName(), DialogData::setOptionMenuColumns(), HyperbolicMapping::setParameters(), HyperbolicMapping::setPlotBoundsFromGlobalBounds, HyperbolicMapping::setPlotOption(), DialogData::setPushButtons(), HyperbolicMapping::setStartingCurve(), HyperbolicMapping::setSurface(), DialogData::setTextBoxes(), DialogData::setTextLabel(), DialogData::setToggleButtons(), DialogData::setToggleState(), DialogData::setWindowTitle(), sPrintF(), sScanF(), GenericGraphicsInterface::stopReadingCommandFile(), targetGridSpacing, HyperbolicMapping::THEboundaryConditions, HyperbolicMapping::THEinitialGridSpacing, HyperbolicMapping::THEspacingOption, HyperbolicMapping::THEtargetGridSpacing, TRUE, GenericGraphicsInterface::unAppendTheDefaultPrompt(), ReferenceCounting::uncountedReferencesMayExist(), HDF_DataBase::unmount(), Mapping::update(), and volumeGrids.
Referenced by createMappings().
|
protected |
References CompositeSurface::add(), ListOfMappingRC::addElement(), DialogData::addRadioBox(), GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, ApproximateGlobalInverse::boundingBox, ReferenceCounting::decrementReferenceCount(), End, CompositeSurface::eraseCompositeSurface(), fabs(), GenericGraphicsInterface::getAnswer(), GenericGraphicsInterface::getColourName(), GUIState::getDialogSibling(), Mapping::getDomainDimension(), ReferenceCounting::getGlobalID(), Mapping::getGrid(), Mapping::getGridDimensions(), Mapping::getName(), DialogData::getRadioBox(), Mapping::getRangeBound(), Mapping::getRangeDimension(), SelectionInfo::globalID, MappingInformation::graphXInterface, ApproximateGlobalInverse::grid, GridStretcher::gridWasChanged, ReferenceCounting::incrementReferenceCount(), Mapping::inverseMap(), Bound::isFinite(), Mapping::map(), MappingInformation::mappingList, Mapping::mappingName, SelectionInfo::nSelect, NULL, numberOfBoxGrids, CompositeSurface::numberOfSubSurfaces(), numberOfVolumeGrids, GenericGraphicsInterface::outputToCommandFile(), plot(), plotVolumeGrids, GenericGraphicsInterface::popGUI(), Mapping::project(), pSurface, GenericGraphicsInterface::pushGUI(), r, REAL_MAX, CompositeSurface::remove(), GenericGraphicsInterface::savePickCommands(), CompositeSurface::setColour(), RadioBox::setCurrentChoice(), DialogData::setExitCommand(), Mapping::setGridDimensions(), StretchTransform::setMapping(), Mapping::setName(), DialogData::setPushButtons(), DialogData::setTextBoxes(), DialogData::setTextLabel(), DialogData::setToggleButtons(), DialogData::setToggleState(), BoxMapping::setVertices(), DialogData::setWindowTitle(), share, sPrintF(), sScanF(), Start, GenericGraphicsInterface::stopReadingCommandFile(), targetGridSpacing, GenericGraphicsInterface::unAppendTheDefaultPrompt(), BoxMapping::update(), volumeGrids, SelectionInfo::x, and x.
Referenced by build().
|
protected |
References ListOfMappingRC::addElement(), GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, axis1, axis2, ApproximateGlobalInverse::boundingBox, IntersectionMapping::curve, End, GenericGraphicsInterface::erase(), extraBoundaryCurve, GenericGraphicsInterface::getAnswer(), Mapping::getClassName(), Mapping::getGrid(), Mapping::getRangeBound(), Mapping::getRangeDimension(), MappingInformation::graphXInterface, ReferenceCounting::incrementReferenceCount(), IntersectionMapping::intersect(), Bound::isFinite(), MappingInformation::mappingList, max(), maxNumberOfExtraBoundaryCurves, SelectionInfo::nSelect, NULL, numberOfExtraBoundaryCurves, NurbsMapping::numberOfSubCurves(), GenericGraphicsInterface::outputString(), parameters, PlotIt::plot(), plot(), GenericGraphicsInterface::popGUI(), printF(), pSurface, GenericGraphicsInterface::pushGUI(), DialogData::setExitCommand(), Mapping::setGridDimensions(), PlaneMapping::setPoints(), DialogData::setPushButtons(), DialogData::setTextBoxes(), DialogData::setTextLabel(), DialogData::setToggleButtons(), DialogData::setToggleState(), DialogData::setWindowTitle(), sPrintF(), sScanF(), Start, GenericGraphicsInterface::stopReadingCommandFile(), NurbsMapping::subCurve(), GenericGraphicsInterface::unAppendTheDefaultPrompt(), and Mapping::update().
Referenced by build().
|
protected |
References CompositeSurface::add(), DialogData::addRadioBox(), GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, boundaryCurves, GridStretcher::buildDialog(), GridSmoother::buildDialog(), c, GraphicsParameters::curveLineWidth, ReferenceCounting::decrementReferenceCount(), display(), ApproximateGlobalInverse::domainDimension, dr, CompositeSurface::eraseCompositeSurface(), extraBoundaryCurve, GraphicsParameters::get(), GenericGraphicsInterface::getAnswer(), Mapping::getArcLength(), getBoundaryCurves(), Mapping::getClassName(), CompositeSurface::getCompositeTopology(), GUIState::getDialogSibling(), Mapping::getDomainDimension(), CompositeTopology::getEdgeCurve(), ReferenceCounting::getGlobalID(), Mapping::getGrid(), Mapping::getGridDimensions(), getIndex(), MappingProjectionParameters::getIntArray(), Mapping::getIsPeriodic(), CompositeTopology::getNumberOfEdgeCurves(), NurbsMapping::getParameterBounds(), DialogData::getRadioBox(), GI_MAPPING_COLOUR, GI_NUMBER_OF_GHOST_LINES_TO_PLOT, GI_PLOT_MAPPING_EDGES, MappingInformation::graphXInterface, gridIndexRange, GridStretcher::gridWasChanged, DialogData::hideSibling(), i2, ReferenceCounting::incrementReferenceCount(), GenericGraphicsInterface::inputString(), Mapping::inverseMap(), Mapping::mapGrid(), Mapping::mappingName, max(), SelectionInfo::nSelect, NULL, numberOfBoundaryCurves, numberOfExtraBoundaryCurves, GenericGraphicsInterface::outputString(), GenericGraphicsInterface::outputToCommandFile(), parameters, plot(), PlotIt::plot(), plotBoundaryCurves, plotEdgeCurves, plotGhostPoints, plotReferenceSurface, plotSurfaceGrids, plotVolumeGrids, GridSmoother::pointsFixed, GenericGraphicsInterface::popGUI(), Mapping::project(), pSurface, GenericGraphicsInterface::pushGUI(), r, R, ra, ApproximateGlobalInverse::rangeDimension, referenceSurfaceParameters, GenericGraphicsInterface::savePickCommands(), SelectionInfo::selection, GraphicsParameters::set(), GridSmoother::setBoundaryConditions(), GridSmoother::setBoundaryMappings(), RadioBox::setCurrentChoice(), DataPointMapping::setDataPoints(), NurbsMapping::setDomainInterval(), DialogData::setExitCommand(), Mapping::setGridDimensions(), MappingProjectionParameters::setIsAMarchingAlgorithm(), Mapping::setIsPeriodic(), Mapping::setName(), DialogData::setPushButtons(), DialogData::setTextBoxes(), DialogData::setTextLabel(), DialogData::setToggleButtons(), DialogData::setToggleState(), DialogData::setWindowTitle(), DialogData::showSibling(), GridSmoother::smooth(), sPrintF(), SQR, sScanF(), GenericGraphicsInterface::stopReadingCommandFile(), targetGridSpacing, GenericGraphicsInterface::unAppendTheDefaultPrompt(), GridStretcher::update(), GridSmoother::updateOptions(), and x.
Referenced by build().
|
protected |
References boundaryCurves, Mapping::getClassName(), NULL, numberOfBoundaryCurves, and pSurface.
Referenced by buildSurfacePatch().
|
protected |
References assert, aString, boundaryCurves, GraphicsParameters::curveLineWidth, CompositeTopology::edgeCurveIsMerged, CompositeTopology::edgeCurveIsNotMerged, GenericGraphicsInterface::erase(), extraBoundaryCurve, FALSE, GraphicsParameters::get(), Mapping::getClassName(), GenericGraphicsInterface::getColourName(), CompositeSurface::getCompositeTopology(), CompositeTopology::getEdgeCurve(), CompositeTopology::getEdgeCurveStatus(), CompositeTopology::getNumberOfEdgeCurves(), Mapping::getRangeDimension(), GI_MAPPING_COLOUR, GI_NUMBER_OF_GHOST_LINES_TO_PLOT, GI_PLOT_END_POINTS_ON_CURVES, GI_PLOT_GRID_POINTS_ON_CURVES, GI_PLOT_LINES_ON_MAPPING_BOUNDARIES, GI_PLOT_MAPPING_EDGES, GI_PLOT_NON_PHYSICAL_BOUNDARIES, GI_PLOT_SHADED_MAPPING_BOUNDARIES, GI_PLOT_THE_OBJECT_AND_EXIT, GI_PLOT_UNS_EDGES, GI_POINT_SIZE, GI_SURFACE_OFFSET, MappingInformation::graphXInterface, NULL, numberOfBoundaryCurves, numberOfExtraBoundaryCurves, numberOfGhostLinesToPlot, parameters, PlotIt::plot(), plotBlockBoundaries, plotBoundaryCurves, plotEdgeCurves, plotGhostPoints, plotGridLines, plotNonPhysicalBoundaries, plotReferenceSurface, plotSurfaceGrids, plotVolumeGrids, printF(), pSurface, referenceSurfaceParameters, GraphicsParameters::set(), GenericGraphicsInterface::setAxesDimension(), TRUE, and volumeGrids.
Referenced by build(), buildBoxGrid(), buildCurveOnSurface(), and buildSurfacePatch().
|
protected |
Referenced by assignBoundaryConditions(), and build().
|
protected |
Referenced by build(), buildSurfacePatch(), getBoundaryCurves(), MappingBuilder(), and plot().
|
protected |
Referenced by build().
|
protected |
Referenced by build(), buildCurveOnSurface(), buildSurfacePatch(), MappingBuilder(), plot(), and ~MappingBuilder().
|
protected |
Referenced by build(), buildCurveOnSurface(), and MappingBuilder().
|
protected |
Referenced by build(), buildSurfacePatch(), getBoundaryCurves(), MappingBuilder(), and plot().
|
protected |
Referenced by build(), and buildBoxGrid().
|
protected |
Referenced by build(), buildCurveOnSurface(), buildSurfacePatch(), MappingBuilder(), plot(), and ~MappingBuilder().
|
protected |
Referenced by build().
|
protected |
Referenced by assignBoundaryConditions(), build(), and buildBoxGrid().
|
protected |
Referenced by assignBoundaryConditions(), build(), buildCurveOnSurface(), buildSurfacePatch(), and plot().
|
protected |
Referenced by build().
|
protected |
Referenced by build(), buildSurfacePatch(), and plot().
|
protected |
Referenced by buildSurfacePatch(), MappingBuilder(), and plot().
|
protected |
Referenced by build(), buildSurfacePatch(), and plot().
|
protected |
Referenced by assignBoundaryConditions(), build(), and plot().
|
protected |
Referenced by build(), buildSurfacePatch(), and plot().
|
protected |
Referenced by build(), buildSurfacePatch(), and plot().
|
protected |
Referenced by build(), buildBoxGrid(), buildSurfacePatch(), and plot().
|
protected |
Referenced by build(), buildBoxGrid(), buildCurveOnSurface(), buildSurfacePatch(), getBoundaryCurves(), MappingBuilder(), and plot().
|
protected |
Referenced by build(), buildSurfacePatch(), and plot().
|
protected |
Referenced by MappingBuilder().
|
protected |
Referenced by build(), buildBoxGrid(), buildSurfacePatch(), and MappingBuilder().
|
protected |
Referenced by assignBoundaryConditions(), build(), buildBoxGrid(), MappingBuilder(), and plot().