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

renderglobj.h File Reference

#include <cstdio>
#include <ctype.h>
#include <cstdlib>
#include <math.h>
#include <string>
#include <algorithm>
#include <unistd.h>
#include "triangle.h"
#include "vector.h"
#include "matrix.h"
#include "point3d.h"
#include "util.h"
#include "../../configs/configGL.h"

Go to the source code of this file.

Compounds

class  Image
 Used for texture mapping as part of RenderGL. More...

class  mslGLFace
 An internal class, used only for RenderGL. More...

class  mslGLMaterial
 An internal class, used only for RenderGL. More...

class  mslGLObject
 An internal class, used only for RenderGL. More...


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 SAME(_a, _b)   !cmp_nocase(_a, _b)

Typedefs

typedef double x

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)
MSLVector point_x_rotation (const double &sita, const MSLVector &p1)
MSLVector point_y_rotation (const double &sita, const MSLVector &p1)
MSLVector point_z_rotation (const double &sita, const MSLVector &p1)
void crossproduct (const MSLVector &v1, const MSLVector &v2, MSLVector &v)
void normalMSLVector (const MSLVector &v1, const MSLVector &v2, MSLVector &v)
MSLVector irpy (const MSLMatrix &R)
MSLMatrix rpy (const MSLVector &v)
MSLVector free_rotate (const MSLVector &axis, const MSLVector &v, double sita)
MSLMatrix free_rotate (const MSLVector &axis, const MSLMatrix &m, double sita)
string UPPER (string _str)
int cmp_nocase (const string &a, const string &b)
mslGLNormal NormalCompute (const mslGLVertex &v1, const mslGLVertex &v2, const mslGLVertex &v3)

Variables

double y
double z
 mslGLVertex
 mslGLNormal
 mslGLTexCoord


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 MAX_MTL_FILES   512
 

#define MAXNAME_LENGTH   50
 

#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 MODEL_FLY_ID   213
 

#define MULTI_VIEW   301
 

#define NEW_PATH_ID   204
 

#define OBJECT_SELECTION_ID   221
 

#define OBSTACLE_MODE   302
 

#define ORI_MOVE_MODE   306
 

#define PLAN_ID   222
 

#define PLANE_LAND_ID   212
 

#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       !cmp_nocase(_a, _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 VIEW_ORIENTATION_ID   205
 

#define Z_MOVE_MODE   304
 


Typedef Documentation

typedef struct double x
 


Function Documentation

int cmp_nocase const string &    a,
const string &    b
 

void crossproduct const MSLVector   v1,
const MSLVector   v2,
MSLVector   v
 

MSLMatrix free_rotate const MSLVector   axis,
const MSLMatrix   m,
double    sita
 

MSLVector free_rotate const MSLVector   axis,
const MSLVector   v,
double    sita
 

MSLVector irpy const MSLMatrix   R
 

mslGLNormal NormalCompute const mslGLVertex   v1,
const mslGLVertex   v2,
const mslGLVertex   v3
 

void normalMSLVector const MSLVector   v1,
const MSLVector   v2,
MSLVector   v
 

MSLVector point_x_rotation const double &    sita,
const MSLVector   p1
 

MSLVector point_y_rotation const double &    sita,
const MSLVector   p1
 

MSLVector point_z_rotation const double &    sita,
const MSLVector   p1
 

void rotate_x_MSLMatrix double    sita,
MSLMatrix   m
 

void rotate_y_MSLMatrix double    sita,
MSLMatrix   m
 

void rotate_z_MSLMatrix double    sita,
MSLMatrix   m
 

MSLMatrix rpy const MSLVector   v
 

string UPPER string    _str
 


Variable Documentation

mslGLNormal
 

mslGLTexCoord
 

mslGLVertex
 

double y
 

double z
 

Motion Strategy Library


Web page maintained by Steve LaValle