Overture
Version 25
|
#include <GL_GraphicsInterface.h>
Public Types | |
enum | { maximumNumberOfClippingPlanes =6, maximumNumberOfTextStrings =25 } |
Public Types inherited from GenericGraphicsInterface | |
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 | |
GL_GraphicsInterface (const aString &windowTitle="Your Slogan Here") | |
GL_GraphicsInterface (int &argc, char *argv[], const aString &windowTitle="Your Slogan Here") | |
GL_GraphicsInterface (const bool initialize, const aString &windowTitle="Your Slogan Here") | |
virtual | ~GL_GraphicsInterface () |
virtual int | createWindow (const aString &windowTitle=nullString, int argc=0, char *argv[]=NULL) |
virtual bool | displayHelp (const aString &topic) |
virtual int | destroyWindow (int win_number) |
virtual int | getMenuItem (const aString *menu, aString &answer, const aString &prompt=nullString) |
virtual void | erase () |
virtual void | erase (const int win_number, bool forceDelete=false) |
virtual void | erase (const IntegerArray &displayList) |
virtual void | inputFileName (aString &answer, const aString &prompt=nullString, const aString &extension=nullString) |
virtual void | inputString (aString &answer, const aString &prompt=nullString) |
virtual void | outputString (const aString &message, int messageLevel=2) |
virtual void | redraw (bool immediate=FALSE) |
virtual void | initView (int win_number=-1) |
virtual void | resetView (int win_number=-1) |
virtual void | stopReadingCommandFile () |
virtual int | normalizedToWorldCoordinates (const RealArray &r, RealArray &x) const |
virtual int | worldToNormalizedCoordinates (const RealArray &x, RealArray &r) const |
virtual void | setGlobalBound (const RealArray &xBound) |
virtual RealArray | getGlobalBound () const |
virtual void | resetGlobalBound (const int win_number) |
virtual int | setKeepAspectRatio (bool trueOrFalse=true) |
virtual bool | getKeepAspectRatio () |
virtual void | plotPoints (const realArray &points, GraphicsParameters ¶meters=Overture::defaultGraphicsParameters(), int dList=0) |
virtual void | plotPoints (const realArray &points, const realArray &value, GraphicsParameters ¶meters=Overture::defaultGraphicsParameters(), int dList=0) |
virtual void | plotLines (const realArray &arrows, GraphicsParameters ¶meters=Overture::defaultGraphicsParameters(), int dList=0) |
virtual aString | chooseAColour () |
virtual aString | getColour (ItemColourEnum item) |
virtual int | setColour (const aString &colourName) |
virtual int | setColour (ItemColourEnum item) |
virtual void | setColourFromTable (const GUITypes::real value, GraphicsParameters ¶meters=Overture::defaultGraphicsParameters()) |
virtual void | setColourName (int i, aString newColourName) const |
virtual aString | getColourName (int i) const |
virtual void | drawColouredSquares (const IntegerArray &numberList, GraphicsParameters ¶meters=Overture::defaultGraphicsParameters(), const int &numberOfColourNames=-1, aString *colourNames=NULL) |
virtual void | displayColourBar (const int &numberOfContourLevels, RealArray &contourLevels, GUITypes::real uMin, GUITypes::real uMax, GraphicsParameters ¶meters) |
virtual void | eraseColourBar () |
virtual int | hardCopy (const aString &fileName=nullString, GraphicsParameters ¶meters=Overture::defaultGraphicsParameters(), int win_number=-1) |
virtual void | setView (ViewLocation &loc, int win_number=-1) |
virtual void | getView (ViewLocation &loc, int win_number=-1) |
virtual int | generateNewDisplayList (bool lit=false, bool plotIt=true, bool hideable=false, bool interactive=true) |
virtual int | getNewLabelList (int win=-1) |
virtual void | deleteList (int dList) |
virtual void | setLighting (int list, bool lit) |
virtual void | setPlotDL (int list, bool plot) |
virtual void | setInteractiveDL (int list, bool interactive) |
virtual int | getFirstDL (const int win) |
virtual int | getFirstFixedDL (const int win) |
virtual int | getTopLabelDL (const int win) |
virtual int | getTopLabel1DL (const int win) |
virtual int | getTopLabel2DL (const int win) |
virtual int | getTopLabel3DL (const int win) |
virtual int | getBottomLabelDL (const int win) |
virtual int | getBottomLabel1DL (const int win) |
virtual int | getBottomLabel2DL (const int win) |
virtual int | getBottomLabel3DL (const int win) |
virtual int | getColouredSquaresDL (const int win) |
virtual int | getColourBarDL (const int win) |
virtual int | getFirstUserLabelDL (const int win) |
virtual int | getLastUserLabelDL (const int win) |
virtual int | getLastFixedDL (const int win) |
virtual int | getFirstRotableDL (const int win) |
virtual int | getAxesDL (const int win) |
virtual int | getFirstUserRotableDL (const int win) |
virtual int | getLastUserRotableDL (const int win) |
virtual int | getLastRotableDL (const int win) |
virtual int | getLastDL (const int win) |
virtual int | getMaxNOfDL (const int win) |
virtual int | getCurrentWindow () |
virtual void | setCurrentWindow (const int &w) |
virtual void | setPlotTheAxes (bool newState, int win_number=-1) |
virtual bool | getPlotTheAxes (int win_number=-1) |
virtual void | setAxesDimension (int dim, int win_number=-1) |
virtual void | setPlotTheLabels (bool newState, int win_number=-1) |
virtual bool | getPlotTheLabels (int win_number=-1) |
virtual void | setPlotTheRotationPoint (bool newState, int win_number=-1) |
virtual bool | getPlotTheRotationPoint (int win_number=-1) |
virtual void | setPlotTheColourBar (bool newState, int win_number=-1) |
virtual bool | getPlotTheColourBar (int win_number=-1) |
virtual void | setPlotTheColouredSquares (bool newState, int win_number=-1) |
virtual bool | getPlotTheColouredSquares (int win_number=-1) |
virtual void | setPlotTheBackgroundGrid (bool newState, int win_number=-1) |
virtual bool | getPlotTheBackgroundGrid (int win_number=-1) |
virtual void | pollEvents () |
virtual int | getAnswer (aString &answer, const aString &prompt) |
virtual int | getAnswer (aString &answer, const aString &prompt, SelectionInfo &selection) |
virtual int | getAnswerNoBlock (aString &answer, const aString &prompt) |
virtual int | pickPoints (RealArray &x, bool plotPoints=TRUE, int win_number=-1) |
virtual void | setUserButtonSensitive (int btn, int trueOrFalse) |
virtual void | pushGUI (GUIState &newState) |
virtual void | popGUI () |
virtual int | beginRecordDisplayLists (IntegerArray &displayLists) |
virtual int | endRecordDisplayLists (IntegerArray &displayLists) |
virtual void | createMessageDialog (aString msg, MessageTypeEnum type) |
virtual int | pause () |
virtual void | appendCommandHistory (const aString &answer) |
virtual int | processSpecialMenuItems (aString &answer) |
virtual void | plotLabels (GraphicsParameters ¶meters, const GUITypes::real &labelSize=-1., const GUITypes::real &topLabelHeight=.925, const GUITypes::real &bottomLabelHeight=-.925, int win_number=-1) |
virtual void | eraseLabels (GraphicsParameters ¶meters, int win_number=-1) |
virtual int | setAxesLabels (const aString &xAxisLabel=blankString, const aString &yAxisLabel=blankString, const aString &zAxisLabel=blankString) |
virtual aString | getXAxisLabel () |
virtual aString | getYAxisLabel () |
virtual aString | getZAxisLabel () |
virtual void | setXAxisLabel (const aString &xAxisLabel_=blankString) |
virtual void | setYAxisLabel (const aString &yAxisLabel_=blankString) |
virtual void | setZAxisLabel (const aString &zAxisLabel_=blankString) |
virtual int | setAxesOrigin (const GUITypes::real x0=defaultOrigin, const GUITypes::real y0=defaultOrigin, const GUITypes::real z0=defaultOrigin) |
virtual void | getAxesOrigin (GUITypes::real &x0, GUITypes::real &y0, GUITypes::real &z0) |
virtual GUITypes::real | getAspectRatio (const int win=0) |
virtual void | setLineWidthScaleFactor (const GUITypes::real &lineWidthScaleFactor=1, int win_number=-1) |
virtual GUITypes::real | getLineWidthScaleFactor (int window=-1) |
virtual int | psToRaster (const aString &fileName, const aString &ppmFileName) |
virtual void | label (const aString &string, GUITypes::real xPosition, GUITypes::real yPosition, GUITypes::real size=.1, int centering=0, GUITypes::real angle=0., GraphicsParameters ¶meters=Overture::defaultGraphicsParameters(), const aString &colour=nullString, GUITypes::real zOffset=.99) |
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 ¶meters=Overture::defaultGraphicsParameters(), int win_number=-1) |
virtual void | xLabel (const aString &string, const RealArray &x, const GUITypes::real size=.1, const int centering=0, const GUITypes::real angle=0., GraphicsParameters ¶meters=Overture::defaultGraphicsParameters(), int win_number=-1) |
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 ¶meters=Overture::defaultGraphicsParameters(), int win_number=-1) |
virtual void | xLabel (const aString &string, const RealArray &x, const GUITypes::real size, const int centering, const RealArray &rightVector, const RealArray &upVector, GraphicsParameters ¶meters=Overture::defaultGraphicsParameters(), int win_number=-1) |
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 ¶meters=Overture::defaultGraphicsParameters(), int win_number=-1) |
virtual void | drawColourBar (const int &numberOfContourLevels, RealArray &contourLevels, GUITypes::real uMin=0., GUITypes::real uMax=1., GraphicsParameters ¶meters=Overture::defaultGraphicsParameters(), GUITypes::real xLeft=.775, GUITypes::real xRight=.825, GUITypes::real yBottom=-.75, GUITypes::real yTop=.75) |
virtual void | updateColourBar (GraphicsParameters ¶meters, int window=0) |
void | init (const int &win_number) |
void | changeView (const int &win_number, const real &dx, const real &dy, const real &dz, const real &dThetaX=0., const real &dThetaY=0., const real &dThetaZ=0., const real &magnify=1.) |
void | display (const int &win_number) |
void | setProjection (const int &win_number) |
void | annotate (const aString &answer) |
void | constructor () |
bool | readOvertureRC () |
int | getAnswerSelectPick (aString &answer, const aString &prompt, SelectionInfo *selection_=NULL, int blocking=1) |
int | interactiveAnswer (aString &answer, const aString &prompt, SelectionInfo *selection_, int blocking=1) |
void | parseCommandLine (const aString &line, aString &command, int &windowNumber, aString &arg) const |
void | pickNew (PickInfo &xPick, SelectionInfo &select) |
int | selectNew (PickInfo &xPick, SelectionInfo *select) |
int | offScreenRender (const char *fileName, GraphicsParameters ¶meters=Overture::defaultGraphicsParameters()) |
int | offScreenRenderX (const char *fileName, GraphicsParameters ¶meters=Overture::defaultGraphicsParameters()) |
int | offScreenRenderMesa (const char *fileName, GraphicsParameters ¶meters=Overture::defaultGraphicsParameters()) |
int | saveRasterInAFile (const aString &fileName, void *buffer, const GLint &width, const GLint &height, const int &rgbType=0, GraphicsParameters ¶meters=Overture::defaultGraphicsParameters()) |
void | rleCompress (const int num, GLubyte *xBuffer, FILE *outFile, const int numPerLine=30) |
void | setMaterialProperties (float ambr, float ambg, float ambb, float difr, float difg, float difb, float specr, float specg, float specb, float shine) |
void | setupHardCopy (DialogData &hcd, int win) |
void | hardcopyCommands (aString &longAnswer, int win_number) |
void | optionCommands (aString &answer, int win_number) |
void | openGUI () |
void | disableGUI () |
Public Member Functions inherited from GenericGraphicsInterface | |
GenericGraphicsInterface () | |
GenericGraphicsInterface (int &argc, char *argv[]) | |
virtual | ~GenericGraphicsInterface () |
void | abortIfCommandFileEnds (bool trueOrFalse=true) |
int | appendToTheDefaultPrompt (const aString &appendage) |
int | buildCascadingMenu (aString *&menu, int startCascade, int endCascade) const |
int | getInfoLevel () const |
const aString & | getDefaultPrompt () |
int | getMatch (const aString *menu, aString &answer) |
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) |
bool | graphicsIsOn () |
int | indexInCascadingMenu (int &index, const int startCascade, const int endCascade) const |
bool | isGraphicsWindowOpen () |
bool | isInteractiveGraphicsOn () |
void | outputToCommandFile (const aString &line) |
int | popDefaultPrompt () |
int | pushDefaultPrompt (const aString &prompt) |
FILE * | readCommandFile (const aString &commandFileName=nullString) |
int | readCommandsFromStrings (const aString *commands) |
bool | readingFromCommandFile () const |
FILE * | saveCommandFile (const aString &commandFileName=nullString) |
int | savePickCommands (bool trueOrFalse=TRUE) |
int | setDefaultPrompt (const aString &prompt) |
FILE * | saveEchoFile (const aString &fileName=nullString) |
void | setInfoLevel (int value) |
void | setIgnorePause (bool trueOrFalse=true) |
void | setSingleProcessorGraphicsMode (bool mode) |
void | stopSavingCommandFile () |
void | stopSavingEchoFile () |
void | turnOnGraphics () |
void | turnOffGraphics () |
int | unAppendTheDefaultPrompt () |
int | parseAnswer (aString &answer) |
Protected Member Functions | |
void | resetRotationPoint (int win_number=-1) |
void | setNormalizedCoordinates () |
void | unsetNormalizedCoordinates () |
int | pickToWorldCoordinates (const RealArray &r, RealArray &x, const int &win_number) const |
void | setRotationCenter (GUITypes::real rotationPoint[3], int win_number=-1) |
void | plotAxes (const RealArray &xBound, const int numberOfDimensions, GraphicsParameters ¶meters=Overture::defaultGraphicsParameters(), int win_number=-1) |
void | eraseAxes (int win_number) |
void | labelR (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 ¶meters=Overture::defaultGraphicsParameters()) |
int | renderPS (const char *fileName, GraphicsParameters ¶meters=Overture::defaultGraphicsParameters()) |
void | setRotationTransformation (int win_number) |
virtual void | setView (const ViewParameters &viewParameter, const GUITypes::real &value) |
void | getWindowShape (int window, GUITypes::real &leftSide, GUITypes::real &rightSide, GUITypes::real &top, GUITypes::real &bottom) const |
GUIState * | getCurrentGUI () |
void | setModelViewMatrix () |
void | setFractionOfScreen (const GUITypes::real &fraction=.75, int win_number=-1) |
void | lightsOn (int win_number) |
void | lightsOff (int win_number) |
Protected Member Functions inherited from GenericGraphicsInterface | |
void | constructor (int &argc, char *argv[]) |
int | readLineFromCommandFile (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) |
Friends | |
class | ColourBar |
Additional Inherited Members | |
Protected Types inherited from GenericGraphicsInterface | |
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 } |
GL_GraphicsInterface::GL_GraphicsInterface | ( | const aString & | windowTitle = "Your Slogan Here" | ) |
GL_GraphicsInterface::GL_GraphicsInterface | ( | int & | argc, |
char * | argv[], | ||
const aString & | windowTitle = "Your Slogan Here" |
||
) |
References GenericGraphicsInterface::abortIfCommandFileEnds(), aString, GenericDataBase::collectiveIO, constructor(), createWindow(), GenericDataBase::multipleFileIO, GenericGraphicsInterface::preferDirectRendering, printF(), GenericGraphicsInterface::setIgnorePause(), GenericDataBase::setParallelReadMode(), GenericDataBase::setParallelWriteMode(), and GenericGraphicsInterface::turnOffGraphics().
GL_GraphicsInterface::GL_GraphicsInterface | ( | const bool | initialize, |
const aString & | windowTitle = "Your Slogan Here" |
||
) |
|
virtual |
References colourNames, fileMenuItems, graphicsFileMenuItems, graphicsHelpMenuItems, helpMenuItems, and menuBarItems.
void GL_GraphicsInterface::annotate | ( | const aString & | answer | ) |
References aString, currentWindow, firstUserLabelList, label(), max(), maximumNumberOfTextStrings, printF(), setColour(), sScanF(), GenericGraphicsInterface::textColour, textIsOn, TRUE, userLabel, and x.
Referenced by processSpecialMenuItems().
|
virtual |
Implements GenericGraphicsInterface.
References GenericGraphicsInterface::isGraphicsWindowOpen(), and moglAppendCommandHistory().
Referenced by getAnswerSelectPick(), interactiveAnswer(), pickNew(), pickPoints(), processSpecialMenuItems(), and selectNew().
|
virtual |
Implements GenericGraphicsInterface.
References NULL, GenericGraphicsInterface::numberRecorded, and GenericGraphicsInterface::recordDisplayLists.
void GL_GraphicsInterface::changeView | ( | const int & | win_number, |
const real & | dx, | ||
const real & | dy, | ||
const real & | dz, | ||
const real & | dThetaX = 0. , |
||
const real & | dThetaY = 0. , |
||
const real & | dThetaZ = 0. , |
||
const real & | magnify = 1. |
||
) |
References dtx, dty, dtz, magnificationFactor, setProjection(), setRotationTransformation(), TRUE, viewHasChanged, xShift, yShift, and zShift.
Referenced by changeView(), and createWindow().
|
virtual |
Implements GenericGraphicsInterface.
References aString, and getMenuItem().
Referenced by plotPoints().
void GL_GraphicsInterface::constructor | ( | ) |
References ViewCharacteristics::ambient, ambient, aspectRatio, aString, axesDimension, axesList, axesOrigin, axesOriginOption, ViewCharacteristics::axesOriginOption_, ViewCharacteristics::backGround, backGround, WindowProperties::backgroundColour, backGroundName, blankString, bottom, bottomLabel1List, bottomLabel2List, bottomLabel3List, bottomLabelList, clip, ClippingPlaneInfo::clippingPlaneEquation, clippingPlaneEquation, clippingPlaneInfo, ClippingPlaneInfo::clippingPlaneIsOn, clippingPlaneIsOn, GraphicsParameters::colour8Bit, colourBarList, colouredSquaresList, colourNames, CS, GenericGraphicsInterface::currentGUI, currentWindow, defaultFar, defaultNear, GenericGraphicsInterface::defaultOrigin, deltaAngle, deltaX, deltaY, deltaZ, ViewCharacteristics::diffuse, diffuse, dtx, dty, dtz, far, fileMenuItems, firstUserLabelList, firstUserRotableList, ViewCharacteristics::foreGround, foreGround, WindowProperties::foregroundColour, foreGroundName, fractionOfScreen, ViewCharacteristics::fractionOfScreen_, getXColour(), GI_TOGGLEBUTTON, ViewCharacteristics::globalAmbient, globalAmbient, globalBound, graphicsFileMenuItems, graphicsHelpMenuItems, GenericGraphicsInterface::graphicsWindowIsOpen, hardCopyFile, hardCopyType, helpMenuItems, homeViewParameters, horizontalRasterResolution, I4, GenericGraphicsInterface::interactiveDL, keepAspectRatio, labelsPlotted, lastUserLabelList, lastUserRotableList, leftSide, lighting, ViewCharacteristics::lighting_, ViewCharacteristics::lightIsOn, lightIsOn, ViewCharacteristics::lineScaleFactor_, lineWidthScaleFactor, magnificationFactor, magnificationIncrement, ViewCharacteristics::materialAmbient, materialAmbient, ViewCharacteristics::materialDiffuse, materialDiffuse, materialScaleFactor, ViewCharacteristics::materialScaleFactor_, materialShininess, ViewCharacteristics::materialShininess_, ViewCharacteristics::materialSpecular, materialSpecular, matrix, MAX_WINDOWS, ClippingPlaneInfo::maximumNumberOfClippingPlanes, maximumNumberOfClippingPlanes, maximumNumberOfDisplayLists, menuBarItems, moglMakeCurrent(), near, NULL, numberOfClippingPlanes, GenericGraphicsInterface::numberOfColourNames, numberOfLights, optionCommands(), optionMenu, outputFormat, plotBackGroundGrid, GenericGraphicsInterface::plotDL, plotInfo, plotTheAxes, plotTheColourBar, plotTheColouredSquares, plotTheLabels, plotTheRotationPoint, ViewCharacteristics::position, position, GraphicsParameters::postScript, printF(), q, rasterResolution, GenericGraphicsInterface::readFile, readOvertureRC(), resetGlobalBound(), rightSide, ViewCharacteristics::rotationCenter, rotationCenter, rotationMatrix, GenericGraphicsInterface::saveFile, saveTransformationInfo, PullDownMenu::setPullDownMenu(), shiftCorrection, GenericGraphicsInterface::simplifyPlotWhenRotating, ViewCharacteristics::specular, specular, sPrintF(), SQRT, top, topLabel1List, topLabel2List, topLabel3List, topLabelList, TRUE, userDefinedRotationPoint, userLabel, viewChar, viewHasChanged, windowScaleFactor, wProp, xAxisLabel, xEyeCoordinate, xShift, yAxisLabel, yEyeCoordinate, yShift, zAxisLabel, zEyeCoordinate, and zShift.
Referenced by GL_GraphicsInterface().
|
virtual |
|
virtual |
Implements GenericGraphicsInterface.
References aString, changeView(), clippingPlaneInfo, defaultWindowTitle, display(), fileMenuItems, GenericGraphicsInterface::getProcessorForGraphics(), graphicsFileMenuItems, graphicsHelpMenuItems, GenericGraphicsInterface::graphicsWindowIsOpen, hardCopyDialog, helpMenuItems, initView(), GenericGraphicsInterface::interactiveGraphicsIsOn, makeGraphicsWindow(), moglGetNWindows(), moglInit(), moglPollEvents(), moglSetFunctions(), moglSetViewFunction(), NULL, nullString, optionMenu, GenericGraphicsInterface::preferDirectRendering, setCurrentWindow(), setRotationTransformation(), setupHardCopy(), TRUE, viewChar, wProp, and wTitle.
Referenced by GL_GraphicsInterface(), and processSpecialMenuItems().
|
virtual |
Implements GenericGraphicsInterface.
|
virtual |
Implements GenericGraphicsInterface.
References GenericGraphicsInterface::graphicsWindowIsOpen.
void GL_GraphicsInterface::disableGUI | ( | ) |
References GenericGraphicsInterface::currentGUI, GUIState::dialogSiblings, GUIState::nDialogSiblings, NULL, GUIState::prev, and DialogData::setSensitive().
Referenced by processSpecialMenuItems().
void GL_GraphicsInterface::display | ( | const int & | win_number | ) |
References axesDimension, backGround, bottom, checkGLError(), clip, clippingPlaneEquation, clippingPlaneIsOn, colourBar, currentWindow, Overture::defaultGraphicsParameters(), End, eraseAxes(), fractionOfScreen, gBound, getBottomLabel3DL(), getBottomLabelDL(), getColourBarDL(), getColouredSquaresDL(), getFirstRotableDL(), getFirstUserLabelDL(), getLastRotableDL(), getLastUserLabelDL(), getTopLabel3DL(), getTopLabelDL(), glDisable, glEnable, glMultMatrix, globalBound, glScale, glTranslate, GenericGraphicsInterface::interactiveDL, keepAspectRatio, leftSide, GenericGraphicsInterface::lightDL, lighting, lightsOff(), lightsOn(), magnificationFactor, max(), maximumNumberOfClippingPlanes, min(), modelMatrix, moglRotationKeysPressed(), NULL, plotAxes(), GenericGraphicsInterface::plotDL, plotInfo, plotTheAxes, plotTheColourBar, plotTheColouredSquares, plotTheLabels, plotTheRotationPoint, ColourBar::positionInWindow(), printF(), projectionMatrix, rightSide, rotationCenter, rotationMatrix, saveTransformationInfo, setColour(), shiftCorrection, GenericGraphicsInterface::simplifyPlotWhenRotating, Start, top, TRUE, userDefinedRotationPoint, viewPort, windowScaleFactor, xEyeCoordinate, GraphicsParameters::xScaleFactor, xShift, yEyeCoordinate, GraphicsParameters::yScaleFactor, yShift, zEyeCoordinate, GraphicsParameters::zScaleFactor, and zShift.
Referenced by createWindow(), renderPS(), and selectNew().
|
virtual |
Implements GenericGraphicsInterface.
References colourBar, ColourBar::draw(), ColourBar::setGraphicsInterface(), and ColourBar::setGraphicsParameters().
Referenced by MeshQualityMetrics::plot().
|
virtual |
Implements GenericGraphicsInterface.
References helpOverture(), and printF().
Referenced by processSpecialMenuItems().
|
virtual |
Implements GenericGraphicsInterface.
References GenericGraphicsInterface::axisNumberSize, GenericGraphicsInterface::backGroundColour, currentWindow, delta, fabs(), getColourBarDL(), glLineWidth, glVertex3, label(), GraphicsParameters::labelColourBar, GenericGraphicsInterface::lineWidth, lineWidthScaleFactor, GenericGraphicsInterface::majorContourWidth, max(), GenericGraphicsInterface::minorContourWidth, setColour(), setColourFromTable(), GraphicsParameters::size, sPrintF(), and GenericGraphicsInterface::textColour.
Referenced by ColourBar::draw(), and plotPoints().
|
virtual |
|
virtual |
Implements GenericGraphicsInterface.
References NULL, GenericGraphicsInterface::numberRecorded, and GenericGraphicsInterface::recordDisplayLists.
|
virtual |
Implements GenericGraphicsInterface.
References currentWindow.
Referenced by main(), MeshQualityMetrics::plot(), plotPoints(), and processSpecialMenuItems().
|
virtual |
Implements GenericGraphicsInterface.
References getFirstDL(), getFirstUserRotableDL(), getLastFixedDL(), getLastUserRotableDL(), GenericGraphicsInterface::graphicsWindowIsOpen, GenericGraphicsInterface::hideableDL, moglPostDisplay(), plotInfo, printF(), resetGlobalBound(), setPlotDL(), and userLabel.
|
virtual |
Implements GenericGraphicsInterface.
References currentWindow, GenericGraphicsInterface::graphicsWindowIsOpen, and moglPostDisplay().
|
protected |
References getAxesDL().
Referenced by display().
|
virtual |
Implements GenericGraphicsInterface.
References currentWindow, and getColourBarDL().
|
virtual |
Implements GenericGraphicsInterface.
References currentWindow, FALSE, getBottomLabel1DL(), getBottomLabel2DL(), getBottomLabel3DL(), getBottomLabelDL(), getTopLabel1DL(), getTopLabel2DL(), getTopLabel3DL(), getTopLabelDL(), and labelsPlotted.
Referenced by plotPoints().
|
virtual |
Implements GenericGraphicsInterface.
References currentWindow, getFirstUserRotableDL(), getMaxNOfDL(), GenericGraphicsInterface::hideableDL, GenericGraphicsInterface::interactiveDL, lastUserRotableList, GenericGraphicsInterface::lightDL, max(), maximumNumberOfDisplayLists, NULL, GenericGraphicsInterface::numberRecorded, GenericGraphicsInterface::plotDL, plotInfo, printF(), q, and GenericGraphicsInterface::recordDisplayLists.
Referenced by pickPoints(), MeshQualityMetrics::plot(), plotLines(), and plotPoints().
Implements GenericGraphicsInterface.
References getAnswerSelectPick(), and NULL.
Referenced by getMenuItem(), main(), pause(), pickPoints(), MeshQualityMetrics::plot(), and ColourBar::update().
|
virtual |
Implements GenericGraphicsInterface.
References getAnswerSelectPick().
Implements GenericGraphicsInterface.
References getAnswerSelectPick(), and NULL.
int GL_GraphicsInterface::getAnswerSelectPick | ( | aString & | answer, |
const aString & | prompt, | ||
SelectionInfo * | selection_ = NULL , |
||
int | blocking = 1 |
||
) |
References SelectionInfo::active, GUIState::allCommands, appendCommandHistory(), assert, aString, broadCast(), GenericGraphicsInterface::currentGUI, GenericGraphicsInterface::echoFile, FALSE, GenericGraphicsInterface::fileAnswer(), fPrintF(), GenericGraphicsInterface::getInteractiveResponse, GenericGraphicsInterface::getMatch(), SelectionInfo::globalID, GenericGraphicsInterface::graphicsPlottingIsOn, GenericGraphicsInterface::indentBlanks, interactiveAnswer(), GenericGraphicsInterface::isGraphicsWindowOpen(), GenericGraphicsInterface::isInteractiveGraphicsOn(), max(), MPI_COMM_WORLD, MPI_Real, SelectionInfo::nSelect, NULL, openGUI(), GenericGraphicsInterface::parseAnswer(), GenericGraphicsInterface::processorForGraphics, processSpecialMenuItems(), GenericGraphicsInterface::promptAnswerSelectPick(), SelectionInfo::r, GenericGraphicsInterface::readFile, GenericGraphicsInterface::readingFromCommandFile(), s, GenericGraphicsInterface::saveFile, GenericGraphicsInterface::saveFileCount, GenericGraphicsInterface::savePick, SelectionInfo::selection, GenericGraphicsInterface::setSingleProcessorGraphicsMode(), GenericGraphicsInterface::singleProcessorGraphicsMode, stopReadingCommandFile(), GenericGraphicsInterface::stringCommands, TRUE, GenericGraphicsInterface::useParser, SelectionInfo::winNumber, SelectionInfo::x, and SelectionInfo::zbMin.
Referenced by getAnswer(), and getAnswerNoBlock().
|
inlinevirtual |
Implements GenericGraphicsInterface.
References aspectRatio.
|
inlinevirtual |
|
inlinevirtual |
Implements GenericGraphicsInterface.
References axesOrigin, and currentWindow.
|
inlinevirtual |
Implements GenericGraphicsInterface.
References bottomLabel1List.
Referenced by eraseLabels(), and plotLabels().
|
inlinevirtual |
Implements GenericGraphicsInterface.
References bottomLabel2List.
Referenced by eraseLabels(), and plotLabels().
|
inlinevirtual |
Implements GenericGraphicsInterface.
References bottomLabel3List.
Referenced by display(), eraseLabels(), and plotLabels().
|
inlinevirtual |
Implements GenericGraphicsInterface.
References bottomLabelList.
Referenced by display(), eraseLabels(), and plotLabels().
|
virtual |
Implements GenericGraphicsInterface.
References GenericGraphicsInterface::backGroundColour, backGroundName, currentWindow, foreGroundName, printF(), and GenericGraphicsInterface::textColour.
|
inlinevirtual |
Implements GenericGraphicsInterface.
References colourBarList.
Referenced by display(), ColourBar::draw(), drawColourBar(), and eraseColourBar().
|
inlinevirtual |
Implements GenericGraphicsInterface.
References colouredSquaresList.
Referenced by display(), and drawColouredSquares().
|
virtual |
Implements GenericGraphicsInterface.
References colourNames, and GenericGraphicsInterface::numberOfColourNames.
|
inlineprotected |
References GenericGraphicsInterface::currentGUI.
|
virtual |
Implements GenericGraphicsInterface.
References currentWindow.
Referenced by ColourBar::draw(), getPlotTheAxes(), getPlotTheBackgroundGrid(), getPlotTheColourBar(), getPlotTheColouredSquares(), getPlotTheLabels(), getPlotTheRotationPoint(), getView(), initView(), resetRotationPoint(), resetView(), setAxesDimension(), setPlotTheAxes(), setPlotTheBackgroundGrid(), setPlotTheColourBar(), setPlotTheColouredSquares(), setPlotTheLabels(), setPlotTheRotationPoint(), setUserButtonSensitive(), and setView().
|
inlinevirtual |
|
inlinevirtual |
Implements GenericGraphicsInterface.
References topLabelList.
|
inlinevirtual |
|
inlinevirtual |
Implements GenericGraphicsInterface.
References firstUserLabelList.
Referenced by display(), and getNewLabelList().
|
inlinevirtual |
Implements GenericGraphicsInterface.
References firstUserRotableList.
Referenced by erase(), generateNewDisplayList(), setInteractiveDL(), and setPlotDL().
|
virtual |
Implements GenericGraphicsInterface.
References currentWindow, and globalBound.
|
inlinevirtual |
Implements GenericGraphicsInterface.
References currentWindow, and keepAspectRatio.
|
inlinevirtual |
Implements GenericGraphicsInterface.
References lastUserRotableList.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements GenericGraphicsInterface.
References lastUserLabelList.
Referenced by display(), and getNewLabelList().
|
inlinevirtual |
|
virtual |
Implements GenericGraphicsInterface.
References currentWindow, and lineWidthScaleFactor.
|
inlinevirtual |
Implements GenericGraphicsInterface.
References maximumNumberOfDisplayLists.
Referenced by generateNewDisplayList(), setInteractiveDL(), setLighting(), and setPlotDL().
|
virtual |
Implements GenericGraphicsInterface.
References GUIState::buildPopup(), getAnswer(), popGUI(), and pushGUI().
Referenced by chooseAColour(), inputFileName(), inputString(), main(), and plotPoints().
|
virtual |
Implements GenericGraphicsInterface.
References currentWindow, getFirstUserLabelDL(), getLastUserLabelDL(), and printF().
|
virtual |
Implements GenericGraphicsInterface.
References getCurrentWindow(), and plotTheAxes.
|
virtual |
Implements GenericGraphicsInterface.
References getCurrentWindow(), and plotBackGroundGrid.
|
virtual |
Implements GenericGraphicsInterface.
References getCurrentWindow(), and plotTheColourBar.
|
virtual |
Implements GenericGraphicsInterface.
References getCurrentWindow(), and plotTheColouredSquares.
|
virtual |
Implements GenericGraphicsInterface.
References getCurrentWindow(), and plotTheLabels.
|
virtual |
Implements GenericGraphicsInterface.
References getCurrentWindow(), and plotTheRotationPoint.
|
inlinevirtual |
Implements GenericGraphicsInterface.
References topLabel1List.
Referenced by eraseLabels(), and plotLabels().
|
inlinevirtual |
Implements GenericGraphicsInterface.
References topLabel2List.
Referenced by eraseLabels(), and plotLabels().
|
inlinevirtual |
Implements GenericGraphicsInterface.
References topLabel3List.
Referenced by display(), eraseLabels(), and plotLabels().
|
inlinevirtual |
Implements GenericGraphicsInterface.
References topLabelList.
Referenced by display(), eraseLabels(), and plotLabels().
|
virtual |
Implements GenericGraphicsInterface.
References getCurrentWindow(), ViewLocation::globalBound, globalBound, ViewLocation::magnificationFactor, magnificationFactor, ViewLocation::rotationCenter, rotationCenter, ViewLocation::rotationMatrix, rotationMatrix, ViewLocation::shift, ViewLocation::shiftCorrection, shiftCorrection, ViewLocation::userDefinedRotationPoint, userDefinedRotationPoint, xShift, yShift, and zShift.
|
protected |
|
inlinevirtual |
Implements GenericGraphicsInterface.
References currentWindow, and xAxisLabel.
|
inlinevirtual |
Implements GenericGraphicsInterface.
References currentWindow, and yAxisLabel.
|
inlinevirtual |
Implements GenericGraphicsInterface.
References currentWindow, and zAxisLabel.
|
virtual |
Implements GenericGraphicsInterface.
References aString, blankString, currentWindow, GraphicsParameters::encapsulatedPostScript, GenericGraphicsInterface::hardCopyRenderingType, GraphicsParameters::hardCopyType, hardCopyType, inputFileName(), GraphicsParameters::isDefault(), moglGetWindowSize(), moglMakeCurrent(), GenericGraphicsInterface::offScreenRender, offScreenRender(), GraphicsParameters::postScript, GraphicsParameters::postScriptRaster, printF(), GenericGraphicsInterface::processorForGraphics, saveRasterInAFile(), sPrintF(), and x.
Referenced by hardcopyCommands().
void GL_GraphicsInterface::hardcopyCommands | ( | aString & | longAnswer, |
int | win_number | ||
) |
References aString, Overture::defaultGraphicsParameters(), GraphicsParameters::encapsulatedPostScript, GenericGraphicsInterface::frameBuffer, hardCopy(), hardCopyDialog, hardCopyFile, GenericGraphicsInterface::hardCopyRenderingType, hardCopyType, DialogData::hideSibling(), horizontalRasterResolution, inputFileName(), max(), min(), NULL, GenericGraphicsInterface::offScreenRender, outputFormat, outputString(), parseCommandLine(), GraphicsParameters::postScript, GraphicsParameters::postScriptRaster, GraphicsParameters::ppm, rasterResolution, SC, DialogData::setTextLabel(), sPrintF(), and str_matches().
Referenced by processSpecialMenuItems().
void GL_GraphicsInterface::init | ( | const int & | win_number | ) |
References aspectRatio, bottom, far, glDisable, glEnable, graphics_setOrthoKeepAspectRatio(), GenericGraphicsInterface::graphicsWindowIsOpen, leftSide, magnificationFactor, near, resetGlobalBound(), rightSide, top, and viewPort.
Referenced by renderPS(), and resetView().
|
virtual |
Implements GenericGraphicsInterface.
References getCurrentWindow(), resetView(), and userDefinedRotationPoint.
Referenced by createWindow(), and processSpecialMenuItems().
|
virtual |
Implements GenericGraphicsInterface.
References aString, CS, getMenuItem(), GenericGraphicsInterface::graphicsWindowIsOpen, moglCloseFileSB(), moglOpenFileSB(), and GenericGraphicsInterface::readFile.
Referenced by hardCopy(), and hardcopyCommands().
|
virtual |
Reimplemented from GenericGraphicsInterface.
References aString, and getMenuItem().
Referenced by main(), plotPoints(), and processSpecialMenuItems().
int GL_GraphicsInterface::interactiveAnswer | ( | aString & | answer, |
const aString & | prompt, | ||
SelectionInfo * | selection_, | ||
int | blocking = 1 |
||
) |
References appendCommandHistory(), assert, aString, GenericGraphicsInterface::currentGUI, GUIState::dialogSiblings, FALSE, fPrintF(), GenericGraphicsInterface::getDefaultPrompt(), GenericGraphicsInterface::graphicsWindowIsOpen, GenericGraphicsInterface::indentBlanks, GenericGraphicsInterface::isGraphicsWindowOpen(), magnificationFactor, moglGetAnswer(), moglGetNWindows(), GUIState::nDialogSiblings, NULL, pickNew(), PickInfo::pickType, DialogData::pointerCursor, rotationMatrix, GenericGraphicsInterface::saveFile, DialogData::setCursor(), sPrintF(), viewHasChanged, DialogData::watchCursor, xShift, yShift, and zShift.
Referenced by getAnswerSelectPick().
|
virtual |
Implements GenericGraphicsInterface.
References GenericGraphicsInterface::backGroundColour, currentWindow, delta, glLineWidth, glRotate, glScale, glTranslate, GenericGraphicsInterface::labelLineWidth, GenericGraphicsInterface::lineWidth, lineWidthScaleFactor, nullString, setColour(), GraphicsParameters::size, strokeCharacter(), and GenericGraphicsInterface::textColour.
Referenced by annotate(), drawColourBar(), drawColouredSquares(), and plotLabels().
|
protected |
|
protected |
|
protected |
References ambient, diffuse, glDisable, glEnable, globalAmbient, lightIsOn, numberOfLights, position, and specular.
Referenced by display().
|
virtual |
Implements GenericGraphicsInterface.
References assert, currentWindow, modelMatrix, projectionMatrix, r, R, viewPort, and x.
int GL_GraphicsInterface::offScreenRender | ( | const char * | fileName, |
GraphicsParameters & | parameters = Overture::defaultGraphicsParameters() |
||
) |
References offScreenRenderMesa(), and offScreenRenderX().
Referenced by hardCopy().
int GL_GraphicsInterface::offScreenRenderMesa | ( | const char * | fileName, |
GraphicsParameters & | parameters = Overture::defaultGraphicsParameters() |
||
) |
Referenced by offScreenRender().
int GL_GraphicsInterface::offScreenRenderX | ( | const char * | fileName, |
GraphicsParameters & | parameters = Overture::defaultGraphicsParameters() |
||
) |
Referenced by offScreenRender().
void GL_GraphicsInterface::openGUI | ( | ) |
References GenericGraphicsInterface::currentGUI, currentWindow, GUIState::dialogSiblings, moglBuildPopup(), moglBuildUserButtons(), moglBuildUserMenu(), moglGetNWindows(), moglSetSensitive(), GUIState::nDialogSiblings, NULL, DialogData::openDialog(), GUIState::popupMenu, GUIState::prev, GUIState::pulldownCommand, GUIState::pulldownTitle, DialogData::setSensitive(), GUIState::windowButtonCommands, and GUIState::windowButtonLabels.
Referenced by getAnswerSelectPick(), pause(), processSpecialMenuItems(), and stopReadingCommandFile().
void GL_GraphicsInterface::optionCommands | ( | aString & | answer, |
int | win_number | ||
) |
References aString, parseCommandLine(), setPlotTheAxes(), setPlotTheBackgroundGrid(), setPlotTheColourBar(), setPlotTheColouredSquares(), setPlotTheLabels(), setPlotTheRotationPoint(), GenericGraphicsInterface::simplifyPlotWhenRotating, sScanF(), and str_matches().
Referenced by constructor(), and processSpecialMenuItems().
|
virtual |
Reimplemented from GenericGraphicsInterface.
References GenericGraphicsInterface::echoFile, fPrintF(), GenericGraphicsInterface::graphicsWindowIsOpen, GenericGraphicsInterface::infoLevel, moglSetPrompt(), and printF().
Referenced by createMessageDialog(), hardcopyCommands(), main(), pickPoints(), plotPoints(), and processSpecialMenuItems().
void GL_GraphicsInterface::parseCommandLine | ( | const aString & | line, |
aString & | command, | ||
int & | windowNumber, | ||
aString & | arg | ||
) | const |
References sScanF().
Referenced by hardcopyCommands(), optionCommands(), and processSpecialMenuItems().
|
virtual |
Implements GenericGraphicsInterface.
References aString, getAnswer(), GenericGraphicsInterface::getInteractiveResponse, GenericGraphicsInterface::graphicsWindowIsOpen, GenericGraphicsInterface::ignorePause, openGUI(), popGUI(), pushGUI(), DialogData::setExitCommand(), DialogData::setPushButtons(), DialogData::setWindowTitle(), and stopReadingCommandFile().
Referenced by processSpecialMenuItems().
void GL_GraphicsInterface::pickNew | ( | PickInfo & | xPick, |
SelectionInfo & | select | ||
) |
References SelectionInfo::active, appendCommandHistory(), aString, fPrintF(), SelectionInfo::globalID, GenericGraphicsInterface::indentBlanks, modelMatrix, SelectionInfo::nSelect, PickInfo::pickBox, PickInfo::pickWindow, pow(), projectionMatrix, SelectionInfo::r, GenericGraphicsInterface::saveFile, GenericGraphicsInterface::savePick, SC, SelectionInfo::selection, selectNew(), sPrintF(), viewPort, SelectionInfo::winNumber, SelectionInfo::x, and SelectionInfo::zbMin.
Referenced by interactiveAnswer().
|
virtual |
Implements GenericGraphicsInterface.
References SelectionInfo::active, appendCommandHistory(), GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, GUIState::buildPopup(), currentWindow, FALSE, fPrintF(), generateNewDisplayList(), getAnswer(), glPointSize, glVertex3, GenericGraphicsInterface::graphicsWindowIsOpen, GenericGraphicsInterface::indentBlanks, moglMakeCurrent(), moglPostDisplay(), SelectionInfo::nSelect, outputString(), pickToWorldCoordinates(), pointSize, popGUI(), pow(), pushGUI(), q, r, SelectionInfo::r, GenericGraphicsInterface::readFile, GenericGraphicsInterface::readLineFromCommandFile(), GenericGraphicsInterface::saveFile, GenericGraphicsInterface::savePick, GenericGraphicsInterface::savePickCommands(), setColour(), GUIState::setUserButtons(), sPrintF(), sScanF(), stopReadingCommandFile(), GenericGraphicsInterface::textColour, GenericGraphicsInterface::unAppendTheDefaultPrompt(), and SelectionInfo::x.
Referenced by processSpecialMenuItems().
|
protected |
References assert, modelMatrix, pow(), projectionMatrix, r, R, viewPort, and x.
Referenced by pickPoints().
|
protected |
References aspectRatio, aString, axesOrigin, axesOriginOption, axis1, axis2, axis3, GraphicsParameters::axisMajorTickSize, GraphicsParameters::axisMinorTickSize, GenericGraphicsInterface::axisNumberSize, blankString, currentWindow, GenericGraphicsInterface::defaultOrigin, dx, End, fabs(), FALSE, fmod(), glColor3, glLineWidth, glVertex3, keepAspectRatio, GenericGraphicsInterface::lineWidth, lineWidthScaleFactor, log10(), magnificationFactor, max(), min(), moglGetNWindows(), plotBackGroundGrid, pow(), REAL_EPSILON, REAL_MIN, rotationCenter, setColour(), GraphicsParameters::size, sPrintF(), Start, GenericGraphicsInterface::textColour, xAxisLabel, xLabel(), GraphicsParameters::xScaleFactor, yAxisLabel, GraphicsParameters::yScaleFactor, zAxisLabel, and GraphicsParameters::zScaleFactor.
Referenced by display().
|
virtual |
Implements GenericGraphicsInterface.
References aString, GraphicsParameters::bottomLabel, GraphicsParameters::bottomLabel1, GraphicsParameters::bottomLabel2, GraphicsParameters::bottomLabel3, GenericGraphicsInterface::bottomLabelSize, GenericGraphicsInterface::bottomSubLabelSize, currentWindow, getBottomLabel1DL(), getBottomLabel2DL(), getBottomLabel3DL(), getBottomLabelDL(), getTopLabel1DL(), getTopLabel2DL(), getTopLabel3DL(), getTopLabelDL(), label(), labelsPlotted, min(), nullString, setColour(), GraphicsParameters::size, GenericGraphicsInterface::textColour, GraphicsParameters::topLabel, GraphicsParameters::topLabel1, GraphicsParameters::topLabel2, GraphicsParameters::topLabel3, GenericGraphicsInterface::topLabelSize, GenericGraphicsInterface::topSubLabelSize, and TRUE.
Referenced by plotLines(), and plotPoints().
|
virtual |
Implements GenericGraphicsInterface.
References assert, aString, currentWindow, GraphicsParameters::curveLineWidth, End, fabs(), FALSE, generateNewDisplayList(), GraphicsParameters::get(), glLineWidth, glVertex3, GenericGraphicsInterface::graphicsWindowIsOpen, GraphicsParameters::isDefault(), GraphicsParameters::lineColour, lineWidthScaleFactor, max(), min(), GraphicsParameters::plotBound, GraphicsParameters::plotBoundsChanged, plotLabels(), GraphicsParameters::plotTitleLabels, GenericGraphicsInterface::processorForGraphics, q, redraw(), GraphicsParameters::relativeChangeForPlotBounds, setAxesDimension(), setColour(), setGlobalBound(), Start, TRUE, GraphicsParameters::usePlotBounds, and GraphicsParameters::usePlotBoundsOrLarger.
|
virtual |
Implements GenericGraphicsInterface.
References Overture::nullRealArray(), and Overture::nullRealDistributedArray().
Referenced by ErrorEstimator::plotErrorPoints().
|
virtual |
Implements GenericGraphicsInterface.
References GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, chooseAColour(), currentWindow, drawColourBar(), End, erase(), eraseLabels(), fabs(), FALSE, generateNewDisplayList(), getMenuItem(), glPointSize, glTranslate, glVertex3, GenericGraphicsInterface::graphicsIsOn(), inputString(), ip, GraphicsParameters::isDefault(), GenericGraphicsInterface::isGraphicsWindowOpen(), lineWidthScaleFactor, max(), min(), Overture::nullRealArray(), outputString(), GraphicsParameters::plotBound, GraphicsParameters::plotBoundsChanged, GraphicsParameters::plotColourBar, plotLabels(), GraphicsParameters::plotObject, GraphicsParameters::plotObjectAndExit, GraphicsParameters::plotTitleLabels, GraphicsParameters::pointColour, points(), pointSize, GraphicsParameters::pointSize, GenericGraphicsInterface::processorForGraphics, q, redraw(), GraphicsParameters::relativeChangeForPlotBounds, setAxesDimension(), setColour(), setColourFromTable(), setGlobalBound(), sPrintF(), sScanF(), Start, TRUE, GenericGraphicsInterface::unAppendTheDefaultPrompt(), GraphicsParameters::usePlotBounds, and GraphicsParameters::usePlotBoundsOrLarger.
|
virtual |
Implements GenericGraphicsInterface.
References GenericGraphicsInterface::graphicsWindowIsOpen, and moglPollEvents().
|
virtual |
Implements GenericGraphicsInterface.
References GUIState::allCommands, DialogData::closeDialog(), GenericGraphicsInterface::currentGUI, currentWindow, GUIState::dialogSiblings, GenericGraphicsInterface::isGraphicsWindowOpen(), moglBuildPopup(), moglBuildUserButtons(), moglBuildUserMenu(), moglGetNWindows(), moglSetSensitive(), GUIState::nAllCommands, GUIState::nDialogSiblings, NULL, GUIState::popupMenu, GUIState::prev, printF(), GUIState::pulldownCommand, GUIState::pulldownTitle, GenericGraphicsInterface::readFile, DialogData::setSensitive(), GUIState::windowButtonCommands, and GUIState::windowButtonLabels.
Referenced by getMenuItem(), main(), pause(), pickPoints(), MeshQualityMetrics::plot(), and ColourBar::update().
|
virtual |
Reimplemented from GenericGraphicsInterface.
References ambient, annotate(), appendCommandHistory(), aString, axesOriginOption, backGround, backGroundName, clippingPlaneEquation, clippingPlaneIsOn, createWindow(), GenericGraphicsInterface::currentGUI, currentWindow, deltaAngle, deltaX, deltaY, deltaZ, diffuse, disableGUI(), displayHelp(), dtx, dty, dtz, erase(), FALSE, foreGround, foreGroundName, fPrintF(), fraction, fractionOfScreen, GenericGraphicsInterface::getMatch(), getXColour(), hardcopyCommands(), homeViewParameters, GenericGraphicsInterface::indentBlanks, initView(), inputString(), GenericGraphicsInterface::isGraphicsWindowOpen(), lighting, lightIsOn, lineWidthScaleFactor, magnificationFactor, magnificationIncrement, materialAmbient, materialDiffuse, materialScaleFactor, materialShininess, materialSpecular, maximumNumberOfClippingPlanes, menuBarItems, moglBuildPopup(), moglBuildUserButtons(), moglBuildUserMenu(), moglGetNWindows(), moglPostDisplay(), moglPrintFractionOfScreen(), moglPrintLineWidth(), moglPrintRotPnt(), moglSetSensitive(), nullString, numberOfClippingPlanes, openGUI(), optionCommands(), outputString(), parseCommandLine(), pause(), pickPoints(), plotTheRotationPoint, GUIState::popupMenu, position, printF(), GUIState::pulldownCommand, GUIState::pulldownTitle, r, GenericGraphicsInterface::readCommandFile(), GenericGraphicsInterface::readFile, redraw(), resetView(), rotationMatrix, s, GenericGraphicsInterface::saveCommandFile(), GenericGraphicsInterface::saveFile, SC, GUIState::setAllCommands(), setCurrentWindow(), setFractionOfScreen(), setLineWidthScaleFactor(), setProjection(), setRotationCenter(), setRotationTransformation(), specular, SQR, SQRT, sScanF(), str_matches(), TRUE, GenericGraphicsInterface::turnOffGraphics(), GenericGraphicsInterface::turnOnGraphics(), GenericGraphicsInterface::useParser, userDefinedRotationPoint, viewChar, GUIState::windowButtonCommands, GUIState::windowButtonLabels, x, xShift, yShift, and zShift.
Referenced by getAnswerSelectPick().
|
virtual |
Implements GenericGraphicsInterface.
References assert, aString, currentWindow, FALSE, getLineFromFile(), hardCopyType, GraphicsParameters::ppm, r, saveRasterInAFile(), sScanF(), and TRUE.
Referenced by main().
|
virtual |
Implements GenericGraphicsInterface.
References GenericGraphicsInterface::currentGUI, currentWindow, GUIState::dialogSiblings, GUIState::gl, GenericGraphicsInterface::isGraphicsWindowOpen(), moglBuildPopup(), moglBuildUserButtons(), moglBuildUserMenu(), moglGetNWindows(), moglSetSensitive(), GUIState::nDialogSiblings, DialogData::openDialog(), GUIState::popupMenu, GUIState::prev, GUIState::pulldownCommand, GUIState::pulldownTitle, GenericGraphicsInterface::readFile, GUIState::setAllCommands(), DialogData::setSensitive(), GUIState::windowButtonCommands, and GUIState::windowButtonLabels.
Referenced by getMenuItem(), main(), pause(), pickPoints(), MeshQualityMetrics::plot(), and ColourBar::update().
bool GL_GraphicsInterface::readOvertureRC | ( | ) |
References WindowProperties::backgroundColour, WindowProperties::commandWindowHeight, WindowProperties::commandWindowWidth, CS, WindowProperties::foregroundColour, WindowProperties::graphicsWindowHeight, WindowProperties::graphicsWindowWidth, printF(), WindowProperties::showCommandHistory, WindowProperties::showPrompt, WindowProperties::showRubberBandBox, sScanF(), and wProp.
Referenced by constructor().
|
virtual |
Implements GenericGraphicsInterface.
References currentWindow, GenericGraphicsInterface::graphicsWindowIsOpen, moglDisplay(), and moglPostDisplay().
Referenced by main(), plotLines(), plotPoints(), processSpecialMenuItems(), setPlotTheAxes(), setPlotTheBackgroundGrid(), setPlotTheColourBar(), setPlotTheColouredSquares(), setPlotTheLabels(), setPlotTheRotationPoint(), and ColourBar::update().
|
protected |
|
virtual |
Implements GenericGraphicsInterface.
References End, globalBound, REAL_MAX, and Start.
Referenced by constructor(), erase(), and init().
|
protected |
References End, getCurrentWindow(), globalBound, setRotationCenter(), and Start.
|
virtual |
Implements GenericGraphicsInterface.
References defaultFar, defaultNear, deltaAngle, deltaX, deltaY, deltaZ, dtx, dty, dtz, far, getCurrentWindow(), init(), magnificationFactor, magnificationIncrement, near, rotationMatrix, setRotationTransformation(), shiftCorrection, xShift, yShift, and zShift.
Referenced by initView(), and processSpecialMenuItems().
void GL_GraphicsInterface::rleCompress | ( | const int | num, |
GLubyte * | xBuffer, | ||
FILE * | outFile, | ||
const int | numPerLine = 30 |
||
) |
References fPrintF(), getCPU(), printF(), and r.
Referenced by saveRasterInAFile().
int GL_GraphicsInterface::saveRasterInAFile | ( | const aString & | fileName, |
void * | buffer, | ||
const GLint & | width, | ||
const GLint & | height, | ||
const int & | rgbType = 0 , |
||
GraphicsParameters & | parameters = Overture::defaultGraphicsParameters() |
||
) |
References C, GraphicsParameters::colour24Bit, GraphicsParameters::colour8Bit, currentWindow, GraphicsParameters::encapsulatedPostScript, fPrintF(), getCPU(), GraphicsParameters::grayScale, GraphicsParameters::hardCopyType, hardCopyType, ig, ir, GraphicsParameters::isDefault(), max(), min(), NULL, GraphicsParameters::outputFormat, outputFormat, GraphicsParameters::ppm, printF(), r, rleCompress(), and x.
Referenced by hardCopy(), and psToRaster().
int GL_GraphicsInterface::selectNew | ( | PickInfo & | xPick, |
SelectionInfo * | select | ||
) |
printf("select: near=%e, far=%e \n",near,far);
printf("select: near=%e, far=%e \n",near,far);
References appendCommandHistory(), aString, bottom, debug, display(), fabs(), far, fPrintF(), GenericGraphicsInterface::indentBlanks, leftSide, magnificationFactor, max(), near, SelectionInfo::nSelect, PickInfo::pickBox, PickInfo::pickWindow, rightSide, GenericGraphicsInterface::saveFile, GenericGraphicsInterface::savePick, SelectionInfo::selection, sPrintF(), top, and viewPort.
Referenced by pickNew().
|
virtual |
Implements GenericGraphicsInterface.
References axesDimension, getCurrentWindow(), max(), and min().
Referenced by MeshQualityMetrics::plot(), plotLines(), and plotPoints().
|
virtual |
Implements GenericGraphicsInterface.
References currentWindow, xAxisLabel, yAxisLabel, and zAxisLabel.
|
virtual |
Implements GenericGraphicsInterface.
References axesOrigin, and currentWindow.
|
virtual |
Implements GenericGraphicsInterface.
References aString, currentWindow, glEnable, materialShininess, materialSpecular, setMaterialProperties(), and setXColour().
Referenced by annotate(), display(), drawColourBar(), label(), pickPoints(), plotAxes(), plotLabels(), plotLines(), and plotPoints().
|
virtual |
Implements GenericGraphicsInterface.
References backGroundName, currentWindow, foreGroundName, getXColour(), glColor3, and GenericGraphicsInterface::textColour.
|
virtual |
Implements GenericGraphicsInterface.
References assert, GraphicsParameters::blue, colourTable, GraphicsParameters::colourTable, GraphicsParameters::colourTableFunction, GraphicsParameters::gray, GraphicsParameters::green, max(), min(), NULL, GraphicsParameters::rainbow, GraphicsParameters::red, and GraphicsParameters::userDefined.
Referenced by drawColourBar(), MeshQualityMetrics::plot(), and plotPoints().
|
virtual |
Implements GenericGraphicsInterface.
References colourNames, and GenericGraphicsInterface::numberOfColourNames.
|
virtual |
Implements GenericGraphicsInterface.
References aString, currentWindow, moglGetNWindows(), moglMakeCurrent(), moglSetSensitive(), moglSetTitle(), printF(), and wTitle.
Referenced by createWindow(), and processSpecialMenuItems().
|
protected |
References currentWindow, fraction, and fractionOfScreen.
Referenced by processSpecialMenuItems().
|
virtual |
Implements GenericGraphicsInterface.
References currentWindow, End, fractionOfScreen, globalBound, magnificationFactor, max(), min(), REAL_MIN, Start, and windowScaleFactor.
Referenced by plotLines(), and plotPoints().
|
virtual |
Implements GenericGraphicsInterface.
References currentWindow, getFirstUserRotableDL(), getMaxNOfDL(), GenericGraphicsInterface::interactiveDL, and plotInfo.
|
virtual |
Implements GenericGraphicsInterface.
References currentWindow, and keepAspectRatio.
|
virtual |
Implements GenericGraphicsInterface.
References currentWindow, getMaxNOfDL(), GenericGraphicsInterface::lightDL, and plotInfo.
|
virtual |
Implements GenericGraphicsInterface.
References currentWindow, and lineWidthScaleFactor.
Referenced by processSpecialMenuItems().
void GL_GraphicsInterface::setMaterialProperties | ( | float | ambr, |
float | ambg, | ||
float | ambb, | ||
float | difr, | ||
float | difg, | ||
float | difb, | ||
float | specr, | ||
float | specg, | ||
float | specb, | ||
float | shine | ||
) |
References glDisable.
Referenced by setColour().
|
protected |
|
protected |
|
virtual |
Implements GenericGraphicsInterface.
References currentWindow, getFirstUserRotableDL(), getMaxNOfDL(), GenericGraphicsInterface::plotDL, and plotInfo.
Referenced by erase().
|
virtual |
Implements GenericGraphicsInterface.
References getCurrentWindow(), optionMenu, plotTheAxes, redraw(), setPlotTheBackgroundGrid(), and PullDownMenu::setToggleState().
Referenced by optionCommands(), and setPlotTheBackgroundGrid().
|
virtual |
Implements GenericGraphicsInterface.
References getCurrentWindow(), optionMenu, plotBackGroundGrid, redraw(), setPlotTheAxes(), and PullDownMenu::setToggleState().
Referenced by optionCommands(), and setPlotTheAxes().
|
virtual |
Implements GenericGraphicsInterface.
References getCurrentWindow(), optionMenu, plotTheColourBar, redraw(), and PullDownMenu::setToggleState().
Referenced by optionCommands().
|
virtual |
Implements GenericGraphicsInterface.
References getCurrentWindow(), optionMenu, plotTheColouredSquares, redraw(), and PullDownMenu::setToggleState().
Referenced by optionCommands().
|
virtual |
Implements GenericGraphicsInterface.
References getCurrentWindow(), optionMenu, plotTheLabels, redraw(), and PullDownMenu::setToggleState().
Referenced by optionCommands().
|
virtual |
Implements GenericGraphicsInterface.
References getCurrentWindow(), optionMenu, plotTheRotationPoint, redraw(), and PullDownMenu::setToggleState().
Referenced by optionCommands().
void GL_GraphicsInterface::setProjection | ( | const int & | win_number | ) |
References aspectRatio, bottom, currentWindow, far, graphics_setOrthoKeepAspectRatio(), GenericGraphicsInterface::isGraphicsWindowOpen(), leftSide, magnificationFactor, moglMakeCurrent(), near, rightSide, and top.
Referenced by changeView(), processSpecialMenuItems(), and setView().
|
protected |
References currentWindow, End, globalBound, rotationCenter, rotationMatrix, shiftCorrection, Start, TRUE, and userDefinedRotationPoint.
Referenced by processSpecialMenuItems(), and resetRotationPoint().
|
protected |
References dtx, dty, dtz, I4, matrix, Pi, and rotationMatrix.
Referenced by changeView(), createWindow(), processSpecialMenuItems(), and resetView().
void GL_GraphicsInterface::setupHardCopy | ( | DialogData & | hcd, |
int | win | ||
) |
References DialogData::addOptionMenu(), DialogData::addRadioBox(), aString, cc, hardCopyFile, GenericGraphicsInterface::hardCopyRenderingType, hardCopyType, horizontalRasterResolution, DialogData::openDialog(), outputFormat, q, rasterResolution, DialogData::setBuiltInDialog(), DialogData::setExitCommand(), DialogData::setOptionMenuColumns(), DialogData::setPushButtons(), DialogData::setTextBoxes(), DialogData::setWindowTitle(), and sPrintF().
Referenced by createWindow().
|
virtual |
|
virtual |
Implements GenericGraphicsInterface.
References getCurrentWindow(), ViewLocation::globalBound, globalBound, ViewLocation::magnificationFactor, magnificationFactor, ViewLocation::rotationCenter, rotationCenter, ViewLocation::rotationMatrix, rotationMatrix, setProjection(), ViewLocation::shift, ViewLocation::shiftCorrection, shiftCorrection, ViewLocation::userDefinedRotationPoint, userDefinedRotationPoint, xShift, yShift, and zShift.
|
protectedvirtual |
Implements GenericGraphicsInterface.
References currentWindow, dtx, dty, dtz, GenericGraphicsInterface::magnification, magnificationFactor, rotationMatrix, setProjection(), GenericGraphicsInterface::xAxisAngle, xShift, GenericGraphicsInterface::xTranslation, GenericGraphicsInterface::yAxisAngle, yShift, GenericGraphicsInterface::yTranslation, GenericGraphicsInterface::zAxisAngle, zShift, and GenericGraphicsInterface::zTranslation.
|
inlinevirtual |
Implements GenericGraphicsInterface.
References currentWindow, and xAxisLabel.
|
inlinevirtual |
Implements GenericGraphicsInterface.
References currentWindow, and yAxisLabel.
|
inlinevirtual |
Implements GenericGraphicsInterface.
References currentWindow, and zAxisLabel.
|
virtual |
Reimplemented from GenericGraphicsInterface.
References GenericGraphicsInterface::abortProgramIfCommandFileEnds, GenericGraphicsInterface::graphicsWindowIsOpen, NULL, openGUI(), OV_ABORT, printF(), GenericGraphicsInterface::readFile, GenericGraphicsInterface::readFileStack, and GenericGraphicsInterface::stringCommands.
Referenced by getAnswerSelectPick(), main(), pause(), pickPoints(), and ColourBar::update().
|
protected |
|
virtual |
Implements GenericGraphicsInterface.
References colourBar, ColourBar::setGraphicsInterface(), ColourBar::setGraphicsParameters(), and ColourBar::update().
|
virtual |
Implements GenericGraphicsInterface.
References assert, currentWindow, max(), modelMatrix, projectionMatrix, q, r, R, REAL_MIN, viewPort, and x.
|
virtual |
Implements GenericGraphicsInterface.
References currentWindow, Pi, and x.
Referenced by plotAxes(), and xLabel().
|
virtual |
Implements GenericGraphicsInterface.
References currentWindow, Pi, and xLabel().
|
virtual |
Implements GenericGraphicsInterface.
References currentWindow, Pi, and xLabel().
|
virtual |
Implements GenericGraphicsInterface.
References crossProductAndAngle(), currentWindow, glLineWidth, glRotate, glScale, glTranslate, GenericGraphicsInterface::labelLineWidth, GenericGraphicsInterface::lineWidth, lineWidthScaleFactor, Pi, rot3d(), GraphicsParameters::size, strokeCharacter(), and windowScaleFactor.
|
virtual |
Implements GenericGraphicsInterface.
References crossProductAndAngle(), currentWindow, glLineWidth, glRotate, glScale, glTranslate, GenericGraphicsInterface::labelLineWidth, GenericGraphicsInterface::lineWidth, lineWidthScaleFactor, Pi, rot3d(), GraphicsParameters::size, strokeCharacter(), and windowScaleFactor.
|
friend |
GLfloat GL_GraphicsInterface::ambient[MAX_WINDOWS][numberOfLights][4] |
Referenced by constructor(), lightsOn(), and processSpecialMenuItems().
GUITypes::real GL_GraphicsInterface::aspectRatio[MAX_WINDOWS] |
Referenced by constructor(), getAspectRatio(), init(), plotAxes(), and setProjection().
int GL_GraphicsInterface::axesDimension[MAX_WINDOWS] |
Referenced by constructor(), display(), and setAxesDimension().
|
protected |
Referenced by constructor(), getAxesDL(), and getFirstRotableDL().
RealArray GL_GraphicsInterface::axesOrigin[MAX_WINDOWS] |
Referenced by constructor(), getAxesOrigin(), plotAxes(), and setAxesOrigin().
int GL_GraphicsInterface::axesOriginOption[MAX_WINDOWS] |
Referenced by constructor(), plotAxes(), and processSpecialMenuItems().
GUITypes::real GL_GraphicsInterface::backGround[MAX_WINDOWS][4] |
Referenced by constructor(), display(), and processSpecialMenuItems().
aString GL_GraphicsInterface::backGroundName[MAX_WINDOWS] |
Referenced by constructor(), getColour(), processSpecialMenuItems(), and setColour().
GUITypes::real GL_GraphicsInterface::bottom[MAX_WINDOWS] |
Referenced by constructor(), display(), getWindowShape(), init(), selectNew(), and setProjection().
|
protected |
Referenced by constructor(), and getBottomLabel1DL().
|
protected |
Referenced by constructor(), and getBottomLabel2DL().
|
protected |
Referenced by constructor(), and getBottomLabel3DL().
|
protected |
Referenced by constructor(), and getBottomLabelDL().
GLenum GL_GraphicsInterface::clip[MAX_WINDOWS][maximumNumberOfClippingPlanes] |
Referenced by constructor(), and display().
double GL_GraphicsInterface::clippingPlaneEquation[MAX_WINDOWS][maximumNumberOfClippingPlanes][4] |
Referenced by constructor(), display(), and processSpecialMenuItems().
ClippingPlaneInfo GL_GraphicsInterface::clippingPlaneInfo[MAX_WINDOWS] |
Referenced by constructor(), and createWindow().
int GL_GraphicsInterface::clippingPlaneIsOn[MAX_WINDOWS][maximumNumberOfClippingPlanes] |
Referenced by constructor(), display(), and processSpecialMenuItems().
ColourBar GL_GraphicsInterface::colourBar |
Referenced by display(), displayColourBar(), and updateColourBar().
|
protected |
Referenced by constructor(), and getColourBarDL().
|
protected |
Referenced by constructor(), and getColouredSquaresDL().
aString* GL_GraphicsInterface::colourNames |
Referenced by constructor(), drawColouredSquares(), getColourName(), setColourName(), and ~GL_GraphicsInterface().
|
protected |
Referenced by annotate(), constructor(), display(), drawColourBar(), drawColouredSquares(), erase(), eraseColourBar(), eraseLabels(), generateNewDisplayList(), getAxesOrigin(), getColour(), getCurrentWindow(), getGlobalBound(), getKeepAspectRatio(), getLineWidthScaleFactor(), getNewLabelList(), getXAxisLabel(), getYAxisLabel(), getZAxisLabel(), hardCopy(), label(), normalizedToWorldCoordinates(), openGUI(), pickPoints(), plotAxes(), plotLabels(), plotLines(), plotPoints(), popGUI(), processSpecialMenuItems(), psToRaster(), pushGUI(), redraw(), renderPS(), saveRasterInAFile(), setAxesLabels(), setAxesOrigin(), setColour(), setCurrentWindow(), setFractionOfScreen(), setGlobalBound(), setInteractiveDL(), setKeepAspectRatio(), setLighting(), setLineWidthScaleFactor(), setPlotDL(), setProjection(), setRotationCenter(), setView(), setXAxisLabel(), setYAxisLabel(), setZAxisLabel(), worldToNormalizedCoordinates(), and xLabel().
GUITypes::real GL_GraphicsInterface::defaultFar[MAX_WINDOWS] |
Referenced by constructor(), and resetView().
GUITypes::real GL_GraphicsInterface::defaultNear[MAX_WINDOWS] |
Referenced by constructor(), and resetView().
aString GL_GraphicsInterface::defaultWindowTitle |
Referenced by createWindow(), and GL_GraphicsInterface().
GUITypes::real GL_GraphicsInterface::deltaAngle[MAX_WINDOWS] |
Referenced by constructor(), processSpecialMenuItems(), and resetView().
GUITypes::real GL_GraphicsInterface::deltaX[MAX_WINDOWS] |
Referenced by constructor(), processSpecialMenuItems(), and resetView().
GUITypes::real GL_GraphicsInterface::deltaY[MAX_WINDOWS] |
Referenced by constructor(), processSpecialMenuItems(), and resetView().
GUITypes::real GL_GraphicsInterface::deltaZ[MAX_WINDOWS] |
Referenced by constructor(), processSpecialMenuItems(), and resetView().
GLfloat GL_GraphicsInterface::diffuse[MAX_WINDOWS][numberOfLights][4] |
Referenced by constructor(), lightsOn(), and processSpecialMenuItems().
GUITypes::real GL_GraphicsInterface::dtx[MAX_WINDOWS] |
Referenced by changeView(), constructor(), processSpecialMenuItems(), resetView(), setRotationTransformation(), and setView().
GUITypes::real GL_GraphicsInterface::dty[MAX_WINDOWS] |
Referenced by changeView(), constructor(), processSpecialMenuItems(), resetView(), setRotationTransformation(), and setView().
GUITypes::real GL_GraphicsInterface::dtz[MAX_WINDOWS] |
Referenced by changeView(), constructor(), processSpecialMenuItems(), resetView(), setRotationTransformation(), and setView().
GUITypes::real GL_GraphicsInterface::far[MAX_WINDOWS] |
Referenced by constructor(), init(), resetView(), selectNew(), and setProjection().
aString* GL_GraphicsInterface::fileMenuItems |
Referenced by constructor(), createWindow(), and ~GL_GraphicsInterface().
|
protected |
Referenced by annotate(), constructor(), and getFirstUserLabelDL().
|
protected |
Referenced by constructor(), and getFirstUserRotableDL().
GUITypes::real GL_GraphicsInterface::foreGround[MAX_WINDOWS][4] |
Referenced by constructor(), and processSpecialMenuItems().
aString GL_GraphicsInterface::foreGroundName[MAX_WINDOWS] |
Referenced by constructor(), getColour(), processSpecialMenuItems(), and setColour().
GUITypes::real GL_GraphicsInterface::fractionOfScreen[MAX_WINDOWS] |
Referenced by constructor(), display(), processSpecialMenuItems(), setFractionOfScreen(), and setGlobalBound().
GLfloat GL_GraphicsInterface::globalAmbient[MAX_WINDOWS][4] |
Referenced by constructor(), and lightsOn().
RealArray GL_GraphicsInterface::globalBound[MAX_WINDOWS] |
aString* GL_GraphicsInterface::graphicsFileMenuItems |
Referenced by constructor(), createWindow(), and ~GL_GraphicsInterface().
aString* GL_GraphicsInterface::graphicsHelpMenuItems |
Referenced by constructor(), createWindow(), and ~GL_GraphicsInterface().
DialogData GL_GraphicsInterface::hardCopyDialog[MAX_WINDOWS] |
Referenced by createWindow(), and hardcopyCommands().
aString GL_GraphicsInterface::hardCopyFile[MAX_WINDOWS] |
Referenced by constructor(), hardcopyCommands(), and setupHardCopy().
GraphicsParameters::HardCopyType GL_GraphicsInterface::hardCopyType[MAX_WINDOWS] |
Referenced by constructor(), hardCopy(), hardcopyCommands(), psToRaster(), saveRasterInAFile(), and setupHardCopy().
aString* GL_GraphicsInterface::helpMenuItems |
Referenced by constructor(), createWindow(), and ~GL_GraphicsInterface().
GUITypes::real GL_GraphicsInterface::homeViewParameters[MAX_WINDOWS][14] |
Referenced by constructor(), and processSpecialMenuItems().
int GL_GraphicsInterface::horizontalRasterResolution[MAX_WINDOWS] |
Referenced by constructor(), hardcopyCommands(), and setupHardCopy().
Index GL_GraphicsInterface::I4 |
Referenced by constructor(), and setRotationTransformation().
bool GL_GraphicsInterface::keepAspectRatio[MAX_WINDOWS] |
Referenced by constructor(), display(), getKeepAspectRatio(), plotAxes(), and setKeepAspectRatio().
int GL_GraphicsInterface::labelsPlotted[MAX_WINDOWS] |
Referenced by constructor(), eraseLabels(), and plotLabels().
|
protected |
Referenced by constructor(), getLastFixedDL(), and getLastUserLabelDL().
|
protected |
Referenced by constructor(), generateNewDisplayList(), getLastDL(), getLastRotableDL(), and getLastUserRotableDL().
GUITypes::real GL_GraphicsInterface::leftSide[MAX_WINDOWS] |
Referenced by constructor(), display(), getWindowShape(), init(), selectNew(), and setProjection().
int GL_GraphicsInterface::lighting[MAX_WINDOWS] |
Referenced by constructor(), display(), and processSpecialMenuItems().
int GL_GraphicsInterface::lightIsOn[MAX_WINDOWS][numberOfLights] |
Referenced by constructor(), lightsOff(), lightsOn(), and processSpecialMenuItems().
GUITypes::real GL_GraphicsInterface::lineWidthScaleFactor[MAX_WINDOWS] |
GUITypes::real GL_GraphicsInterface::magnificationFactor[MAX_WINDOWS] |
Referenced by changeView(), constructor(), display(), getView(), init(), interactiveAnswer(), plotAxes(), processSpecialMenuItems(), resetView(), selectNew(), setGlobalBound(), setProjection(), and setView().
GUITypes::real GL_GraphicsInterface::magnificationIncrement[MAX_WINDOWS] |
Referenced by constructor(), processSpecialMenuItems(), and resetView().
GLfloat GL_GraphicsInterface::materialAmbient[MAX_WINDOWS][4] |
Referenced by constructor(), and processSpecialMenuItems().
GLfloat GL_GraphicsInterface::materialDiffuse[MAX_WINDOWS][4] |
Referenced by constructor(), and processSpecialMenuItems().
GLfloat GL_GraphicsInterface::materialScaleFactor[MAX_WINDOWS] |
Referenced by constructor(), and processSpecialMenuItems().
GLfloat GL_GraphicsInterface::materialShininess[MAX_WINDOWS] |
Referenced by constructor(), processSpecialMenuItems(), and setColour().
GLfloat GL_GraphicsInterface::materialSpecular[MAX_WINDOWS][4] |
Referenced by constructor(), processSpecialMenuItems(), and setColour().
RealArray GL_GraphicsInterface::matrix[MAX_WINDOWS] |
Referenced by constructor(), and setRotationTransformation().
|
protected |
Referenced by constructor(), generateNewDisplayList(), and getMaxNOfDL().
aString* GL_GraphicsInterface::menuBarItems |
Referenced by constructor(), processSpecialMenuItems(), and ~GL_GraphicsInterface().
GLdouble GL_GraphicsInterface::modelMatrix[MAX_WINDOWS][16] |
Referenced by display(), normalizedToWorldCoordinates(), pickNew(), pickToWorldCoordinates(), and worldToNormalizedCoordinates().
GUITypes::real GL_GraphicsInterface::near[MAX_WINDOWS] |
Referenced by constructor(), init(), resetView(), selectNew(), and setProjection().
int GL_GraphicsInterface::numberOfClippingPlanes[MAX_WINDOWS] |
Referenced by constructor(), and processSpecialMenuItems().
PullDownMenu GL_GraphicsInterface::optionMenu[MAX_WINDOWS] |
GraphicsParameters::OutputFormat GL_GraphicsInterface::outputFormat[MAX_WINDOWS] |
Referenced by constructor(), hardcopyCommands(), renderPS(), saveRasterInAFile(), and setupHardCopy().
bool GL_GraphicsInterface::plotBackGroundGrid[MAX_WINDOWS] |
Referenced by constructor(), getPlotTheBackgroundGrid(), plotAxes(), and setPlotTheBackgroundGrid().
|
protected |
Referenced by constructor(), display(), erase(), generateNewDisplayList(), setInteractiveDL(), setLighting(), and setPlotDL().
bool GL_GraphicsInterface::plotTheAxes[MAX_WINDOWS] |
Referenced by constructor(), display(), getPlotTheAxes(), and setPlotTheAxes().
bool GL_GraphicsInterface::plotTheColourBar[MAX_WINDOWS] |
Referenced by constructor(), display(), getPlotTheColourBar(), and setPlotTheColourBar().
bool GL_GraphicsInterface::plotTheColouredSquares[MAX_WINDOWS] |
Referenced by constructor(), display(), getPlotTheColouredSquares(), and setPlotTheColouredSquares().
bool GL_GraphicsInterface::plotTheLabels[MAX_WINDOWS] |
Referenced by constructor(), display(), getPlotTheLabels(), and setPlotTheLabels().
bool GL_GraphicsInterface::plotTheRotationPoint[MAX_WINDOWS] |
Referenced by constructor(), display(), getPlotTheRotationPoint(), processSpecialMenuItems(), and setPlotTheRotationPoint().
GLfloat GL_GraphicsInterface::position[MAX_WINDOWS][numberOfLights][4] |
Referenced by constructor(), lightsOn(), and processSpecialMenuItems().
GLdouble GL_GraphicsInterface::projectionMatrix[MAX_WINDOWS][16] |
Referenced by display(), normalizedToWorldCoordinates(), pickNew(), pickToWorldCoordinates(), and worldToNormalizedCoordinates().
int GL_GraphicsInterface::rasterResolution[MAX_WINDOWS] |
Referenced by constructor(), hardcopyCommands(), and setupHardCopy().
GUITypes::real GL_GraphicsInterface::rightSide[MAX_WINDOWS] |
Referenced by constructor(), display(), getWindowShape(), init(), selectNew(), and setProjection().
GUITypes::real GL_GraphicsInterface::rotationCenter[MAX_WINDOWS][3] |
Referenced by constructor(), display(), PlotIt::drawAStreamLine(), getView(), plotAxes(), setRotationCenter(), and setView().
RealArray GL_GraphicsInterface::rotationMatrix[MAX_WINDOWS] |
bool GL_GraphicsInterface::saveTransformationInfo |
Referenced by constructor(), and display().
GUITypes::real GL_GraphicsInterface::shiftCorrection[MAX_WINDOWS][3] |
Referenced by constructor(), display(), getView(), resetView(), setRotationCenter(), and setView().
GLfloat GL_GraphicsInterface::specular[MAX_WINDOWS][numberOfLights][4] |
Referenced by constructor(), lightsOn(), and processSpecialMenuItems().
int GL_GraphicsInterface::textIsOn[maximumNumberOfTextStrings] |
Referenced by annotate().
GUITypes::real GL_GraphicsInterface::top[MAX_WINDOWS] |
Referenced by constructor(), display(), getWindowShape(), init(), selectNew(), and setProjection().
|
protected |
Referenced by constructor(), and getTopLabel1DL().
|
protected |
Referenced by constructor(), and getTopLabel2DL().
|
protected |
Referenced by constructor(), and getTopLabel3DL().
|
protected |
Referenced by constructor(), getFirstDL(), getFirstFixedDL(), and getTopLabelDL().
bool GL_GraphicsInterface::userDefinedRotationPoint[MAX_WINDOWS] |
Referenced by constructor(), display(), getView(), initView(), processSpecialMenuItems(), setRotationCenter(), and setView().
int GL_GraphicsInterface::userLabel[MAX_WINDOWS] |
Referenced by annotate(), constructor(), and erase().
ViewCharacteristics GL_GraphicsInterface::viewChar[MAX_WINDOWS] |
Referenced by constructor(), createWindow(), and processSpecialMenuItems().
bool GL_GraphicsInterface::viewHasChanged[MAX_WINDOWS] |
Referenced by changeView(), constructor(), and interactiveAnswer().
GLint GL_GraphicsInterface::viewPort[MAX_WINDOWS][4] |
Referenced by display(), init(), normalizedToWorldCoordinates(), pickNew(), pickToWorldCoordinates(), selectNew(), and worldToNormalizedCoordinates().
GUITypes::real GL_GraphicsInterface::windowScaleFactor[MAX_WINDOWS][3] |
Referenced by constructor(), display(), setGlobalBound(), and xLabel().
|
protected |
Referenced by constructor(), createWindow(), and readOvertureRC().
aString GL_GraphicsInterface::wTitle[MAX_WINDOWS] |
Referenced by createWindow(), and setCurrentWindow().
aString GL_GraphicsInterface::xAxisLabel[MAX_WINDOWS] |
Referenced by constructor(), getXAxisLabel(), plotAxes(), setAxesLabels(), and setXAxisLabel().
GUITypes::real GL_GraphicsInterface::xEyeCoordinate |
Referenced by constructor(), and display().
GUITypes::real GL_GraphicsInterface::xShift[MAX_WINDOWS] |
Referenced by changeView(), constructor(), display(), getView(), interactiveAnswer(), processSpecialMenuItems(), resetView(), and setView().
aString GL_GraphicsInterface::yAxisLabel[MAX_WINDOWS] |
Referenced by constructor(), getYAxisLabel(), plotAxes(), setAxesLabels(), and setYAxisLabel().
GUITypes::real GL_GraphicsInterface::yEyeCoordinate |
Referenced by constructor(), and display().
GUITypes::real GL_GraphicsInterface::yShift[MAX_WINDOWS] |
Referenced by changeView(), constructor(), display(), getView(), interactiveAnswer(), processSpecialMenuItems(), resetView(), and setView().
aString GL_GraphicsInterface::zAxisLabel[MAX_WINDOWS] |
Referenced by constructor(), getZAxisLabel(), plotAxes(), setAxesLabels(), and setZAxisLabel().
GUITypes::real GL_GraphicsInterface::zEyeCoordinate |
Referenced by constructor(), and display().
GUITypes::real GL_GraphicsInterface::zShift[MAX_WINDOWS] |
Referenced by changeView(), constructor(), display(), getView(), interactiveAnswer(), processSpecialMenuItems(), resetView(), and setView().