14 #ifndef __diguyChainSettings_H
15 #define __diguyChainSettings_H
21 #define CPLUSPLUS_ONLY
25 class bdiScenarioChainSettings;
53 const char* get_name();
69 int set_name(
const char* name);
95 void set_num_masses(
int num_masses);
107 int get_num_masses();
129 void set_index_of_chain_mass_connected_to_character(
int chain_mass_index);
142 int get_index_of_chain_mass_connected_to_character();
166 void set_simulation_dt(
float simulation_dt);
178 float get_simulation_dt();
200 void set_mass(
float mass);
236 void set_spring_length(
float spring_length);
249 float get_spring_length();
278 void set_spring_k(
float spring_k);
291 float get_spring_k();
317 void set_spring_b(
float spring_b);
330 float get_spring_b();
362 void set_neighbor2_spring_length(
float neighbor2_spring_length);
375 float get_neighbor2_spring_length();
398 void set_neighbor2_spring_k(
float neighbor2_spring_k);
411 float get_neighbor2_spring_k();
434 void set_neighbor2_spring_b(
float neighbor2_spring_b);
447 float get_neighbor2_spring_b();
473 void set_ground_k(
float ground_k);
485 float get_ground_k();
510 void set_ground_b(
float ground_b);
522 float get_ground_b();
547 void set_ground_lateral_b(
float ground_lateral_b);
560 float get_ground_lateral_b();
584 void set_ground_stiction_engage_vel(
float ground_stiction_engage_vel);
597 float get_ground_stiction_engage_vel();
617 void set_ground_stiction_release_force(
float ground_stiction_release_force);
630 float get_ground_stiction_release_force();
652 void set_ground_height(
float ground_height);
664 float get_ground_height();
689 void set_air_b(
float air_b);
720 void set_gravity(
float x,
float y,
float z);
732 void get_gravity(
float* x,
float* y,
float* z);
757 void set_radius(
float radius);
791 void set_ambient_color(
float r,
float g,
float b,
float a);
811 void get_ambient_color(
float* r,
float* g,
float* b,
float* a);
833 void set_diffuse_color(
float r,
float g,
float b,
float a);
853 void get_diffuse_color(
float* r,
float* g,
float* b,
float* a);
875 void set_specular_color(
float r,
float g,
float b,
float a);
895 void get_specular_color(
float* r,
float* g,
float* b,
float* a);
913 void set_shininess(
float shininess);
925 float get_shininess();
949 void set_texture_filename(
const char* texture_filename);
961 const char* get_texture_filename();
981 void set_num_texture_repetitions(
int num_texture_repetitions);
994 int get_num_texture_repetitions();
1052 void set_appearance_begin_cap(
const char* appearance_begin_cap);
1065 const char* get_appearance_begin_cap();
1084 void set_appearance_end_cap(
const char* appearance_end_cap);
1097 const char* get_appearance_end_cap();
1123 void set_num_coils(
int num_coils);
1136 int get_num_coils();
1154 void set_coil_thickness(
float coil_thickness);
1167 float get_coil_thickness();
1186 void set_coil_taper_begin_mass_count(
int coil_taper_begin_mass_count);
1199 int get_coil_taper_begin_mass_count();
1218 void set_coil_taper_end_mass_count(
int coil_taper_end_mass_count);
1231 int get_coil_taper_end_mass_count();
1237 #ifdef CPLUSPLUS_ONLY
1239 bdiScenarioChainSettings* get_scripted_object() {
return m_scripted_object;}
1256 bdiScenarioChainSettings* m_scripted_object;
1258 friend class bdiScenarioChainSettings;