14 #ifndef __diguyCharacterPath_H
15 #define __diguyCharacterPath_H
20 #define CPLUSPLUS_ONLY
25 class bdiScenarioPath;
76 const char* get_name();
87 int set_name(
const char* name);
154 float get_duration();
175 int get_point_at_distance(
float distance_into_path,
176 float* x,
float* y,
float* z,
177 float* rz,
float* rx,
float* ry);
213 int get_num_waypoints();
291 diguyWaypoint* create_waypoint(
float x = 0.0f,
float y = 0.0f,
float z = 0.0f,
292 float yaw = 0.0f,
float roll = 0.0f,
float pitch = 0.0f,
349 int get_num_action_beads();
477 int get_num_script_beads();
544 const char* script_type =
"lua");
581 int get_num_decision_beads();
635 int get_num_gaze_beads();
689 int get_num_aim_beads();
742 int translate(
float tx,
float ty,
float tz);
744 int rotate_about_point(
float rz,
float rx,
float ry,
745 float rotation_pt_x,
float rotation_pt_y,
float rotation_pt_z);
747 int set_ground_clamp_when_on_path(
int ground_clamp_when_on_path);
748 int get_ground_clamp_when_on_path();
750 int get_position_at_distance(
float distance,
751 float* tx,
float* ty,
float* tz,
752 float* rz = NULL,
float* rx = NULL,
float* ry = NULL);
753 int get_position_at_distance_double(
float distance,
754 double* tx,
double* ty,
double* tz,
755 float* rz = NULL,
float* rx = NULL,
float* ry = NULL);
757 int get_position_at_t(
float t,
758 float* tx,
float* ty,
float* tz,
759 float* rz = NULL,
float* rx = NULL,
float* ry = NULL);
760 int get_position_at_t_double(
float t,
761 double* tx,
double* ty,
double* tz,
762 float* rz = NULL,
float* rx = NULL,
float* ry = NULL);
769 #ifdef CPLUSPLUS_ONLY
771 bdiScenarioPath* get_scripted_object() {
return m_scripted_object;}
788 bdiScenarioPath* m_scripted_object;
790 friend class bdiScenarioPath;
Definition: diguyPathShape.h:30
A bead that sits on a character's spline path and triggers a new gaze.
Definition: diguyCharacterPathGazeBead.h:34
A bead that sits on a character's spline path and triggers a new decision.
Definition: diguyCharacterPathDecisionBead.h:34
An interface for manipulating a character's spline path. A path is typically authored in DI-Guy Scena...
Definition: diguyCharacterPath.h:47
A bead that sits on a character's spline path and triggers a new action.
Definition: diguyCharacterPathActionBead.h:34
The class that represents a DI-Guy Entity in the world.
Definition: diguyCharacter.h:81
Definition: diguyWaypoint.h:29
static double t
4 Header files and forward declarations
Definition: simple_playback_ogl.cpp:55
A bead that sits on a character's spline path and triggers a new script evaluation.
Definition: diguyCharacterPathScriptBead.h:34
A bead that sits on a character's spline path and triggers a new aim event.
Definition: diguyCharacterPathAimBead.h:34