Classes | |
class | bitmap_window_t |
Used for displaying images alongside playback data. More... | |
struct | color_node_t |
Represents a single color. More... | |
class | chart_color_t |
Used for predefined sets of colors. More... | |
class | component_interface_t |
Interface many of the drawing classes. More... | |
class | control_panel_window_t |
Used for displaying statistics about the bots state. More... | |
class | draw_blocked_lanes_t |
Used for displaying blocked lanes in front of the bot. More... | |
class | draw_camera_splines_t |
Draw class for free mode scripted camera splines. More... | |
class | draw_cbln_dtm_t |
Draw cbln dtm data. More... | |
class | draw_cbln_wp_t |
Draw cbln waypoint data. More... | |
struct | grid_square_t |
Grid square element containing position and color. More... | |
class | draw_grid_tile_t |
Used to draw grid tile data. More... | |
class | draw_iteris_t |
Draw Iteris points. More... | |
class | draw_iteris_gp_t |
Draw Iteris global points. More... | |
class | monovision_visualization_t |
class | laser_visualization_t |
class | draw_ldtm_t |
class | draw_map_t |
class | draw_mesh_cell_t |
class | draw_obstacle_points_t |
class | draw_obstacles_t |
class | draw_path_exploration_t |
class | draw_path_wp_t |
class | draw_radar_gp_t |
class | draw_rndf_t |
class | draw_rndf_file_t |
class | draw_rndf_lane_t |
struct | trace_pos_t |
class | robot_trace_t |
class | draw_robot_t |
class | draw_scan_gp_t |
class | draw_scan_lane_gp_t |
class | draw_static_las_t |
class | draw_static_scangp_t |
class | draw_static_triangles_t |
class | draw_survey_gp_t |
class | draw_triangles_t |
class | draw_vpath_t |
class | drawing_t |
class | glut_interface_t |
class | graphic_interface_t |
class | laser_data_t |
struct | scripted_camera_data_t |
Holds scripted camera data specifying how the camera should be oriented. More... | |
class | scripted_camera_t |
class | simulation_draw_t |
class | simview_t |
class | vrj_interface_t |
class | vrj_drawing_interface_t |
Enumerations | |
enum | interface_keys { CBCK_LEFT_ARROW, CBCK_FORWARD_ARROW, CBCK_RIGHT_ARROW, CBCK_BACKWARD_ARROW, CBCK_SPACE_BAR, CBCK_PAGE_UP, CBCK_PAGE_DOWN, CBCK_F1, CBCK_F2, CBCK_F3, CBCK_F4, CBCK_F5, CBCK_ALT, CBCK_SHIFT, CBCK_CTRL, CBCK_MAX_CONTROL_KEY, CBMK_LEFT_BUTTON, CBMK_RIGHT_BUTTON, CBMK_BUTTON_PRESS, CBMK_BUTTON_RELEASE } |
enum | camera_style_t { CAMERA_AT_ORIGIN, CAMERA_IN_CAR, CAMERA_WITH_CAR, CAMERA_FOCUS_CAR } |
Functions | |
void | draw_axes (double length) |
Draw coordinate axes at current location. | |
void | color_contour (double value, double max_value, double &r, double &g, double &b) |
Draw color contour based on current value and max value. | |
void | color_contour (double value, double max_value, unsigned char &r, unsigned char &g, unsigned char &b) |
Draw color contour based on current value and max value. | |
void | color_gradient (double value, double max_value, double &r, double &g, double &b) |
Draw color gradient based on current value and max value. | |
void | color_gradient (double value, double max_value, unsigned char &r, unsigned char &g, unsigned char &b) |
Draw color gradient based on current value and max value. | |
void | color_gradient (double value, double max_value, unsigned short &r, unsigned short &g, unsigned short &b) |
Draw color gradient based on current value and max value. | |
void | color_gradient (double value, double interval, double ref_r, unsigned short &r, unsigned short &g, unsigned short &b) |
Draw color gradient based on current value and max value. | |
void | split_filename (const char *filename, char *dirname, unsigned dirsize, char *filepart, unsigned fpartsize) |
Split a filename. Roughly equivalent to basename and dirname. | |
bool | loadMilkshapeModelData (Model *pModel, const char *filename) |
Handle loading of milkshape model data by providing the filename to the model. | |
void | load_ppm_p6 (char *fname, unsigned int *w, unsigned int *h, unsigned char **data, int mallocflag) |
Loads a PPM image (P6 format). | |
void | load_ppm_p3 (char *fname, unsigned int *w, unsigned int *h, unsigned char **data, int mallocflag) |
Loads a PPM image (P3 format). | |
bool | read_ppm_texture (const char *fname, unsigned char *&image_data_, unsigned &width_, unsigned &height_) |
Loads a PPM image (P3 or P6 format). | |
GLuint | setup_ppm_texture (const unsigned char *image_data_, unsigned width_, unsigned height_) |
Bind PPM image to a texture. | |
GLuint | setup_ppm_texture (const char *fname) |
void | Normal_Plane (float v[3], float x[3], float y[3], float z[3]) |
Calculate the unit normal to a plane. | |
void | Render_Polygon (float v[4][3], float color[3], int texon, char *ppmname) |
Render a polygon or a plane. | |
void | Render_Quadric (int type, float radius, float outerradius, float length, chart_color_t color, int texon, char *ppmname) |
Render a Quadric (Sphere, Cylinder, Disk, Circle). | |
void | draw_cylinder (double radius, double height) |
Draw a cylinder. | |
void | draw_sphere (double radius) |
Draw a sphere. | |
void | Render_box (float dimensions[3], float color[3], int texon, char *ppmname) |
Render a Three Dimensional Box. | |
void | Render_Ground (float size, float color[3], int texon, char *ppmname) |
Render the ground. | |
void | Render_Sky (float size, float color[3], int texon, char *ppmname) |
Render the sky. | |
void | get_rotation_matrix (double rot[16], double heading, double pitch, double roll) |
Get a rotation matrix given heading, pitch, and roll. | |
void | output_text (int posx, int posy, int posz, char const *str) |
Output text string using glRasterPos3i. | |
void | output_text (int posx, int posy, char const *str) |
Output text string using glRasterPos2i. | |
void | output_text (double posx, double posy, double posz, char const *str) |
Output text string using glRasterPos3f. | |
void | output_string_number (int posx, int posy, std::string num) |
Output string containing numbers using glRasterPos2i. | |
void | output_string_number (double posx, double posy, double posz, std::string num) |
Output string containing numbers using glRasterPos3i. | |
void | output_int_number (int posx, int posy, int posz, int num) |
Output int number using glRasterPos3i. | |
void | output_float_number (int posx, int posy, double num) |
Output floating number using glRasterPos2i. | |
void | output_float_number (double posx, double posy, double posz, double num) |
Output floating number using glRasterPos3i. | |
void | output_int_number (double posx, double posy, double posz, int num) |
Output integer number using glRasterPos3f. | |
void | draw_cube (double dimensions[3]) |
Draw filled cube specified by dimensions. | |
void | draw_square (double x, double y, double square_length) |
Draw 2D square in x-z plane. | |
void | draw_line (double x1, double y1, double z1, double x2, double y2, double z2) |
Draw line from one point to another in 3D space. | |
void | draw_rectangle (double x1, double y1, double x2, double y2, double height, cajun::chart_color_t color) |
Draw a colored rectangle of the specified height. | |
void | draw_filled_rectangle (double x1, double y1, double x2, double y2, double height, cajun::chart_color_t color) |
Draw a filled in colored rectangle of the specified height. | |
void | draw_circle (double x, double y, double height, double radius, chart_color_t color) |
Draw a cicle. | |
void | draw_leg (float a1, float b1, float a2, float b2, float w) |
Describe me. | |
void | draw_flag (double x, double y, double bot_z) |
Draw a flag in front of the bot. | |
bool | IsGLExtensionSupported (const char *szTargetExtension) |
Test if the specified OpenGL extension is supported by the graphics card. | |
void | calculate_normal (tri_ver_t &tri_ver_, float &x_, float &y_, float &z_) |
Calculate the normal to a triangle vertex. | |
Variables | |
char const * | progname |
Program name. |
void cajun::calculate_normal | ( | tri_ver_t & | tri_ver_, | |
float & | x_, | |||
float & | y_, | |||
float & | z_ | |||
) |
Calculate the normal to a triangle vertex.
tri_ver_ | The triangle to calculate the normal for. | |
x_ | X component of the normal. | |
y_ | Y component of the normal. | |
z_ | Z component of the normal. |
Referenced by cajun::draw_triangles_t::display(), and cajun::draw_static_triangles_t::load_triangles().
void cajun::color_contour | ( | double | value, | |
double | max_value, | |||
unsigned char & | r, | |||
unsigned char & | g, | |||
unsigned char & | b | |||
) |
Draw color contour based on current value and max value.
value | Current value. | |
max_value | Max value to cycle through colors. | |
r | Set to red component value. | |
g | Set to green component value. | |
b | Set to blue component value. |
References NUM_COLORS.
void cajun::color_contour | ( | double | value, | |
double | max_value, | |||
double & | r, | |||
double & | g, | |||
double & | b | |||
) |
Draw color contour based on current value and max value.
value | Current value. | |
max_value | Max value to cycle through colors. | |
r | Set to red component value. | |
g | Set to green component value. | |
b | Set to blue component value. |
References NUM_COLORS.
Referenced by cajun::draw_grid_tile_t::draw_tile(), cajun::draw_vpath_t::draw_vpath_segment(), and cajun::draw_scan_gp_t::intra_update_data().
void cajun::color_gradient | ( | double | value, | |
double | interval, | |||
double | ref_r, | |||
unsigned short & | r, | |||
unsigned short & | g, | |||
unsigned short & | b | |||
) |
Draw color gradient based on current value and max value.
Color coding in a cyclic form, switching between 100->010->001. Each of the transformation interval is provided as argument, (interval), similar starting point for red (100) is ref_r
value | Current value. | |
interval | Transformation interval. | |
ref_r | Red reference value. | |
r | Set to red component value. | |
g | Set to green component value. | |
b | Set to blue component value. |
void cajun::color_gradient | ( | double | value, | |
double | max_value, | |||
unsigned short & | r, | |||
unsigned short & | g, | |||
unsigned short & | b | |||
) |
Draw color gradient based on current value and max value.
value | Current value. | |
max_value | Max value allowed. | |
r | Set to red component value. | |
g | Set to green component value. | |
b | Set to blue component value. |
void cajun::color_gradient | ( | double | value, | |
double | max_value, | |||
unsigned char & | r, | |||
unsigned char & | g, | |||
unsigned char & | b | |||
) |
Draw color gradient based on current value and max value.
value | Current value. | |
max_value | Max value allowed. | |
r | Set to red component value. | |
g | Set to green component value. | |
b | Set to blue component value. |
void cajun::color_gradient | ( | double | value, | |
double | max_value, | |||
double & | r, | |||
double & | g, | |||
double & | b | |||
) |
Draw color gradient based on current value and max value.
value | Current value. | |
max_value | Max value allowed. | |
r | Set to red component value. | |
g | Set to green component value. | |
b | Set to blue component value. |
Referenced by cajun::draw_cbln_dtm_t::display(), cajun::draw_static_las_t::draw_static_las_t(), cajun::draw_static_scangp_t::draw_static_scangp_t(), cajun::draw_grid_tile_t::draw_tile(), cajun::draw_vpath_t::draw_vpath_segment(), and cajun::draw_static_triangles_t::load_vertices().
void cajun::draw_axes | ( | double | length | ) |
Draw coordinate axes at current location.
Axes will be red-x, green-y, blue-z.
length | Length to draw axes lines. |
Referenced by cajun::simulation_draw_t::draw().
void cajun::draw_circle | ( | double | x, | |
double | y, | |||
double | height, | |||
double | radius, | |||
chart_color_t | color | |||
) |
Draw a cicle.
x | X location. | |
y | Z location. | |
height | Y location. | |
radius | Radius of circle. | |
color | Color of circle. |
References Render_Quadric().
Referenced by cajun::draw_rndf_t::draw_yield_sign(), cajun::draw_rndf_t::dump_lane(), and cajun::draw_rndf_t::dump_waypoint().
void cajun::draw_cube | ( | double | dimensions[3] | ) |
Draw filled cube specified by dimensions.
dimensions | Array specifying dimensions of cube. Will be drawn as if current position is in center. |
Referenced by cajun::draw_robot_t::display(), cajun::draw_obstacles_t::display(), and cajun::draw_mesh_cell_t::display().
void cajun::draw_cylinder | ( | double | radius, | |
double | height | |||
) |
Draw a cylinder.
radius | Radius of cylinder. | |
height | Height of cylinder. |
Referenced by cajun::draw_obstacles_t::display().
void cajun::draw_filled_rectangle | ( | double | x1, | |
double | y1, | |||
double | x2, | |||
double | y2, | |||
double | height, | |||
cajun::chart_color_t | color | |||
) |
Draw a filled in colored rectangle of the specified height.
x1 | X start location. | |
y1 | Z start location. | |
x2 | X end location. | |
y2 | Z end locaction | |
height | Height of rectangle (y height). | |
color | Color of the rectangle. |
References cajun::chart_color_t::select().
Referenced by cajun::draw_rndf_t::dump_lane().
void cajun::draw_flag | ( | double | x, | |
double | y, | |||
double | bot_z | |||
) |
Draw a flag in front of the bot.
x | X location. | |
y | Z location. | |
bot_z | Bot height (y location). |
Referenced by cajun::draw_cbln_wp_t::display().
void cajun::draw_leg | ( | float | a1, | |
float | b1, | |||
float | a2, | |||
float | b2, | |||
float | w | |||
) |
Describe me.
a1 | Describe me. | |
b1 | Describe me. | |
a2 | Describe me. | |
b2 | Describe me. | |
w | Describe me. |
Referenced by cajun::draw_rndf_t::dump_lane().
void cajun::draw_line | ( | double | x1, | |
double | y1, | |||
double | z1, | |||
double | x2, | |||
double | y2, | |||
double | z2 | |||
) |
Draw line from one point to another in 3D space.
x1 | Starting x position. | |
y1 | Starting y position. | |
z1 | Starting z position. | |
x2 | Ending x position. | |
y2 | Ending y position. | |
z2 | Ending z position. |
Referenced by cajun::draw_rndf_file_t::display(), cajun::draw_path_wp_t::display(), cajun::draw_path_exploration_t::display(), cajun::draw_rndf_lane_t::display_lb(), and cajun::draw_ldtm_t::draw_dtm_grid().
void cajun::draw_rectangle | ( | double | x1, | |
double | y1, | |||
double | x2, | |||
double | y2, | |||
double | height, | |||
cajun::chart_color_t | color | |||
) |
Draw a colored rectangle of the specified height.
x1 | X start location. | |
y1 | Z start location. | |
x2 | X end location. | |
y2 | Z end locaction | |
height | Height of rectangle (y height). | |
color | Color of the rectangle. |
References cajun::chart_color_t::select().
Referenced by cajun::draw_ldtm_t::draw_dtm_grid().
void cajun::draw_sphere | ( | double | radius | ) |
Draw a sphere.
radius | Radius of sphere. |
Referenced by cajun::draw_obstacles_t::display().
void cajun::draw_square | ( | double | x, | |
double | y, | |||
double | square_length | |||
) |
Draw 2D square in x-z plane.
x | X position to draw from. | |
y | Z position to draw from. | |
square_length | Dimension of a side length of the square. |
Referenced by cajun::draw_rndf_file_t::display(), cajun::draw_path_wp_t::display(), cajun::draw_cbln_wp_t::display(), cajun::draw_cbln_dtm_t::display(), cajun::draw_rndf_lane_t::display_lb(), cajun::draw_grid_tile_t::draw_by_square(), cajun::draw_grid_tile_t::draw_path(), and cajun::draw_vpath_t::draw_vpath_segment().
void cajun::get_rotation_matrix | ( | double | rot[16], | |
double | heading, | |||
double | pitch, | |||
double | roll | |||
) |
Get a rotation matrix given heading, pitch, and roll.
rot | The rotation matrix that will be set. | |
heading | Heading of the vehicle in radians. | |
pitch | Pitch of the vehicle in radians. | |
roll | Roll of the vehicle in radians. |
Referenced by cajun::draw_obstacles_t::display(), and cajun::draw_robot_t::get_robot_orientation_matrix().
bool cajun::IsGLExtensionSupported | ( | const char * | szTargetExtension | ) |
Test if the specified OpenGL extension is supported by the graphics card.
szTargetExtension | The extension name. |
Referenced by cajun::draw_survey_gp_t::init_data(), cajun::draw_static_triangles_t::init_data(), and cajun::draw_scan_gp_t::init_data().
void cajun::load_ppm_p3 | ( | char * | fname, | |
unsigned int * | w, | |||
unsigned int * | h, | |||
unsigned char ** | data, | |||
int | mallocflag | |||
) |
Loads a PPM image (P3 format).
fname | The filename to the image. | |
w | The width of the loaded image. | |
h | The height of the loaded image. | |
data | The loaded data from the PPM image. | |
mallocflag | Flag if the data needs to be allocated. |
References progname.
Referenced by read_ppm_texture().
void cajun::load_ppm_p6 | ( | char * | fname, | |
unsigned int * | w, | |||
unsigned int * | h, | |||
unsigned char ** | data, | |||
int | mallocflag | |||
) |
Loads a PPM image (P6 format).
fname | The filename to the image. | |
w | The width of the loaded image. | |
h | The height of the loaded image. | |
data | The loaded data from the PPM image. | |
mallocflag | Flag if the data needs to be allocated. |
References progname.
Referenced by read_ppm_texture(), Render_box(), Render_Ground(), Render_Polygon(), Render_Quadric(), and Render_Sky().
bool cajun::loadMilkshapeModelData | ( | Model * | pModel, | |
const char * | filename | |||
) |
Handle loading of milkshape model data by providing the filename to the model.
pModel | The model data which was loaded from the filename, if successful. | |
filename | The filename containing the model data. |
Manipulate directory, because the file to LoadPPM
References Model::loadModelData(), and split_filename().
Referenced by cajun::draw_obstacles_t::draw_obstacles_t(), cajun::draw_robot_t::draw_robot_t(), and cajun::simulation_draw_t::load_terrain_textures().
void cajun::Normal_Plane | ( | float | v[3], | |
float | x[3], | |||
float | y[3], | |||
float | z[3] | |||
) |
Calculate the unit normal to a plane.
v | Resulting unit normal to the specified plane. | |
x | A point making up the plane. | |
y | A point making up the plane. | |
z | A point making up the plane. |
Referenced by Render_Polygon().
void cajun::output_float_number | ( | double | posx, | |
double | posy, | |||
double | posz, | |||
double | num | |||
) |
Output floating number using glRasterPos3i.
posx | Float x position of text. | |
posy | Float y position of text. | |
posz | Float z position of text. | |
num | Number to output to screen. |
void cajun::output_float_number | ( | int | posx, | |
int | posy, | |||
double | num | |||
) |
Output floating number using glRasterPos2i.
posx | Integer x position of text. | |
posy | Integer y position of text. | |
num | Number to output to screen. |
Referenced by cajun::draw_obstacles_t::display().
void cajun::output_int_number | ( | double | posx, | |
double | posy, | |||
double | posz, | |||
int | num | |||
) |
Output integer number using glRasterPos3f.
posx | Float x position of text. | |
posy | Float y position of text. | |
posz | Float z position of text. | |
num | Number to output to screen. |
void cajun::output_int_number | ( | int | posx, | |
int | posy, | |||
int | posz, | |||
int | num | |||
) |
Output int number using glRasterPos3i.
posx | Integer x position of text. | |
posy | Integer y position of text. | |
posz | Integer z position of text. | |
num | Number to output to screen. |
Referenced by cajun::draw_path_wp_t::display(), cajun::draw_obstacles_t::display(), cajun::draw_obstacle_points_t::display(), cajun::draw_cbln_wp_t::display(), cajun::draw_vpath_t::draw_vpath_segment(), and cajun::draw_rndf_t::dump_waypoint().
void cajun::output_string_number | ( | double | posx, | |
double | posy, | |||
double | posz, | |||
std::string | num | |||
) |
Output string containing numbers using glRasterPos3i.
posx | Float x position of text. | |
posy | Float y position of text. | |
posz | Float z position of text. | |
num | String containing number to output to screen. |
void cajun::output_string_number | ( | int | posx, | |
int | posy, | |||
std::string | num | |||
) |
Output string containing numbers using glRasterPos2i.
posx | Integer x position of text. | |
posy | Integer y position of text. | |
num | String containing number to output to screen. |
Referenced by cajun::draw_rndf_t::dump_lane(), cajun::draw_rndf_t::dump_perimeter(), and cajun::draw_rndf_t::dump_spot().
void cajun::output_text | ( | double | posx, | |
double | posy, | |||
double | posz, | |||
char const * | str | |||
) |
Output text string using glRasterPos3f.
posx | Float x position of text. | |
posy | Float y position of text. | |
posz | Float z position of text. | |
str | String to output to screen. |
void cajun::output_text | ( | int | posx, | |
int | posy, | |||
char const * | str | |||
) |
Output text string using glRasterPos2i.
posx | Integer x position of text. | |
posy | Integer y position of text. | |
str | String to output to screen. |
void cajun::output_text | ( | int | posx, | |
int | posy, | |||
int | posz, | |||
char const * | str | |||
) |
Output text string using glRasterPos3i.
posx | Integer x position of text. | |
posy | Integer y position of text. | |
posz | Integer z position of text. | |
str | String to output to screen. |
bool cajun::read_ppm_texture | ( | const char * | fname, | |
unsigned char *& | image_data_, | |||
unsigned & | width_, | |||
unsigned & | height_ | |||
) |
Loads a PPM image (P3 or P6 format).
fname | The filename to the image. | |
image_data_ | The loaded data from the PPM image. | |
width_ | The width of the loaded image. | |
height_ | The height of the loaded image. |
References load_ppm_p3(), load_ppm_p6(), and progname.
Referenced by cajun::draw_rndf_t::draw_rndf_t().
void cajun::Render_box | ( | float | dimensions[3], | |
float | color[3], | |||
int | texon, | |||
char * | ppmname | |||
) |
Render a Three Dimensional Box.
dimensions | Dimensions of the box. | |
color | Color of the box. | |
texon | 1 for texture enabled, 0 fro texture disabled. | |
ppmname | The ppm filename that stores the image. |
References load_ppm_p6().
void cajun::Render_Ground | ( | float | size, | |
float | color[3], | |||
int | texon, | |||
char * | ppmname | |||
) |
Render the ground.
size | Size of the ground. | |
color | Color of the ground. | |
texon | 1 for texture enabled, 0 fro texture disabled. | |
ppmname | The ppm filename that stores the image. |
References load_ppm_p6().
void cajun::Render_Polygon | ( | float | v[4][3], | |
float | color[3], | |||
int | texon, | |||
char * | ppmname | |||
) |
Render a polygon or a plane.
v | ||
color | ||
texon | 1 for texture enabled, 0 fro texture disabled. | |
ppmname | The ppm filename that stores the image. |
References load_ppm_p6(), and Normal_Plane().
void cajun::Render_Quadric | ( | int | type, | |
float | radius, | |||
float | outerradius, | |||
float | length, | |||
chart_color_t | color, | |||
int | texon, | |||
char * | ppmname | |||
) |
Render a Quadric (Sphere, Cylinder, Disk, Circle).
Type 1: outerradius and length can be any values. Type 2: radius --> baseradius outerradius --> topradius Type 3: radius --> inner radius length can be any value Type 3: radius <= outerradius for Circle radius =0
type | 1 -> sphere. 2 -> cylinder. 3 -> disk. | |
radius | See detail description. | |
outerradius | See detail description. | |
length | See detail description. | |
color | Color to draw. | |
texon | 1 for texture enabled, 0 fro texture disabled. | |
ppmname | The ppm filename that stores the image. |
References cajun::chart_color_t::blue(), cajun::chart_color_t::green(), load_ppm_p6(), and cajun::chart_color_t::red().
Referenced by draw_circle().
void cajun::Render_Sky | ( | float | size, | |
float | color[3], | |||
int | texon, | |||
char * | ppmname | |||
) |
Render the sky.
size | Size of the sky. | |
color | Color of the sky. | |
texon | 1 for texture enabled, 0 fro texture disabled. | |
ppmname | The ppm filename that stores the image. |
References load_ppm_p6().
GLuint cajun::setup_ppm_texture | ( | const char * | fname | ) |
GLuint cajun::setup_ppm_texture | ( | const unsigned char * | image_data_, | |
unsigned | width_, | |||
unsigned | height_ | |||
) |
Bind PPM image to a texture.
image_data_ | Loaded image data. | |
width_ | Dimension of the array. | |
height_ | Dimension of the array. |
Referenced by cajun::draw_rndf_t::load_textures().
void cajun::split_filename | ( | const char * | filename, | |
char * | dirname, | |||
unsigned | dirsize, | |||
char * | filepart, | |||
unsigned | fpartsize | |||
) |
Split a filename. Roughly equivalent to basename and dirname.
filename | The filename to split. | |
dirname | The resulting directory part of the filename. | |
dirsize | The number of characters in dirname. | |
filepart | The resulting file part of the filename. | |
fpartsize | The number of characters in file part. |
Referenced by loadMilkshapeModelData().
char const * cajun::progname |
Program name.
Referenced by cajun::bitmap_window_t::bitmap_window_t(), cajun::control_panel_window_t::control_panel_window_t(), cajun::draw_obstacles_t::draw_obstacles_t(), cajun::draw_rndf_lane_t::draw_rndf_lane_t(), cajun::draw_rndf_t::draw_rndf_t(), cajun::draw_static_las_t::draw_static_las_t(), cajun::draw_static_scangp_t::draw_static_scangp_t(), cajun::control_panel_window_t::find_gp_driver_conf_files(), get_cbviz_origin(), cajun::scripted_camera_t::init_data(), cajun::draw_survey_gp_t::init_data(), cajun::draw_static_triangles_t::init_data(), cajun::draw_scan_gp_t::init_data(), cajun::bitmap_window_t::init_image_loader(), cajun::draw_static_triangles_t::load_indices(), cajun::draw_rndf_t::load_lane_markings(), load_ppm_p3(), load_ppm_p6(), cajun::simulation_draw_t::load_terrain_textures(), cajun::draw_rndf_t::load_textures(), cajun::draw_static_triangles_t::load_vertices(), main(), cajun::simulation_draw_t::normalKey_callback(), cajun::scripted_camera_t::parse_and_add_style(), read_ppm_texture(), cajun::scripted_camera_t::set_elem(), cajun::scripted_camera_t::set_elem_focus(), cajun::scripted_camera_t::set_elem_follow(), cajun::scripted_camera_t::set_elem_free(), cajun::scripted_camera_t::set_elem_inside(), cajun::scripted_camera_t::set_elems_focus_spline(), cajun::scripted_camera_t::set_elems_follow_spline(), cajun::scripted_camera_t::set_elems_free_spline(), cajun::scripted_camera_t::set_elems_inside_spline(), cajun::scripted_camera_t::set_spline(), cajun::simulation_draw_t::simulation_draw_t(), cajun::draw_static_triangles_t::toggle_display(), cajun::control_panel_window_t::update_gpconf_files(), and cajun::draw_rndf_t::lane_marking_waypoint_t::valid().