Overture  Version 25
Public Types | Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | List of all members
GenericGraphicsInterface Class Referenceabstract

#include <GenericGraphicsInterface.h>

Inheritance diagram for GenericGraphicsInterface:
Inheritance graph
[legend]
Collaboration diagram for GenericGraphicsInterface:
Collaboration graph
[legend]

Public Types

enum  HardCopyRenderingEnum { offScreenRender, frameBuffer }
 
enum  { defaultOrigin =-(INT_MAX/2) }
 
enum  ItemColourEnum { backGroundColour =0, textColour, numberOfItemColours }
 
enum  { numberOfColourNames =25 }
 
enum  ViewParameters {
  xAxisAngle, yAxisAngle, zAxisAngle, xTranslation,
  yTranslation, zTranslation, magnification
}
 
enum  displayListProperty { lightDL = 1, plotDL = 2, hideableDL = 4, interactiveDL = 8 }
 

Public Member Functions

 GenericGraphicsInterface ()
 
 GenericGraphicsInterface (int &argc, char *argv[])
 
virtual ~GenericGraphicsInterface ()
 
void abortIfCommandFileEnds (bool trueOrFalse=true)
 
virtual void appendCommandHistory (const aString &answer)=0
 
int appendToTheDefaultPrompt (const aString &appendage)
 
virtual int beginRecordDisplayLists (IntegerArray &displayLists)=0
 
int buildCascadingMenu (aString *&menu, int startCascade, int endCascade) const
 
virtual aString chooseAColour ()=0
 
virtual void createMessageDialog (aString msg, MessageTypeEnum type)=0
 
virtual int createWindow (const aString &windowTitle=nullString, int argc=0, char *argv[]=NULL)=0
 
virtual void deleteList (int dList)=0
 
virtual int destroyWindow (int win_number)=0
 
virtual void displayColourBar (const int &numberOfContourLevels, RealArray &contourLevels, GUITypes::real uMin, GUITypes::real uMax, GraphicsParameters &parameters)=0
 
virtual bool displayHelp (const aString &topic)=0
 
virtual void drawColouredSquares (const IntegerArray &numberList, GraphicsParameters &parameters=Overture::defaultGraphicsParameters(), const int &numberOfColourNames=-1, aString *colourNames=NULL)=0
 
virtual void drawColourBar (const int &numberOfContourLevels, RealArray &contourLevels, GUITypes::real uMin=0., GUITypes::real uMax=1., GraphicsParameters &parameters=Overture::defaultGraphicsParameters(), GUITypes::real xLeft=.775, GUITypes::real xRight=.825, GUITypes::real yBottom=-.75, GUITypes::real yTop=.75)=0
 
virtual int endRecordDisplayLists (IntegerArray &displayLists)=0
 
virtual void erase ()=0
 
virtual void erase (const int win_number, bool forceDelete=false)=0
 
virtual void erase (const IntegerArray &displayList)=0
 
virtual void eraseColourBar ()=0
 
virtual void eraseLabels (GraphicsParameters &parameters, int win_number=-1)=0
 
virtual int generateNewDisplayList (bool lit=false, bool plotIt=true, bool erasable=false, bool interactive=true)=0
 
virtual int getMenuItem (const aString *menu, aString &answer, const aString &prompt=nullString)=0
 
virtual int getAnswer (aString &answer, const aString &prompt)=0
 
virtual int getAnswer (aString &answer, const aString &prompt, SelectionInfo &selection)=0
 
virtual int getAnswerNoBlock (aString &answer, const aString &prompt)=0
 
virtual GUITypes::real getAspectRatio (const int win=0)=0
 
virtual void getAxesOrigin (GUITypes::real &x0, GUITypes::real &y0, GUITypes::real &z0)=0
 
int getInfoLevel () const
 
virtual int getFirstDL (const int win)=0
 
virtual int getFirstFixedDL (const int win)=0
 
virtual int getTopLabelDL (const int win)=0
 
virtual int getTopLabel1DL (const int win)=0
 
virtual int getTopLabel2DL (const int win)=0
 
virtual int getTopLabel3DL (const int win)=0
 
virtual int getBottomLabelDL (const int win)=0
 
virtual int getBottomLabel1DL (const int win)=0
 
virtual int getBottomLabel2DL (const int win)=0
 
virtual int getBottomLabel3DL (const int win)=0
 
virtual int getCurrentWindow ()=0
 
virtual aString getColour (ItemColourEnum item)=0
 
virtual aString getColourName (int i) const =0
 
virtual int getColouredSquaresDL (const int win)=0
 
virtual int getColourBarDL (const int win)=0
 
const aString & getDefaultPrompt ()
 
virtual RealArray getGlobalBound () const =0
 
virtual bool getKeepAspectRatio ()=0
 
virtual bool getPlotTheAxes (int win_number=-1)=0
 
virtual bool getPlotTheColourBar (int win_number=-1)=0
 
virtual bool getPlotTheColouredSquares (int win_number=-1)=0
 
virtual bool getPlotTheLabels (int win_number=-1)=0
 
virtual int getFirstUserLabelDL (const int win)=0
 
virtual int getLastUserLabelDL (const int win)=0
 
virtual int getLastFixedDL (const int win)=0
 
virtual int getFirstRotableDL (const int win)=0
 
virtual int getAxesDL (const int win)=0
 
virtual int getFirstUserRotableDL (const int win)=0
 
virtual int getLastUserRotableDL (const int win)=0
 
virtual int getLastRotableDL (const int win)=0
 
virtual int getLastDL (const int win)=0
 
virtual GUITypes::real getLineWidthScaleFactor (int window=-1)=0
 
virtual int getMaxNOfDL (const int win)=0
 
int getMatch (const aString *menu, aString &answer)
 
virtual int getNewLabelList (int win=-1)=0
 
int getProcessorForGraphics ()
 
FILE * getReadCommandFile () const
 
FILE * getSaveCommandFile () const
 
int getValues (const aString &prompt, IntegerArray &values, const int minimunValue=INT_MIN, const int maximumValue=INT_MAX, const int sort=0)
 
int getValues (const aString &prompt, RealArray &values, const GUITypes::real minimunValue=-REAL_MAX, const GUITypes::real maximumValue=REAL_MAX, const int sort=0)
 
virtual void getView (ViewLocation &loc, int win_number=-1)=0
 
virtual aString getXAxisLabel ()=0
 
virtual aString getYAxisLabel ()=0
 
virtual aString getZAxisLabel ()=0
 
virtual bool getPlotTheRotationPoint (int win_number=-1)=0
 
virtual bool getPlotTheBackgroundGrid (int win_number=-1)=0
 
bool graphicsIsOn ()
 
virtual int hardCopy (const aString &fileName=nullString, GraphicsParameters &parameters=Overture::defaultGraphicsParameters(), int win_number=-1)=0
 
int indexInCascadingMenu (int &index, const int startCascade, const int endCascade) const
 
virtual void initView (int win_number=-1)=0
 
virtual void inputFileName (aString &answer, const aString &prompt=nullString, const aString &extension=nullString)=0
 
virtual void inputString (aString &answer, const aString &prompt=nullString)
 
bool isGraphicsWindowOpen ()
 
bool isInteractiveGraphicsOn ()
 
virtual void label (const aString &string, GUITypes::real xPosition, GUITypes::real yPosition, GUITypes::real size=.1, int centering=0, GUITypes::real angle=0., GraphicsParameters &parameters=Overture::defaultGraphicsParameters(), const aString &colour=nullString, GUITypes::real zOffset=.99)=0
 
virtual int normalizedToWorldCoordinates (const RealArray &r, RealArray &x) const =0
 
virtual void outputString (const aString &message, int messageLevel=2)
 
void outputToCommandFile (const aString &line)
 
virtual int pause ()=0
 
virtual int pickPoints (RealArray &x, bool plotPoints=TRUE, int win_number=-1)=0
 
virtual void plotLabels (GraphicsParameters &parameters, const GUITypes::real &labelSize=-1., const GUITypes::real &topLabelHeight=.925, const GUITypes::real &bottomLabelHeight=-.925, int win_number=-1)=0
 
virtual void plotPoints (const realArray &points, GraphicsParameters &parameters=Overture::defaultGraphicsParameters(), int dList=0)=0
 
virtual void plotPoints (const realArray &points, const realArray &value, GraphicsParameters &parameters=Overture::defaultGraphicsParameters(), int dList=0)=0
 
virtual void plotLines (const realArray &arrows, GraphicsParameters &parameters=Overture::defaultGraphicsParameters(), int dList=0)=0
 
int popDefaultPrompt ()
 
virtual void pollEvents ()=0
 
virtual void pushGUI (GUIState &newState)=0
 
virtual void popGUI ()=0
 
virtual int psToRaster (const aString &fileName, const aString &ppmFileName)=0
 
int pushDefaultPrompt (const aString &prompt)
 
FILE * readCommandFile (const aString &commandFileName=nullString)
 
int readCommandsFromStrings (const aString *commands)
 
bool readingFromCommandFile () const
 
virtual void redraw (bool immediate=FALSE)=0
 
virtual void resetGlobalBound (const int win_number)=0
 
virtual void resetView (int win_number=-1)=0
 
FILE * saveCommandFile (const aString &commandFileName=nullString)
 
int savePickCommands (bool trueOrFalse=TRUE)
 
virtual void setCurrentWindow (const int &w)=0
 
int setDefaultPrompt (const aString &prompt)
 
FILE * saveEchoFile (const aString &fileName=nullString)
 
virtual int setAxesLabels (const aString &xAxisLabel=blankString, const aString &yAxisLabel=blankString, const aString &zAxisLabel=blankString)=0
 
virtual int setAxesOrigin (const GUITypes::real x0=defaultOrigin, const GUITypes::real y0=defaultOrigin, const GUITypes::real z0=defaultOrigin)=0
 
virtual int setColour (const aString &colourName)=0
 
virtual int setColour (ItemColourEnum item)=0
 
virtual void setColourFromTable (const GUITypes::real value, GraphicsParameters &parameters=Overture::defaultGraphicsParameters())=0
 
virtual void setColourName (int i, aString newColourName) const =0
 
virtual void setGlobalBound (const RealArray &xBound)=0
 
virtual int setKeepAspectRatio (bool trueOrFalse=true)=0
 
void setInfoLevel (int value)
 
virtual void setLineWidthScaleFactor (const GUITypes::real &lineWidthScaleFactor=1, int win_number=-1)=0
 
void setIgnorePause (bool trueOrFalse=true)
 
virtual void setInteractiveDL (int list, bool interactive)=0
 
virtual void setLighting (int list, bool lit)=0
 
virtual void setPlotDL (int list, bool lit)=0
 
virtual void setPlotTheAxes (bool newState, int win_number=-1)=0
 
void setSingleProcessorGraphicsMode (bool mode)
 
virtual void setXAxisLabel (const aString &xAxisLabel_=blankString)=0
 
virtual void setYAxisLabel (const aString &yAxisLabel_=blankString)=0
 
virtual void setZAxisLabel (const aString &zAxisLabel_=blankString)=0
 
virtual void setAxesDimension (int dim, int win_number=-1)=0
 
virtual void setPlotTheLabels (bool newState, int win_number=-1)=0
 
virtual void setPlotTheRotationPoint (bool newState, int win_number=-1)=0
 
virtual void setPlotTheColourBar (bool newState, int win_number=-1)=0
 
virtual void setPlotTheColouredSquares (bool newState, int win_number=-1)=0
 
virtual void setPlotTheBackgroundGrid (bool newState, int win_number=-1)=0
 
virtual void setUserButtonSensitive (int btn, int trueOrFalse)=0
 
virtual void setView (ViewLocation &loc, int win_number=-1)=0
 
virtual void setView (const ViewParameters &viewParameter, const GUITypes::real &value)=0
 
virtual void stopReadingCommandFile ()
 
void stopSavingCommandFile ()
 
void stopSavingEchoFile ()
 
void turnOnGraphics ()
 
void turnOffGraphics ()
 
int unAppendTheDefaultPrompt ()
 
virtual void updateColourBar (GraphicsParameters &parameters, int window=0)=0
 
virtual int worldToNormalizedCoordinates (const RealArray &x, RealArray &r) const =0
 
virtual void xLabel (const aString &string, const GUITypes::real xPosition, const GUITypes::real yPosition, const GUITypes::real size=.1, const int centering=0, const GUITypes::real angle=0., GraphicsParameters &parameters=Overture::defaultGraphicsParameters(), int win_number=-1)=0
 
virtual void xLabel (const aString &string, const RealArray &x, const GUITypes::real size=.1, const int centering=0, const GUITypes::real angle=0., GraphicsParameters &parameters=Overture::defaultGraphicsParameters(), int win_number=-1)=0
 
virtual void xLabel (const aString &string, const GUITypes::real x[3], const GUITypes::real size=.1, const int centering=0, const GUITypes::real angle=0., GraphicsParameters &parameters=Overture::defaultGraphicsParameters(), int win_number=-1)=0
 
virtual void xLabel (const aString &string, const RealArray &x, const GUITypes::real size, const int centering, const RealArray &rightVector, const RealArray &upVector, GraphicsParameters &parameters=Overture::defaultGraphicsParameters(), int win_number=-1)=0
 
virtual void xLabel (const aString &string, const GUITypes::real x[3], const GUITypes::real size, const int centering, const GUITypes::real rightVector[3], const GUITypes::real upVector[3], GraphicsParameters &parameters=Overture::defaultGraphicsParameters(), int win_number=-1)=0
 
int parseAnswer (aString &answer)
 

Public Attributes

int gridCoarseningFactor
 

Protected Types

enum  Sizes {
  lineWidth =GraphicsParameters::lineWidth, axisNumberSize =GraphicsParameters::axisNumberSize, axisLabelSize =GraphicsParameters::axisLabelSize, axisMinorTickSize =GraphicsParameters::axisMinorTickSize,
  axisMajorTickSize =GraphicsParameters::axisMajorTickSize, topLabelSize =GraphicsParameters::topLabelSize, topSubLabelSize =GraphicsParameters::topSubLabelSize, bottomLabelSize =GraphicsParameters::bottomLabelSize,
  bottomSubLabelSize =GraphicsParameters::bottomSubLabelSize, minorContourWidth =GraphicsParameters::minorContourWidth, majorContourWidth =GraphicsParameters::majorContourWidth, streamLineWidth =GraphicsParameters::streamLineWidth,
  labelLineWidth =GraphicsParameters::labelLineWidth, curveLineWidth =GraphicsParameters::curveLineWidth, extraSize1, extraSize2,
  extraSize3, numberOfSizes
}
 

Protected Member Functions

void constructor (int &argc, char *argv[])
 
int readLineFromCommandFile (aString &answer)
 
virtual int processSpecialMenuItems (aString &answer)
 
int fileAnswer (aString &answer, const aString &prompt, SelectionInfo *selection_)
 
int promptAnswerSelectPick (aString &answer, const aString &prompt, SelectionInfo *selection_)
 
int promptAnswer (aString &answer, const aString &prompt=nullString)
 

Protected Attributes

aString readFileName
 
aString saveFileName
 
aString echoFileName
 
FILE * readFile
 
FILE * saveFile
 
FILE * echoFile
 
std::stack< FILE * > readFileStack
 
std::queue< aString > stringCommands
 
bool getInteractiveResponse
 
bool readCommands
 
bool saveCommands
 
bool savePick
 
OvertureParser * parser
 
bool useParser
 
bool singleProcessorGraphicsMode
 
int processorForGraphics
 
bool graphicsPlottingIsOn
 
GUIState * currentGUI
 
aString defaultPrompt
 
aString indentBlanks
 
aString * defaultPromptStack
 
int maxNumberOfDefaultPrompts
 
int topOfDefaultPromptStack
 
int saveFileCount
 
bool graphicsWindowIsOpen
 
bool interactiveGraphicsIsOn
 
bool ignorePause
 
bool preferDirectRendering
 
HardCopyRenderingEnum hardCopyRenderingType
 
int numberRecorded
 
IntegerArray * recordDisplayLists
 
int simplifyPlotWhenRotating
 
int infoLevel
 
int abortProgramIfCommandFileEnds
 

Member Enumeration Documentation

anonymous enum
Enumerator
defaultOrigin 
anonymous enum
Enumerator
numberOfColourNames 
Enumerator
lightDL 
plotDL 
hideableDL 
interactiveDL 
Enumerator
offScreenRender 
frameBuffer 
Enumerator
backGroundColour 
textColour 
numberOfItemColours 
Enumerator
lineWidth 
axisNumberSize 
axisLabelSize 
axisMinorTickSize 
axisMajorTickSize 
topLabelSize 
topSubLabelSize 
bottomLabelSize 
bottomSubLabelSize 
minorContourWidth 
majorContourWidth 
streamLineWidth 
labelLineWidth 
curveLineWidth 
extraSize1 
extraSize2 
extraSize3 
numberOfSizes 
Enumerator
xAxisAngle 
yAxisAngle 
zAxisAngle 
xTranslation 
yTranslation 
zTranslation 
magnification 

Constructor & Destructor Documentation

GenericGraphicsInterface::GenericGraphicsInterface ( )
GenericGraphicsInterface::GenericGraphicsInterface ( int &  argc,
char *  argv[] 
)
GenericGraphicsInterface::~GenericGraphicsInterface ( )
virtual

Member Function Documentation

void GenericGraphicsInterface::abortIfCommandFileEnds ( bool  trueOrFalse = true)
virtual void GenericGraphicsInterface::appendCommandHistory ( const aString &  answer)
pure virtual

Implemented in GL_GraphicsInterface.

Referenced by fileAnswer(), and outputToCommandFile().

int GenericGraphicsInterface::appendToTheDefaultPrompt ( const aString &  appendage)

References defaultPrompt, indentBlanks, and pushDefaultPrompt().

Referenced by MappingBuilder::assignBoundaryConditions(), MappingBuilder::build(), MappingBuilder::buildBoxGrid(), MappingBuilder::buildCurveOnSurface(), MappingBuilder::buildSurfacePatch(), TrimmedMappingBuilder::buildTrimmedMapping(), Ogen::changeParameters(), Ogen::chooseASide(), PlotIt::contour1d(), PlotIt::contour2d(), PlotIt::contour3d(), PlotIt::contourCuts(), createMappings(), OffsetShell::createOffsetMappings(), Integrate::defineSurfacesAndComputeWeights(), fileOutput(), getValues(), main(), ogen(), GL_GraphicsInterface::pickPoints(), ShowFilePlotter::plot(), PlotIt::plot(), Ogen::plot(), plot3dToOverture(), PlotIt::plotCompositeSurface(), PlotIt::plotGrid(), GL_GraphicsInterface::plotPoints(), PlotIt::plotStructured(), PlotIt::plotUM(), Ogen::queryAPoint(), MappingsFromCAD::readMappings(), saveOvertureTextFile(), showFileFromDataFile(), DataPointMapping::specifyTopology(), PlotIt::streamLines2d(), PlotIt::streamLines3d(), FileOutput::update(), SmoothedPolygon::update(), RocketMapping::update(), PolynomialMapping::update(), LoftedSurfaceMapping::update(), NormalMapping::update(), StretchedSquare::update(), JoinMapping::update(), StretchTransform::update(), DepthMapping::update(), DataPointMapping::update(), QuadraticMapping::update(), CircleMapping::update(), PlaneMapping::update(), SquareMapping::update(), ColourBar::update(), ReorientMapping::update(), EllipticTransform::update(), OrthographicTransform::update(), FilletMapping::update(), MatrixTransform::update(), UserDefinedMapping1::update(), RestrictionMapping::update(), RevolutionMapping::update(), BoxMapping::update(), CylinderMapping::update(), TFIMapping::update(), AirfoilMapping::update(), AnnulusMapping::update(), GridStretcher::update(), LineMapping::update(), LoadBalancer::update(), ReductionMapping::update(), IntersectionMapping::update(), SphereMapping::update(), SweepMapping::update(), ErrorEstimator::update(), CrossSectionMapping::update(), ComposeMapping::update(), EllipticGridGenerator::update(), ReparameterizationTransform::update(), Regrid::update(), StretchMapping::update(), SplineMapping::update(), CompositeSurface::update(), FilamentMapping::update(), OgmgParameters::update(), OgesParameters::update(), HyperbolicMapping::update(), UnstructuredMapping::update(), NurbsMapping::update(), Ugen::updateHybrid(), HyperbolicMapping::updateOld(), PlotIt::userDefinedOutput(), viewMappings(), and DataFormats::writePlot3d().

virtual int GenericGraphicsInterface::beginRecordDisplayLists ( IntegerArray &  displayLists)
pure virtual
int GenericGraphicsInterface::buildCascadingMenu ( aString *&  menu,
int  startCascade,
int  endCascade 
) const
virtual aString GenericGraphicsInterface::chooseAColour ( )
pure virtual
void GenericGraphicsInterface::constructor ( int &  argc,
char *  argv[] 
)
protected
virtual void GenericGraphicsInterface::createMessageDialog ( aString  msg,
MessageTypeEnum  type 
)
pure virtual
virtual int GenericGraphicsInterface::createWindow ( const aString &  windowTitle = nullString,
int  argc = 0,
char *  argv[] = NULL 
)
pure virtual

Implemented in GL_GraphicsInterface.

Referenced by createMappings(), and Ugen::updateHybrid().

virtual void GenericGraphicsInterface::deleteList ( int  dList)
pure virtual
virtual int GenericGraphicsInterface::destroyWindow ( int  win_number)
pure virtual

Implemented in GL_GraphicsInterface.

virtual void GenericGraphicsInterface::displayColourBar ( const int &  numberOfContourLevels,
RealArray &  contourLevels,
GUITypes::real  uMin,
GUITypes::real  uMax,
GraphicsParameters &  parameters 
)
pure virtual

Implemented in GL_GraphicsInterface.

Referenced by PlotIt::contour2d().

virtual bool GenericGraphicsInterface::displayHelp ( const aString &  topic)
pure virtual

Implemented in GL_GraphicsInterface.

Referenced by TrimmedMapping::update().

virtual void GenericGraphicsInterface::drawColourBar ( const int &  numberOfContourLevels,
RealArray &  contourLevels,
GUITypes::real  uMin = 0.,
GUITypes::real  uMax = 1.,
GraphicsParameters &  parameters = Overture::defaultGraphicsParameters(),
GUITypes::real  xLeft = .775,
GUITypes::real  xRight = .825,
GUITypes::real  yBottom = -.75,
GUITypes::real  yTop = .75 
)
pure virtual
virtual void GenericGraphicsInterface::drawColouredSquares ( const IntegerArray &  numberList,
GraphicsParameters &  parameters = Overture::defaultGraphicsParameters(),
const int &  numberOfColourNames = -1,
aString *  colourNames = NULL 
)
pure virtual
virtual int GenericGraphicsInterface::endRecordDisplayLists ( IntegerArray &  displayLists)
pure virtual
virtual void GenericGraphicsInterface::erase ( )
pure virtual

Implemented in GL_GraphicsInterface.

Referenced by MappingBuilder::assignBoundaryConditions(), UserDefinedMapping1::bladeSetup(), MappingBuilder::build(), HyperbolicMapping::buildCurve(), MappingBuilder::buildCurveOnSurface(), CompositeTopology::buildEdgeSegment(), Ogmg::buildExtraLevels(), Ogmg::buildExtraLevelsNew(), CompositeTopology::buildSubSurfaceTriangulation(), TrimmedMappingBuilder::buildTrimmedMapping(), Ogmg::coarseToFine(), PlotIt::contour3d(), PlotIt::contourCuts(), MappingsFromCAD::createCompositeCurve(), MappingsFromCAD::createCurveOnAParametricSurface(), createMappings(), OffsetShell::createOffsetMappings(), MappingsFromCAD::createSurface(), MappingsFromCAD::createTrimmedSurface(), Ogmg::cycle(), Integrate::defineSurfacesAndComputeWeights(), TrimmedMapping::editNurbsTrimCurve(), equiGridSmoother(), Ogmg::fineToCoarse(), Ogmg::fullMultigrid(), EllipticTransform::generateGrid(), HyperbolicMapping::hypgen(), JoinMapping::initialize(), FilletMapping::initialize(), main(), ogen(), ShowFilePlotter::plot(), MappingBuilder::plot(), PlotIt::plot(), Ugen::plot(), EllipticGridGenerator::plot(), Ogen::plot(), plot3dToOverture(), ShowFilePlotter::plotAll(), TrimmedMappingBuilder::plotCurvesAndSurfaces(), BodyForce::plotForcingRegions(), PlotIt::plotGridQuality(), plotSurfaceAndEdges(), Ogen::queryAPoint(), refineTriangulation(), saveOvertureTextFile(), showFileFromDataFile(), DataPointMapping::specifyTopology(), TrimmedMapping::triangulate(), SmoothedPolygon::update(), RocketMapping::update(), PolynomialMapping::update(), ChannelMapping::update(), LoftedSurfaceMapping::update(), CompositeTopology::update(), NormalMapping::update(), StretchedSquare::update(), JoinMapping::update(), StretchTransform::update(), DepthMapping::update(), DataPointMapping::update(), QuadraticMapping::update(), CircleMapping::update(), PlaneMapping::update(), SquareMapping::update(), FilletMapping::update(), OrthographicTransform::update(), ReorientMapping::update(), EllipticTransform::update(), MatrixTransform::update(), UserDefinedMapping1::update(), RestrictionMapping::update(), RevolutionMapping::update(), BoxMapping::update(), CylinderMapping::update(), AirfoilMapping::update(), TFIMapping::update(), AnnulusMapping::update(), LineMapping::update(), ReductionMapping::update(), IntersectionMapping::update(), SphereMapping::update(), SweepMapping::update(), CrossSectionMapping::update(), ComposeMapping::update(), EllipticGridGenerator::update(), ReparameterizationTransform::update(), StretchMapping::update(), SplineMapping::update(), CompositeSurface::update(), FilamentMapping::update(), TrimmedMapping::update(), HyperbolicMapping::update(), Mapping::update(), UnstructuredMapping::update(), NurbsMapping::update(), Ugen::updateHybrid(), HyperbolicMapping::updateOld(), viewMappings(), and DataFormats::writePlot3d().

virtual void GenericGraphicsInterface::erase ( const int  win_number,
bool  forceDelete = false 
)
pure virtual

Implemented in GL_GraphicsInterface.

virtual void GenericGraphicsInterface::erase ( const IntegerArray &  displayList)
pure virtual

Implemented in GL_GraphicsInterface.

virtual void GenericGraphicsInterface::eraseColourBar ( )
pure virtual

Implemented in GL_GraphicsInterface.

Referenced by PlotIt::contour1d().

virtual void GenericGraphicsInterface::eraseLabels ( GraphicsParameters &  parameters,
int  win_number = -1 
)
pure virtual

Implemented in GL_GraphicsInterface.

Referenced by PlotIt::contour2d(), and PlotIt::contour3d().

int GenericGraphicsInterface::fileAnswer ( aString &  answer,
const aString &  prompt,
SelectionInfo *  selection_ 
)
protected
virtual int GenericGraphicsInterface::generateNewDisplayList ( bool  lit = false,
bool  plotIt = true,
bool  erasable = false,
bool  interactive = true 
)
pure virtual
virtual int GenericGraphicsInterface::getAnswer ( aString &  answer,
const aString &  prompt 
)
pure virtual
virtual int GenericGraphicsInterface::getAnswer ( aString &  answer,
const aString &  prompt,
SelectionInfo &  selection 
)
pure virtual

Implemented in GL_GraphicsInterface.

virtual int GenericGraphicsInterface::getAnswerNoBlock ( aString &  answer,
const aString &  prompt 
)
pure virtual

Implemented in GL_GraphicsInterface.

Referenced by ShowFilePlotter::plot().

virtual GUITypes::real GenericGraphicsInterface::getAspectRatio ( const int  win = 0)
pure virtual

Implemented in GL_GraphicsInterface.

virtual int GenericGraphicsInterface::getAxesDL ( const int  win)
pure virtual

Implemented in GL_GraphicsInterface.

virtual void GenericGraphicsInterface::getAxesOrigin ( GUITypes::real &  x0,
GUITypes::real &  y0,
GUITypes::real &  z0 
)
pure virtual

Implemented in GL_GraphicsInterface.

virtual int GenericGraphicsInterface::getBottomLabel1DL ( const int  win)
pure virtual

Implemented in GL_GraphicsInterface.

virtual int GenericGraphicsInterface::getBottomLabel2DL ( const int  win)
pure virtual

Implemented in GL_GraphicsInterface.

virtual int GenericGraphicsInterface::getBottomLabel3DL ( const int  win)
pure virtual

Implemented in GL_GraphicsInterface.

virtual int GenericGraphicsInterface::getBottomLabelDL ( const int  win)
pure virtual

Implemented in GL_GraphicsInterface.

virtual aString GenericGraphicsInterface::getColour ( ItemColourEnum  item)
pure virtual
virtual int GenericGraphicsInterface::getColourBarDL ( const int  win)
pure virtual

Implemented in GL_GraphicsInterface.

virtual int GenericGraphicsInterface::getColouredSquaresDL ( const int  win)
pure virtual

Implemented in GL_GraphicsInterface.

virtual aString GenericGraphicsInterface::getColourName ( int  i) const
pure virtual
virtual int GenericGraphicsInterface::getCurrentWindow ( )
pure virtual
const aString & GenericGraphicsInterface::getDefaultPrompt ( )
virtual int GenericGraphicsInterface::getFirstDL ( const int  win)
pure virtual

Implemented in GL_GraphicsInterface.

virtual int GenericGraphicsInterface::getFirstFixedDL ( const int  win)
pure virtual

Implemented in GL_GraphicsInterface.

virtual int GenericGraphicsInterface::getFirstRotableDL ( const int  win)
pure virtual

Implemented in GL_GraphicsInterface.

virtual int GenericGraphicsInterface::getFirstUserLabelDL ( const int  win)
pure virtual

Implemented in GL_GraphicsInterface.

virtual int GenericGraphicsInterface::getFirstUserRotableDL ( const int  win)
pure virtual

Implemented in GL_GraphicsInterface.

virtual RealArray GenericGraphicsInterface::getGlobalBound ( ) const
pure virtual
int GenericGraphicsInterface::getInfoLevel ( ) const

Set the info level which determines the level of information that is output. This is a bit flag with large values corresponding to more info. 0=expert, 1=intermediate, 2=novice

References infoLevel.

virtual bool GenericGraphicsInterface::getKeepAspectRatio ( )
pure virtual
virtual int GenericGraphicsInterface::getLastDL ( const int  win)
pure virtual

Implemented in GL_GraphicsInterface.

virtual int GenericGraphicsInterface::getLastFixedDL ( const int  win)
pure virtual

Implemented in GL_GraphicsInterface.

virtual int GenericGraphicsInterface::getLastRotableDL ( const int  win)
pure virtual

Implemented in GL_GraphicsInterface.

virtual int GenericGraphicsInterface::getLastUserLabelDL ( const int  win)
pure virtual

Implemented in GL_GraphicsInterface.

virtual int GenericGraphicsInterface::getLastUserRotableDL ( const int  win)
pure virtual

Implemented in GL_GraphicsInterface.

virtual GUITypes::real GenericGraphicsInterface::getLineWidthScaleFactor ( int  window = -1)
pure virtual
int GenericGraphicsInterface::getMatch ( const aString *  menu,
aString &  answer 
)
virtual int GenericGraphicsInterface::getMaxNOfDL ( const int  win)
pure virtual

Implemented in GL_GraphicsInterface.

virtual int GenericGraphicsInterface::getMenuItem ( const aString *  menu,
aString &  answer,
const aString &  prompt = nullString 
)
pure virtual

Implemented in GL_GraphicsInterface.

Referenced by MappingBuilder::build(), CompositeTopology::buildSubSurfaceTriangulation(), TrimmedMappingBuilder::buildTrimmedMapping(), Ogen::changeParameters(), Ogen::chooseASide(), PlotIt::contour1d(), PlotIt::contour2d(), PlotIt::contour3d(), PlotIt::contourCuts(), createMappings(), OffsetShell::createOffsetMappings(), equiGridSmoother(), fileOutput(), HyperbolicMapping::hypgen(), main(), ShowFilePlotter::plot(), PlotIt::plot(), Ogen::plot(), PlotIt::plotGrid(), MappingsFromCAD::readMappings(), DerivedFunctions::setupUserDefinedDerivedFunction(), Ogmg::smoothTest(), DataPointMapping::specifyTopology(), PlotIt::streamLines2d(), PlotIt::streamLines3d(), TrimmedMapping::triangulate(), FileOutput::update(), SmoothedPolygon::update(), PolynomialMapping::update(), RocketMapping::update(), ChannelMapping::update(), NormalMapping::update(), StretchedSquare::update(), StretchTransform::update(), JoinMapping::update(), DepthMapping::update(), DataPointMapping::update(), QuadraticMapping::update(), PlaneMapping::update(), CircleMapping::update(), OrthographicTransform::update(), EllipticTransform::update(), ReorientMapping::update(), FilletMapping::update(), MatrixTransform::update(), RestrictionMapping::update(), RevolutionMapping::update(), BoxMapping::update(), CylinderMapping::update(), AirfoilMapping::update(), TFIMapping::update(), LineMapping::update(), LoadBalancer::update(), ReductionMapping::update(), IntersectionMapping::update(), SphereMapping::update(), SweepMapping::update(), ErrorEstimator::update(), CrossSectionMapping::update(), ComposeMapping::update(), EllipticGridGenerator::update(), ReparameterizationTransform::update(), Regrid::update(), DerivedFunctions::update(), StretchMapping::update(), SplineMapping::update(), FilamentMapping::update(), TrimmedMapping::update(), OgesParameters::update(), HyperbolicMapping::update(), Mapping::update(), UnstructuredMapping::update(), NurbsMapping::update(), HyperbolicMapping::updateMarchingParameters(), HyperbolicMapping::updateOld(), Ogen::updateOverlap(), PlotIt::userDefinedOutput(), viewMappings(), and DataFormats::writePlot3d().

virtual int GenericGraphicsInterface::getNewLabelList ( int  win = -1)
pure virtual
virtual bool GenericGraphicsInterface::getPlotTheAxes ( int  win_number = -1)
pure virtual
virtual bool GenericGraphicsInterface::getPlotTheBackgroundGrid ( int  win_number = -1)
pure virtual
virtual bool GenericGraphicsInterface::getPlotTheColourBar ( int  win_number = -1)
pure virtual

Implemented in GL_GraphicsInterface.

virtual bool GenericGraphicsInterface::getPlotTheColouredSquares ( int  win_number = -1)
pure virtual

Implemented in GL_GraphicsInterface.

virtual bool GenericGraphicsInterface::getPlotTheLabels ( int  win_number = -1)
pure virtual

Implemented in GL_GraphicsInterface.

virtual bool GenericGraphicsInterface::getPlotTheRotationPoint ( int  win_number = -1)
pure virtual

Implemented in GL_GraphicsInterface.

int GenericGraphicsInterface::getProcessorForGraphics ( )
inline
FILE * GenericGraphicsInterface::getReadCommandFile ( ) const

References readFile.

FILE * GenericGraphicsInterface::getSaveCommandFile ( ) const
virtual int GenericGraphicsInterface::getTopLabel1DL ( const int  win)
pure virtual

Implemented in GL_GraphicsInterface.

virtual int GenericGraphicsInterface::getTopLabel2DL ( const int  win)
pure virtual

Implemented in GL_GraphicsInterface.

virtual int GenericGraphicsInterface::getTopLabel3DL ( const int  win)
pure virtual

Implemented in GL_GraphicsInterface.

virtual int GenericGraphicsInterface::getTopLabelDL ( const int  win)
pure virtual

Implemented in GL_GraphicsInterface.

int GenericGraphicsInterface::getValues ( const aString &  prompt,
IntegerArray &  values,
const int  minimunValue = INT_MIN,
const int  maximumValue = INT_MAX,
const int  sort = 0 
)
int GenericGraphicsInterface::getValues ( const aString &  prompt,
RealArray &  values,
const GUITypes::real  minimunValue = -REAL_MAX,
const GUITypes::real  maximumValue = REAL_MAX,
const int  sort = 0 
)
virtual void GenericGraphicsInterface::getView ( ViewLocation &  loc,
int  win_number = -1 
)
pure virtual

Implemented in GL_GraphicsInterface.

virtual aString GenericGraphicsInterface::getXAxisLabel ( )
pure virtual

Implemented in GL_GraphicsInterface.

Referenced by PlotIt::contourCuts().

virtual aString GenericGraphicsInterface::getYAxisLabel ( )
pure virtual

Implemented in GL_GraphicsInterface.

Referenced by PlotIt::contour1d().

virtual aString GenericGraphicsInterface::getZAxisLabel ( )
pure virtual

Implemented in GL_GraphicsInterface.

bool GenericGraphicsInterface::graphicsIsOn ( )
virtual int GenericGraphicsInterface::hardCopy ( const aString &  fileName = nullString,
GraphicsParameters &  parameters = Overture::defaultGraphicsParameters(),
int  win_number = -1 
)
pure virtual

Implemented in GL_GraphicsInterface.

Referenced by ShowFilePlotter::plot().

int GenericGraphicsInterface::indexInCascadingMenu ( int &  index,
const int  startCascade,
const int  endCascade 
) const
virtual void GenericGraphicsInterface::initView ( int  win_number = -1)
pure virtual
virtual void GenericGraphicsInterface::inputFileName ( aString &  answer,
const aString &  prompt = nullString,
const aString &  extension = nullString 
)
pure virtual
void GenericGraphicsInterface::inputString ( aString &  answer,
const aString &  prompt = nullString 
)
virtual

Reimplemented in GL_GraphicsInterface.

References defaultPrompt, getInteractiveResponse, getLine(), nullString, readFile, readLineFromCommandFile(), and stringCommands.

Referenced by MappingBuilder::buildSurfacePatch(), Ogen::changeParameters(), PlotIt::contour1d(), PlotIt::contour2d(), PlotIt::contour3d(), PlotIt::contourCuts(), MappingsFromCAD::createIgesReader(), createMappings(), TrimmedMapping::editNurbsTrimCurve(), equiGridSmoother(), fileOutput(), HyperbolicMapping::findMatchingBoundaryCurve(), HyperbolicMapping::hypgen(), main(), ogen(), ShowFilePlotter::plot(), PlotIt::plot(), Ogen::plot(), plot3dToOverture(), PlotIt::plotGrid(), PlotIt::plotStructured(), plotStuff(), promptAnswer(), DataFormats::readIngrid(), MappingsFromCAD::readMappings(), readMappingsFromAnOverlappingGridFile(), DataFormats::readPlot3d(), DataFormats::readPly(), DataFormats::readSTL(), DerivedFunctions::setupUserDefinedDerivedFunction(), DataPointMapping::specifyTopology(), PlotIt::streamLines2d(), PlotIt::streamLines3d(), TrimmedMapping::triangulate(), FileOutput::update(), SmoothedPolygon::update(), RocketMapping::update(), ChannelMapping::update(), NormalMapping::update(), JoinMapping::update(), DepthMapping::update(), DataPointMapping::update(), QuadraticMapping::update(), PlaneMapping::update(), CircleMapping::update(), SquareMapping::update(), FilletMapping::update(), OrthographicTransform::update(), ReorientMapping::update(), MatrixTransform::update(), UserDefinedMapping1::update(), RevolutionMapping::update(), RestrictionMapping::update(), BoxMapping::update(), CylinderMapping::update(), AirfoilMapping::update(), AnnulusMapping::update(), LineMapping::update(), LoadBalancer::update(), ReductionMapping::update(), IntersectionMapping::update(), SphereMapping::update(), SweepMapping::update(), ErrorEstimator::update(), CrossSectionMapping::update(), EllipticGridGenerator::update(), ReparameterizationTransform::update(), Regrid::update(), DerivedFunctions::update(), StretchMapping::update(), SplineMapping::update(), CompositeSurface::update(), FilamentMapping::update(), OgmgParameters::update(), OgesParameters::update(), HyperbolicMapping::update(), Mapping::update(), UnstructuredMapping::update(), NurbsMapping::update(), Ugen::updateHybrid(), HyperbolicMapping::updateMarchingParameters(), HyperbolicMapping::updateOld(), HyperbolicMapping::updateSurfaceGridParameters(), PlotIt::userDefinedOutput(), viewMappings(), DataFormats::writeIngrid(), and DataFormats::writePlot3d().

bool GenericGraphicsInterface::isGraphicsWindowOpen ( )
bool GenericGraphicsInterface::isInteractiveGraphicsOn ( )
virtual void GenericGraphicsInterface::label ( const aString &  string,
GUITypes::real  xPosition,
GUITypes::real  yPosition,
GUITypes::real  size = .1,
int  centering = 0,
GUITypes::real  angle = 0.,
GraphicsParameters &  parameters = Overture::defaultGraphicsParameters(),
const aString &  colour = nullString,
GUITypes::real  zOffset = .99 
)
pure virtual
virtual int GenericGraphicsInterface::normalizedToWorldCoordinates ( const RealArray &  r,
RealArray &  x 
) const
pure virtual

Implemented in GL_GraphicsInterface.

void GenericGraphicsInterface::outputString ( const aString &  message,
int  messageLevel = 2 
)
virtual

Reimplemented in GL_GraphicsInterface.

References echoFile, fPrintF(), infoLevel, and printF().

Referenced by TrimmedMapping::assembleSubCurves(), MappingBuilder::assignBoundaryConditions(), MappingBuilder::build(), MappingBuilder::buildCurveOnSurface(), CompositeTopology::buildEdgeCurves(), MappingBuilder::buildSurfacePatch(), TrimmedMappingBuilder::buildTrimmedMapping(), Ogen::changeParameters(), CompositeTopology::checkConsistency(), GridStretcher::checkForStretchCommands(), CompositeTopology::computeTopology(), PlotIt::contour1d(), PlotIt::contour2d(), PlotIt::contour3d(), PlotIt::contourCuts(), MappingsFromCAD::createIgesReader(), createMappings(), Integrate::defineSurfacesAndComputeWeights(), TrimmedMapping::editNurbsTrimCurve(), equiGridSmoother(), fileAnswer(), fileOutput(), HyperbolicMapping::findMatchingBoundaryCurve(), CompositeTopology::getAnotherEdge(), Mapping::getMappingParametersOption(), HyperbolicMapping::hypgen(), CompositeTopology::joinEdgeCurves(), main(), ogen(), ShowFilePlotter::plot(), PlotIt::plot(), plot3dToOverture(), PlotIt::plotCompositeSurface(), PlotIt::plotGrid(), PlotIt::plotStructured(), PlotIt::plotUM(), CompositeTopology::printEdgeCurveInfo(), DataFormats::readCart3dTri(), readCommandFile(), DataFormats::readIngrid(), readLineFromCommandFile(), DataFormats::readPlot3d(), DataFormats::readPly(), DataFormats::readTecplot(), HyperbolicMapping::smooth(), DataPointMapping::specifyTopology(), CompositeTopology::splitAndMergeEdgeCurves(), PlotIt::streamLines2d(), PlotIt::streamLines3d(), CompositeTopology::triangulateCompositeSurface(), FileOutput::update(), SmoothedPolygon::update(), PolynomialMapping::update(), RocketMapping::update(), ChannelMapping::update(), LoftedSurfaceMapping::update(), CompositeTopology::update(), NormalMapping::update(), StretchedSquare::update(), StretchTransform::update(), JoinMapping::update(), DepthMapping::update(), DataPointMapping::update(), QuadraticMapping::update(), PlaneMapping::update(), CircleMapping::update(), SquareMapping::update(), EllipticTransform::update(), ReorientMapping::update(), FilletMapping::update(), OrthographicTransform::update(), MatrixTransform::update(), UserDefinedMapping1::update(), RevolutionMapping::update(), RestrictionMapping::update(), BoxMapping::update(), CylinderMapping::update(), AirfoilMapping::update(), TFIMapping::update(), AnnulusMapping::update(), GridStretcher::update(), LineMapping::update(), ReductionMapping::update(), IntersectionMapping::update(), SphereMapping::update(), SweepMapping::update(), CrossSectionMapping::update(), ComposeMapping::update(), EllipticGridGenerator::update(), ReparameterizationTransform::update(), StretchMapping::update(), SplineMapping::update(), CompositeSurface::update(), FilamentMapping::update(), TrimmedMapping::update(), OgmgParameters::update(), OgesParameters::update(), HyperbolicMapping::update(), Mapping::update(), UnstructuredMapping::update(), NurbsMapping::update(), HyperbolicMapping::updateBoundaryConditionMappings(), Ugen::updateHybrid(), HyperbolicMapping::updateMarchingParameters(), HyperbolicMapping::updateMarchingSpacingOptions(), GridSmoother::updateOptions(), HyperbolicMapping::updateStartCurveSpacingOptions(), HyperbolicMapping::updateSurfaceGridParameters(), and viewMappings().

void GenericGraphicsInterface::outputToCommandFile ( const aString &  line)
int GenericGraphicsInterface::parseAnswer ( aString &  answer)
virtual int GenericGraphicsInterface::pause ( )
pure virtual
virtual int GenericGraphicsInterface::pickPoints ( RealArray &  x,
bool  plotPoints = TRUE,
int  win_number = -1 
)
pure virtual

Implemented in GL_GraphicsInterface.

Referenced by SplineMapping::update().

virtual void GenericGraphicsInterface::plotLabels ( GraphicsParameters &  parameters,
const GUITypes::real &  labelSize = -1.,
const GUITypes::real &  topLabelHeight = .925,
const GUITypes::real &  bottomLabelHeight = -.925,
int  win_number = -1 
)
pure virtual
virtual void GenericGraphicsInterface::plotLines ( const realArray &  arrows,
GraphicsParameters &  parameters = Overture::defaultGraphicsParameters(),
int  dList = 0 
)
pure virtual
virtual void GenericGraphicsInterface::plotPoints ( const realArray &  points,
GraphicsParameters &  parameters = Overture::defaultGraphicsParameters(),
int  dList = 0 
)
pure virtual
virtual void GenericGraphicsInterface::plotPoints ( const realArray &  points,
const realArray &  value,
GraphicsParameters &  parameters = Overture::defaultGraphicsParameters(),
int  dList = 0 
)
pure virtual

Implemented in GL_GraphicsInterface.

virtual void GenericGraphicsInterface::pollEvents ( )
pure virtual

Implemented in GL_GraphicsInterface.

int GenericGraphicsInterface::popDefaultPrompt ( )
virtual void GenericGraphicsInterface::popGUI ( )
pure virtual
int GenericGraphicsInterface::processSpecialMenuItems ( aString &  answer)
protectedvirtual
int GenericGraphicsInterface::promptAnswer ( aString &  answer,
const aString &  prompt = nullString 
)
protected
int GenericGraphicsInterface::promptAnswerSelectPick ( aString &  answer,
const aString &  prompt,
SelectionInfo *  selection_ 
)
protected
virtual int GenericGraphicsInterface::psToRaster ( const aString &  fileName,
const aString &  ppmFileName 
)
pure virtual

Implemented in GL_GraphicsInterface.

int GenericGraphicsInterface::pushDefaultPrompt ( const aString &  prompt)
virtual void GenericGraphicsInterface::pushGUI ( GUIState &  newState)
pure virtual
FILE * GenericGraphicsInterface::readCommandFile ( const aString &  commandFileName = nullString)
int GenericGraphicsInterface::readCommandsFromStrings ( const aString *  commands)

References OV_ABORT, printF(), and stringCommands.

Referenced by main().

bool GenericGraphicsInterface::readingFromCommandFile ( ) const
int GenericGraphicsInterface::readLineFromCommandFile ( aString &  answer)
protected
virtual void GenericGraphicsInterface::redraw ( bool  immediate = FALSE)
pure virtual
virtual void GenericGraphicsInterface::resetGlobalBound ( const int  win_number)
pure virtual
virtual void GenericGraphicsInterface::resetView ( int  win_number = -1)
pure virtual

Implemented in GL_GraphicsInterface.

FILE * GenericGraphicsInterface::saveCommandFile ( const aString &  commandFileName = nullString)
FILE * GenericGraphicsInterface::saveEchoFile ( const aString &  fileName = nullString)

References echoFile, echoFileName, inputFileName(), and nullString.

Referenced by main().

int GenericGraphicsInterface::savePickCommands ( bool  trueOrFalse = TRUE)
virtual void GenericGraphicsInterface::setAxesDimension ( int  dim,
int  win_number = -1 
)
pure virtual
virtual int GenericGraphicsInterface::setAxesLabels ( const aString &  xAxisLabel = blankString,
const aString &  yAxisLabel = blankString,
const aString &  zAxisLabel = blankString 
)
pure virtual
virtual int GenericGraphicsInterface::setAxesOrigin ( const GUITypes::real  x0 = defaultOrigin,
const GUITypes::real  y0 = defaultOrigin,
const GUITypes::real  z0 = defaultOrigin 
)
pure virtual
virtual int GenericGraphicsInterface::setColour ( const aString &  colourName)
pure virtual
virtual int GenericGraphicsInterface::setColour ( ItemColourEnum  item)
pure virtual

Implemented in GL_GraphicsInterface.

virtual void GenericGraphicsInterface::setColourFromTable ( const GUITypes::real  value,
GraphicsParameters &  parameters = Overture::defaultGraphicsParameters() 
)
pure virtual
virtual void GenericGraphicsInterface::setColourName ( int  i,
aString  newColourName 
) const
pure virtual

Implemented in GL_GraphicsInterface.

Referenced by PlotIt::plotGrid().

virtual void GenericGraphicsInterface::setCurrentWindow ( const int &  w)
pure virtual
int GenericGraphicsInterface::setDefaultPrompt ( const aString &  prompt)
virtual void GenericGraphicsInterface::setGlobalBound ( const RealArray &  xBound)
pure virtual
void GenericGraphicsInterface::setIgnorePause ( bool  trueOrFalse = true)
void GenericGraphicsInterface::setInfoLevel ( int  value)

Get the infoLevel. This is a bit flag with large values corresponding to more info. 0=expert, 1=intermediate, 2=novice

References infoLevel.

virtual void GenericGraphicsInterface::setInteractiveDL ( int  list,
bool  interactive 
)
pure virtual

Implemented in GL_GraphicsInterface.

virtual int GenericGraphicsInterface::setKeepAspectRatio ( bool  trueOrFalse = true)
pure virtual
virtual void GenericGraphicsInterface::setLighting ( int  list,
bool  lit 
)
pure virtual

Implemented in GL_GraphicsInterface.

virtual void GenericGraphicsInterface::setLineWidthScaleFactor ( const GUITypes::real &  lineWidthScaleFactor = 1,
int  win_number = -1 
)
pure virtual

Implemented in GL_GraphicsInterface.

virtual void GenericGraphicsInterface::setPlotDL ( int  list,
bool  lit 
)
pure virtual
virtual void GenericGraphicsInterface::setPlotTheAxes ( bool  newState,
int  win_number = -1 
)
pure virtual
virtual void GenericGraphicsInterface::setPlotTheBackgroundGrid ( bool  newState,
int  win_number = -1 
)
pure virtual
virtual void GenericGraphicsInterface::setPlotTheColourBar ( bool  newState,
int  win_number = -1 
)
pure virtual

Implemented in GL_GraphicsInterface.

virtual void GenericGraphicsInterface::setPlotTheColouredSquares ( bool  newState,
int  win_number = -1 
)
pure virtual

Implemented in GL_GraphicsInterface.

Referenced by PlotIt::plot().

virtual void GenericGraphicsInterface::setPlotTheLabels ( bool  newState,
int  win_number = -1 
)
pure virtual

Implemented in GL_GraphicsInterface.

virtual void GenericGraphicsInterface::setPlotTheRotationPoint ( bool  newState,
int  win_number = -1 
)
pure virtual

Implemented in GL_GraphicsInterface.

void GenericGraphicsInterface::setSingleProcessorGraphicsMode ( bool  mode)
inline
virtual void GenericGraphicsInterface::setUserButtonSensitive ( int  btn,
int  trueOrFalse 
)
pure virtual

Implemented in GL_GraphicsInterface.

virtual void GenericGraphicsInterface::setView ( ViewLocation &  loc,
int  win_number = -1 
)
pure virtual

Implemented in GL_GraphicsInterface.

Referenced by PlotIt::plot().

virtual void GenericGraphicsInterface::setView ( const ViewParameters &  viewParameter,
const GUITypes::real &  value 
)
pure virtual

Implemented in GL_GraphicsInterface.

virtual void GenericGraphicsInterface::setXAxisLabel ( const aString &  xAxisLabel_ = blankString)
pure virtual

Implemented in GL_GraphicsInterface.

virtual void GenericGraphicsInterface::setYAxisLabel ( const aString &  yAxisLabel_ = blankString)
pure virtual

Implemented in GL_GraphicsInterface.

Referenced by PlotIt::contour1d().

virtual void GenericGraphicsInterface::setZAxisLabel ( const aString &  zAxisLabel_ = blankString)
pure virtual

Implemented in GL_GraphicsInterface.

void GenericGraphicsInterface::stopReadingCommandFile ( )
virtual

Reimplemented in GL_GraphicsInterface.

References abortProgramIfCommandFileEnds, NULL, OV_ABORT, readFile, and readFileStack.

Referenced by MappingBuilder::assignBoundaryConditions(), MappingBuilder::build(), MappingBuilder::buildBoxGrid(), HyperbolicMapping::buildCurve(), MappingBuilder::buildCurveOnSurface(), CompositeTopology::buildSubSurfaceTriangulation(), MappingBuilder::buildSurfacePatch(), TrimmedMappingBuilder::buildTrimmedMapping(), Ogen::changeParameters(), Ogen::computeOverlap(), CompositeTopology::computeTopology(), PlotIt::contour1d(), PlotIt::contour2d(), PlotIt::contour3d(), PlotIt::contourCuts(), MappingsFromCAD::createIgesReader(), createMappings(), OffsetShell::createOffsetMappings(), Integrate::defineSurfacesAndComputeWeights(), TrimmedMapping::editNurbsTrimCurve(), fileAnswer(), fileOutput(), HyperbolicMapping::findMatchingBoundaryCurve(), JoinMapping::initialize(), main(), ogen(), ShowFilePlotter::plot(), PlotIt::plot(), Ogen::plot(), BodyForce::plotForcingRegions(), PlotIt::plotGrid(), PlotIt::plotGridQuality(), PlotIt::plotUM(), Ogen::queryAPoint(), MappingsFromCAD::readMappings(), saveOvertureTextFile(), DerivedFunctions::setupUserDefinedDerivedFunction(), showFileFromDataFile(), DataPointMapping::specifyTopology(), FileOutput::update(), MatchingCurve::update(), SmoothedPolygon::update(), PolynomialMapping::update(), RocketMapping::update(), LoftedSurfaceMapping::update(), CompositeTopology::update(), NormalMapping::update(), StretchedSquare::update(), StretchTransform::update(), DepthMapping::update(), DataPointMapping::update(), SquareMapping::update(), FilletMapping::update(), EllipticTransform::update(), MatrixTransform::update(), UserDefinedMapping1::update(), RevolutionMapping::update(), BoxMapping::update(), CylinderMapping::update(), TFIMapping::update(), GridStretcher::update(), AnnulusMapping::update(), LoadBalancer::update(), IntersectionMapping::update(), SphereMapping::update(), SweepMapping::update(), ErrorEstimator::update(), CrossSectionMapping::update(), EllipticGridGenerator::update(), Regrid::update(), DerivedFunctions::update(), StretchMapping::update(), CompositeSurface::update(), FilamentMapping::update(), TrimmedMapping::update(), OgmgParameters::update(), OgesParameters::update(), HyperbolicMapping::update(), Mapping::update(), UnstructuredMapping::update(), NurbsMapping::update(), HyperbolicMapping::updateBoundaryConditionMappings(), Ogen::updateOverlap(), StretchTransform::updateStretchingParameters(), HyperbolicMapping::updateSurfaceGridParameters(), PlotIt::userDefinedOutput(), viewMappings(), and DataFormats::writePlot3d().

void GenericGraphicsInterface::stopSavingCommandFile ( )

References saveFile.

void GenericGraphicsInterface::stopSavingEchoFile ( )

References echoFile, echoFileName, and NULL.

void GenericGraphicsInterface::turnOffGraphics ( )
void GenericGraphicsInterface::turnOnGraphics ( )
int GenericGraphicsInterface::unAppendTheDefaultPrompt ( )

References indentBlanks, and popDefaultPrompt().

Referenced by MappingBuilder::assignBoundaryConditions(), MappingBuilder::build(), MappingBuilder::buildBoxGrid(), MappingBuilder::buildCurveOnSurface(), MappingBuilder::buildSurfacePatch(), TrimmedMappingBuilder::buildTrimmedMapping(), Ogen::changeParameters(), Ogen::chooseASide(), PlotIt::contour1d(), PlotIt::contour2d(), PlotIt::contour3d(), PlotIt::contourCuts(), createMappings(), OffsetShell::createOffsetMappings(), Integrate::defineSurfacesAndComputeWeights(), fileOutput(), getValues(), main(), ogen(), GL_GraphicsInterface::pickPoints(), ShowFilePlotter::plot(), PlotIt::plot(), Ogen::plot(), PlotIt::plotCompositeSurface(), PlotIt::plotGrid(), GL_GraphicsInterface::plotPoints(), PlotIt::plotStructured(), PlotIt::plotUM(), Ogen::queryAPoint(), MappingsFromCAD::readMappings(), saveOvertureTextFile(), showFileFromDataFile(), DataPointMapping::specifyTopology(), PlotIt::streamLines2d(), PlotIt::streamLines3d(), SmoothedPolygon::update(), RocketMapping::update(), PolynomialMapping::update(), LoftedSurfaceMapping::update(), NormalMapping::update(), StretchedSquare::update(), JoinMapping::update(), StretchTransform::update(), DepthMapping::update(), DataPointMapping::update(), QuadraticMapping::update(), CircleMapping::update(), PlaneMapping::update(), SquareMapping::update(), ColourBar::update(), ReorientMapping::update(), EllipticTransform::update(), OrthographicTransform::update(), FilletMapping::update(), MatrixTransform::update(), UserDefinedMapping1::update(), RestrictionMapping::update(), RevolutionMapping::update(), BoxMapping::update(), CylinderMapping::update(), AirfoilMapping::update(), TFIMapping::update(), AnnulusMapping::update(), GridStretcher::update(), LoadBalancer::update(), LineMapping::update(), ReductionMapping::update(), IntersectionMapping::update(), SphereMapping::update(), SweepMapping::update(), ErrorEstimator::update(), CrossSectionMapping::update(), ComposeMapping::update(), EllipticGridGenerator::update(), ReparameterizationTransform::update(), Regrid::update(), StretchMapping::update(), SplineMapping::update(), CompositeSurface::update(), FilamentMapping::update(), OgmgParameters::update(), OgesParameters::update(), HyperbolicMapping::update(), UnstructuredMapping::update(), NurbsMapping::update(), Ugen::updateHybrid(), HyperbolicMapping::updateOld(), PlotIt::userDefinedOutput(), viewMappings(), and DataFormats::writePlot3d().

virtual void GenericGraphicsInterface::updateColourBar ( GraphicsParameters &  parameters,
int  window = 0 
)
pure virtual

Implemented in GL_GraphicsInterface.

Referenced by PlotIt::contour2d().

virtual int GenericGraphicsInterface::worldToNormalizedCoordinates ( const RealArray &  x,
RealArray &  r 
) const
pure virtual

Implemented in GL_GraphicsInterface.

Referenced by PlotIt::contour1d().

virtual void GenericGraphicsInterface::xLabel ( const aString &  string,
const GUITypes::real  xPosition,
const GUITypes::real  yPosition,
const GUITypes::real  size = .1,
const int  centering = 0,
const GUITypes::real  angle = 0.,
GraphicsParameters &  parameters = Overture::defaultGraphicsParameters(),
int  win_number = -1 
)
pure virtual
virtual void GenericGraphicsInterface::xLabel ( const aString &  string,
const RealArray &  x,
const GUITypes::real  size = .1,
const int  centering = 0,
const GUITypes::real  angle = 0.,
GraphicsParameters &  parameters = Overture::defaultGraphicsParameters(),
int  win_number = -1 
)
pure virtual

Implemented in GL_GraphicsInterface.

virtual void GenericGraphicsInterface::xLabel ( const aString &  string,
const GUITypes::real  x[3],
const GUITypes::real  size = .1,
const int  centering = 0,
const GUITypes::real  angle = 0.,
GraphicsParameters &  parameters = Overture::defaultGraphicsParameters(),
int  win_number = -1 
)
pure virtual

Implemented in GL_GraphicsInterface.

virtual void GenericGraphicsInterface::xLabel ( const aString &  string,
const RealArray &  x,
const GUITypes::real  size,
const int  centering,
const RealArray &  rightVector,
const RealArray &  upVector,
GraphicsParameters &  parameters = Overture::defaultGraphicsParameters(),
int  win_number = -1 
)
pure virtual

Implemented in GL_GraphicsInterface.

virtual void GenericGraphicsInterface::xLabel ( const aString &  string,
const GUITypes::real  x[3],
const GUITypes::real  size,
const int  centering,
const GUITypes::real  rightVector[3],
const GUITypes::real  upVector[3],
GraphicsParameters &  parameters = Overture::defaultGraphicsParameters(),
int  win_number = -1 
)
pure virtual

Implemented in GL_GraphicsInterface.

Member Data Documentation

int GenericGraphicsInterface::abortProgramIfCommandFileEnds
protected
GUIState* GenericGraphicsInterface::currentGUI
protected
aString GenericGraphicsInterface::defaultPrompt
protected
aString* GenericGraphicsInterface::defaultPromptStack
protected
FILE * GenericGraphicsInterface::echoFile
protected
aString GenericGraphicsInterface::echoFileName
protected
bool GenericGraphicsInterface::getInteractiveResponse
protected
bool GenericGraphicsInterface::graphicsPlottingIsOn
protected
bool GenericGraphicsInterface::graphicsWindowIsOpen
protected
int GenericGraphicsInterface::gridCoarseningFactor
HardCopyRenderingEnum GenericGraphicsInterface::hardCopyRenderingType
protected
bool GenericGraphicsInterface::ignorePause
protected
aString GenericGraphicsInterface::indentBlanks
protected
int GenericGraphicsInterface::infoLevel
protected
bool GenericGraphicsInterface::interactiveGraphicsIsOn
protected
int GenericGraphicsInterface::maxNumberOfDefaultPrompts
protected

Referenced by constructor(), and pushDefaultPrompt().

int GenericGraphicsInterface::numberRecorded
protected
OvertureParser* GenericGraphicsInterface::parser
protected
bool GenericGraphicsInterface::preferDirectRendering
protected
int GenericGraphicsInterface::processorForGraphics
protected
bool GenericGraphicsInterface::readCommands
protected
FILE* GenericGraphicsInterface::readFile
protected
aString GenericGraphicsInterface::readFileName
protected

Referenced by readCommandFile().

std::stack<FILE*> GenericGraphicsInterface::readFileStack
protected
IntegerArray* GenericGraphicsInterface::recordDisplayLists
protected
bool GenericGraphicsInterface::saveCommands
protected
FILE * GenericGraphicsInterface::saveFile
protected
int GenericGraphicsInterface::saveFileCount
protected
aString GenericGraphicsInterface::saveFileName
protected

Referenced by saveCommandFile().

bool GenericGraphicsInterface::savePick
protected
int GenericGraphicsInterface::simplifyPlotWhenRotating
protected
bool GenericGraphicsInterface::singleProcessorGraphicsMode
protected
std::queue<aString> GenericGraphicsInterface::stringCommands
protected
int GenericGraphicsInterface::topOfDefaultPromptStack
protected
bool GenericGraphicsInterface::useParser
protected

The documentation for this class was generated from the following files: