14 #ifndef __diguyCharacterPath_H
15 #define __diguyCharacterPath_H
20 #define CPLUSPLUS_ONLY
25 class bdiScenarioPath;
78 const char* get_name();
89 int set_name(
const char* name);
156 float get_duration();
177 int get_point_at_distance(
float distance_into_path,
178 float* x,
float* y,
float* z,
179 float* rz,
float* rx,
float* ry);
215 int get_num_waypoints();
293 diguyWaypoint* create_waypoint(
float x = 0.0f,
float y = 0.0f,
float z = 0.0f,
294 float yaw = 0.0f,
float roll = 0.0f,
float pitch = 0.0f,
351 int get_num_action_beads();
479 int get_num_script_beads();
546 const char* script_type =
"lua");
583 int get_num_decision_beads();
637 int get_num_gaze_beads();
691 int get_num_aim_beads();
744 int translate(
float tx,
float ty,
float tz);
746 int rotate_about_point(
float rz,
float rx,
float ry,
747 float rotation_pt_x,
float rotation_pt_y,
float rotation_pt_z);
749 int set_ground_clamp_when_on_path(
int ground_clamp_when_on_path);
750 int get_ground_clamp_when_on_path();
752 int get_position_at_distance(
float distance,
753 float* tx,
float* ty,
float* tz,
754 float* rz = NULL,
float* rx = NULL,
float* ry = NULL);
755 int get_position_at_distance_double(
float distance,
756 double* tx,
double* ty,
double* tz,
757 float* rz = NULL,
float* rx = NULL,
float* ry = NULL);
759 int get_position_at_t(
float t,
760 float* tx,
float* ty,
float* tz,
761 float* rz = NULL,
float* rx = NULL,
float* ry = NULL);
762 int get_position_at_t_double(
float t,
763 double* tx,
double* ty,
double* tz,
764 float* rz = NULL,
float* rx = NULL,
float* ry = NULL);
771 #ifdef CPLUSPLUS_ONLY
773 bdiScenarioPath* get_scripted_object() {
return m_scripted_object;}
790 bdiScenarioPath* m_scripted_object;
792 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:35
A bead that sits on a character's spline path and triggers a new decision.
Definition: diguyCharacterPathDecisionBead.h:35
An interface for manipulating a character's spline path. Path is typically authored in DI-Guy Scenari...
Definition: diguyCharacterPath.h:50
A bead that sits on a character's spline path and triggers a new action.
Definition: diguyCharacterPathActionBead.h:35
The class that represents a DI-Guy Entity in the world.
Definition: diguyCharacter.h:78
Definition: diguyWaypoint.h:29
static double t
4 Header files and forward declarations
Definition: simple_playback_ogl.cpp:53
A bead that sits on a character's spline path and triggers a new script evaluation.
Definition: diguyCharacterPathScriptBead.h:36
A bead that sits on a character's spline path and triggers a new aim event.
Definition: diguyCharacterPathAimBead.h:35