Functions
draw.h File Reference
#include <cstdlib>
#include <GL/glut.h>
#include <math.h>
#include <iostream>
#include <string>
#include <control_node.h>
Include dependency graph for draw.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int compute_max_width (const char *string)
int compute_node_lines (const char *string)
void draw_edge (GLfloat parent_x, GLfloat parent_y, GLfloat parent_size, GLfloat child_x, GLfloat child_y, GLfloat child_size)
void draw_node (float x, float y, int node_type, const char *leafName, int status)
void draw_status (float x, float y, int node_status)
void drawCircle (float radius)
void drawEllipse (float xradius, float yradius)
void drawString (void *font, const char *string, float x, float y, float z)
void drawTree (BT::ControlNode *tree_)
void keyboard (unsigned char key, int x, int y)
void renderBitmapString (float x, float y, void *font, const char *string)

Function Documentation

int compute_max_width ( const char *  string)

Definition at line 91 of file draw.cpp.

int compute_node_lines ( const char *  string)

Definition at line 72 of file draw.cpp.

void draw_edge ( GLfloat  parent_x,
GLfloat  parent_y,
GLfloat  parent_size,
GLfloat  child_x,
GLfloat  child_y,
GLfloat  child_size 
)

Definition at line 248 of file draw.cpp.

void draw_node ( float  x,
float  y,
int  node_type,
const char *  leafName,
int  status 
)

Definition at line 141 of file draw.cpp.

void draw_status ( float  x,
float  y,
int  node_status 
)
void drawCircle ( float  radius)

Definition at line 313 of file draw.cpp.

void drawEllipse ( float  xradius,
float  yradius 
)
void drawString ( void *  font,
const char *  string,
float  x,
float  y,
float  z 
)

Definition at line 67 of file draw.cpp.

void drawTree ( BT::ControlNode tree_)

Definition at line 480 of file draw.cpp.

void keyboard ( unsigned char  key,
int  x,
int  y 
)

Definition at line 286 of file draw.cpp.

void renderBitmapString ( float  x,
float  y,
void *  font,
const char *  string 
)

Definition at line 119 of file draw.cpp.



behavior_tree_core
Author(s): Michele Colledanchise
autogenerated on Sun Sep 10 2017 02:31:49