Overture
Version 25
|
#include "OvertureDefine.h"
#include "OvertureTypes.h"
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <unistd.h>
#include <GL/glu.h>
#include "aString.H"
#include "mogl.h"
#include "DialogData.h"
Typedefs | |
typedef float | real |
Functions | |
void | moglDisplay (int win) |
void | moglGetWindowSize (int &width, int &height, int win) |
void | moglOpenFileSB (char *pattern) |
void | moglCloseFileSB () |
void | moglCreateMessageDialog (aString msg, MessageTypeEnum type) |
void | moglBuildUserButtons (const aString buttonCommand[], const aString buttonLabel[], int win_number) |
void | moglBuildUserMenu (const aString menuName[], const aString menuTitle, int win_number) |
void | moglSetSensitive (int win_number, int trueOrFalse) |
void | moglSetButtonSensitive (int win_number, int btn, int trueOrFalse) |
void | moglBuildPopup (const aString menu[]) |
void | moglInit (int &argc, char *argv[], const aString &windowTitle, aString fileMenuItems[], aString helpMenuItems[], WindowProperties &wProp) |
int | moglGetAnswer (aString &answer, const aString prompt, PickInfo *pick_, int blocking) |
int | moglGetMenuItem (const aString menu[], aString &answer, const aString prompt, float *pickBox, int win_number) |
void | moglPostDisplay (int win) |
void | moglSetFunctions (GL_GraphicsInterface *giPointer, MOGL_DISPLAY_FUNCTION displayFunc, MOGL_RESIZE_FUNCTION resizeFunc) |
void | moglSetPrompt (const aString &prompt) |
void | moglAppendCommandHistory (const aString &item) |
void | moglSetViewFunction (MOGL_VIEW_FUNCTION viewFunction) |
int | makeGraphicsWindow (const aString &windowTitle, aString fileMenuItems[], aString helpMenuItems[], ClippingPlaneInfo &clippingPlaneInfo, ViewCharacteristics &viewChar, DialogData &hardCopyDialog, DialogData &movieDialog, PullDownMenu &optionMenu, WindowProperties &wProp, int directRendering) |
int | destroyGraphicsWindow (int win_number) |
int | moglMakeCurrent (int win) |
int | moglGetNWindows () |
int | moglGetCurrentWindow () |
int | moglSetTitle (int win_number, const aString &windowTitle) |
void | moglPollEvents () |
void | moglPrintRotPnt (float x, float y, float z, int win_number) |
void | moglPrintLineWidth (float lw, int win_number) |
void | moglPrintFractionOfScreen (float fraction, int win_number) |
bool | moglRotationKeysPressed (int win_number) |
void | graphics_setFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near, GLdouble far) |
void | graphics_setOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near, GLdouble far) |
void | graphics_setOrthoKeepAspectRatio (GLdouble aspectRatio, GLdouble magFactor, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near, GLdouble far) |
void | graphics_setPerspective (GLdouble fovy, GLdouble aspect, GLdouble near, GLdouble far) |
typedef float real |
int destroyGraphicsWindow | ( | int | win_number | ) |
void graphics_setFrustum | ( | GLdouble | left, |
GLdouble | right, | ||
GLdouble | bottom, | ||
GLdouble | top, | ||
GLdouble | near, | ||
GLdouble | far | ||
) |
void graphics_setOrtho | ( | GLdouble | left, |
GLdouble | right, | ||
GLdouble | bottom, | ||
GLdouble | top, | ||
GLdouble | near, | ||
GLdouble | far | ||
) |
void graphics_setOrthoKeepAspectRatio | ( | GLdouble | aspectRatio, |
GLdouble | magFactor, | ||
GLdouble | left, | ||
GLdouble | right, | ||
GLdouble | bottom, | ||
GLdouble | top, | ||
GLdouble | near, | ||
GLdouble | far | ||
) |
Referenced by GL_GraphicsInterface::init(), and GL_GraphicsInterface::setProjection().
void graphics_setPerspective | ( | GLdouble | fovy, |
GLdouble | aspect, | ||
GLdouble | near, | ||
GLdouble | far | ||
) |
int makeGraphicsWindow | ( | const aString & | windowTitle, |
aString | fileMenuItems[], | ||
aString | helpMenuItems[], | ||
ClippingPlaneInfo & | clippingPlaneInfo, | ||
ViewCharacteristics & | viewChar, | ||
DialogData & | hardCopyDialog, | ||
DialogData & | movieDialog, | ||
PullDownMenu & | optionMenu, | ||
WindowProperties & | wProp, | ||
int | directRendering | ||
) |
void moglAppendCommandHistory | ( | const aString & | item | ) |
Referenced by GL_GraphicsInterface::appendCommandHistory().
void moglBuildPopup | ( | const aString | menu[] | ) |
void moglCloseFileSB | ( | ) |
Referenced by GL_GraphicsInterface::inputFileName().
void moglCreateMessageDialog | ( | aString | msg, |
MessageTypeEnum | type | ||
) |
Referenced by GL_GraphicsInterface::createMessageDialog().
void moglDisplay | ( | int | win | ) |
Referenced by GL_GraphicsInterface::redraw().
Referenced by GL_GraphicsInterface::interactiveAnswer().
int moglGetCurrentWindow | ( | ) |
int moglGetMenuItem | ( | const aString | menu[], |
aString & | answer, | ||
const aString | prompt, | ||
float * | pickBox, | ||
int | win_number | ||
) |
int moglGetNWindows | ( | ) |
Referenced by GL_GraphicsInterface::createWindow(), GL_GraphicsInterface::interactiveAnswer(), GL_GraphicsInterface::openGUI(), GL_GraphicsInterface::plotAxes(), GL_GraphicsInterface::popGUI(), GL_GraphicsInterface::processSpecialMenuItems(), GL_GraphicsInterface::pushGUI(), and GL_GraphicsInterface::setCurrentWindow().
void moglGetWindowSize | ( | int & | width, |
int & | height, | ||
int | win | ||
) |
Referenced by GL_GraphicsInterface::hardCopy().
void moglInit | ( | int & | argc, |
char * | argv[], | ||
const aString & | windowTitle, | ||
aString | fileMenuItems[], | ||
aString | helpMenuItems[], | ||
WindowProperties & | wProp | ||
) |
Referenced by GL_GraphicsInterface::createWindow().
int moglMakeCurrent | ( | int | win | ) |
void moglOpenFileSB | ( | char * | pattern | ) |
Referenced by GL_GraphicsInterface::inputFileName().
void moglPollEvents | ( | ) |
Referenced by GL_GraphicsInterface::createWindow(), moglGetAnswer(), and GL_GraphicsInterface::pollEvents().
void moglPostDisplay | ( | int | win | ) |
void moglPrintFractionOfScreen | ( | float | fraction, |
int | win_number | ||
) |
void moglPrintLineWidth | ( | float | lw, |
int | win_number | ||
) |
void moglPrintRotPnt | ( | float | x, |
float | y, | ||
float | z, | ||
int | win_number | ||
) |
bool moglRotationKeysPressed | ( | int | win_number | ) |
Referenced by GL_GraphicsInterface::display().
void moglSetButtonSensitive | ( | int | win_number, |
int | btn, | ||
int | trueOrFalse | ||
) |
Referenced by GL_GraphicsInterface::setUserButtonSensitive().
void moglSetFunctions | ( | GL_GraphicsInterface * | giPointer, |
MOGL_DISPLAY_FUNCTION | displayFunc, | ||
MOGL_RESIZE_FUNCTION | resizeFunc | ||
) |
Referenced by GL_GraphicsInterface::createWindow().
void moglSetPrompt | ( | const aString & | prompt | ) |
Referenced by moglGetAnswer(), and GL_GraphicsInterface::outputString().
void moglSetSensitive | ( | int | win_number, |
int | trueOrFalse | ||
) |
int moglSetTitle | ( | int | win_number, |
const aString & | windowTitle | ||
) |
Referenced by GL_GraphicsInterface::setCurrentWindow().
void moglSetViewFunction | ( | MOGL_VIEW_FUNCTION | viewFunction | ) |
Referenced by GL_GraphicsInterface::createWindow().