Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

renderglobj.h File Reference

#include <fstream.h>
#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
#include <math.h>
#include <unistd.h>
#include <string>
#include <algorithm>
#include "triangle.h"
#include "vector.h"
#include "matrix.h"
#include "point3d.h"
#include <GL/glut.h>
#include <GL/gl.h>
#include <GL/glu.h>

Go to the source code of this file.

Compounds

class  Image
class  mslGLFace
class  mslGLMaterial
class  mslGLObject

Defines

#define BUFFER_SIZE   4096
#define FACE_SIZE   2048
#define CHUNK   2048
#define MAX_MTL_FILES   512
#define MAXNAME_LENGTH   50
#define MinX   -100.0
#define MinY   -100.0
#define MaxX   100.0
#define MaxY   100.0
#define MinZ   100.0
#define MaxZ   300.0
#define RESET_ID   200
#define RADIO_GROUP1   201
#define RECORD_PATH_ID   202
#define DISPLAY_PATH_ID   203
#define NEW_PATH_ID   204
#define VIEW_ORIENTATION_ID   205
#define BODY_SELECTION_ID   206
#define TEXTURE_ON_OFF_ID   207
#define SINGLE_MULTI_VIEW_ID   208
#define RELOAD_MODEL_ID   209
#define TRANSPARENCY_ADJUST_ID   210
#define BEGIN_FLIGHT_ID   211
#define PLANE_LAND_ID   212
#define MODEL_FLY_ID   213
#define CREATE_OBJECT_ID   214
#define DELETE_OBJECT_ID   215
#define CURRENT_OBJECT_ID   216
#define CREATE_OBJECT_OVER_ID   217
#define CREATE_POINT_ID   218
#define CREATE_POINT_OVER_ID   219
#define CURRENT_TEXTURE_ID   220
#define OBJECT_SELECTION_ID   221
#define PLAN_ID   222
#define ANIMATE_ID   223
#define SET_INITIAL_ID   224
#define SAVE_GEOMETRY_ID   225
#define SET_GOAL_ID   226
#define ANIMATE_PAUSE_ID   227
#define SAVE_CONFIG_ID   228
#define AUTOMATIC_PLAN_ID   229
#define LIGHT_COMPONENT_SELECTION_ID   230
#define LIGHT_MODE_SELECTION_ID   231
#define ANIMATION_RATE_ID   232
#define LOAD_CONFIG_ID   233
#define SINGLE_VIEW   300
#define MULTI_VIEW   301
#define OBSTACLE_MODE   302
#define ROBOT_MODE   303
#define Z_MOVE_MODE   304
#define SCALE_MOVE_MODE   305
#define ORI_MOVE_MODE   306
#define SELECT_BOUNDINGBOX_ID   307
#define SHOW_BOUNDINGBOX_ID   308
#define HIDE_BOUNDINGBOX_ID   309
#define SUN_LIGHT_MODE   310
#define EYE_LIGHT_MODE   311
#define UPPER(_str)    transform(_str.begin(), _str.end(), _str.begin(), toupper)
#define SAME(_a, _b)    (UPPER(string(_a)) == UPPER(string(_b)))

Functions

void rotate_x_MSLMatrix (double sita, MSLMatrix& m)
void rotate_y_MSLMatrix (double sita, MSLMatrix& m)
void rotate_z_MSLMatrix (double sita, MSLMatrix& m)
int strcasecmp __P ((__const char *__s1, __const char *__s2))


Define Documentation

#define ANIMATE_ID   223
 

#define ANIMATE_PAUSE_ID   227
 

#define ANIMATION_RATE_ID   232
 

#define AUTOMATIC_PLAN_ID   229
 

#define BEGIN_FLIGHT_ID   211
 

#define BODY_SELECTION_ID   206
 

#define BUFFER_SIZE   4096
 

#define CHUNK   2048
 

#define CREATE_OBJECT_ID   214
 

#define CREATE_OBJECT_OVER_ID   217
 

#define CREATE_POINT_ID   218
 

#define CREATE_POINT_OVER_ID   219
 

#define CURRENT_OBJECT_ID   216
 

#define CURRENT_TEXTURE_ID   220
 

#define DELETE_OBJECT_ID   215
 

#define DISPLAY_PATH_ID   203
 

#define EYE_LIGHT_MODE   311
 

#define FACE_SIZE   2048
 

#define HIDE_BOUNDINGBOX_ID   309
 

#define LIGHT_COMPONENT_SELECTION_ID   230
 

#define LIGHT_MODE_SELECTION_ID   231
 

#define LOAD_CONFIG_ID   233
 

#define MAXNAME_LENGTH   50
 

#define MAX_MTL_FILES   512
 

#define MODEL_FLY_ID   213
 

#define MULTI_VIEW   301
 

#define MaxX   100.0
 

#define MaxY   100.0
 

#define MaxZ   300.0
 

#define MinX   -100.0
 

#define MinY   -100.0
 

#define MinZ   100.0
 

#define NEW_PATH_ID   204
 

#define OBJECT_SELECTION_ID   221
 

#define OBSTACLE_MODE   302
 

#define ORI_MOVE_MODE   306
 

#define PLANE_LAND_ID   212
 

#define PLAN_ID   222
 

#define RADIO_GROUP1   201
 

#define RECORD_PATH_ID   202
 

#define RELOAD_MODEL_ID   209
 

#define RESET_ID   200
 

#define ROBOT_MODE   303
 

#define SAME( _a, _b )   (UPPER(string(_a)) == UPPER(string(_b)))
 

#define SAVE_CONFIG_ID   228
 

#define SAVE_GEOMETRY_ID   225
 

#define SCALE_MOVE_MODE   305
 

#define SELECT_BOUNDINGBOX_ID   307
 

#define SET_GOAL_ID   226
 

#define SET_INITIAL_ID   224
 

#define SHOW_BOUNDINGBOX_ID   308
 

#define SINGLE_MULTI_VIEW_ID   208
 

#define SINGLE_VIEW   300
 

#define SUN_LIGHT_MODE   310
 

#define TEXTURE_ON_OFF_ID   207
 

#define TRANSPARENCY_ADJUST_ID   210
 

#define UPPER( _str )   transform(_str.begin(), _str.end(), _str.begin(), toupper)
 

#define VIEW_ORIENTATION_ID   205
 

#define Z_MOVE_MODE   304
 


Function Documentation

int strcasecmp __P ( (__const char *__s1,__const char *__s2) )
 

void rotate_x_MSLMatrix ( double sita,
MSLMatrix & m )
 

void rotate_y_MSLMatrix ( double sita,
MSLMatrix & m )
 

void rotate_z_MSLMatrix ( double sita,
MSLMatrix & m )
 

Motion Strategy Library


Web page maintained by Steve LaValle
Partial support provided by NSF CAREER Award IRI-970228 (LaValle), Honda Research, and Iowa State University.
Contributors: Anna Atramentov, Peng Cheng, James Kuffner, Steve LaValle, and Libo Yang.