Overture  Version 25
Typedefs | Functions
moglNull.C File Reference
#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"
Include dependency graph for moglNull.C:

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 Documentation

typedef float real

Function Documentation

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 
)
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)
void moglBuildPopup ( const aString  menu[])
void moglBuildUserButtons ( const aString  buttonCommand[],
const aString  buttonLabel[],
int  win_number 
)
void moglBuildUserMenu ( const aString  menuName[],
const aString  menuTitle,
int  win_number 
)
void moglCloseFileSB ( )
void moglCreateMessageDialog ( aString  msg,
MessageTypeEnum  type 
)
void moglDisplay ( int  win)
int moglGetAnswer ( aString answer,
const aString  prompt,
PickInfo pick_,
int  blocking 
)
int moglGetCurrentWindow ( )
int moglGetMenuItem ( const aString  menu[],
aString answer,
const aString  prompt,
float *  pickBox,
int  win_number 
)
int moglGetNWindows ( )
void moglGetWindowSize ( int &  width,
int &  height,
int  win 
)
void moglInit ( int &  argc,
char *  argv[],
const aString windowTitle,
aString  fileMenuItems[],
aString  helpMenuItems[],
WindowProperties wProp 
)
int moglMakeCurrent ( int  win)
void moglOpenFileSB ( char *  pattern)
void moglPollEvents ( )
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)
void moglSetButtonSensitive ( int  win_number,
int  btn,
int  trueOrFalse 
)
void moglSetFunctions ( GL_GraphicsInterface giPointer,
MOGL_DISPLAY_FUNCTION  displayFunc,
MOGL_RESIZE_FUNCTION  resizeFunc 
)
void moglSetPrompt ( const aString prompt)
void moglSetSensitive ( int  win_number,
int  trueOrFalse 
)
int moglSetTitle ( int  win_number,
const aString windowTitle 
)
void moglSetViewFunction ( MOGL_VIEW_FUNCTION  viewFunction)