34 #ifndef __diguyChainSettings_H
35 #define __diguyChainSettings_H
41 #define CPLUSPLUS_ONLY
45 class bdiScenarioChainSettings;
73 const char* get_name();
89 int set_name(
const char* name);
115 void set_num_masses(
int num_masses);
127 int get_num_masses();
149 void set_index_of_chain_mass_connected_to_character(
int chain_mass_index);
162 int get_index_of_chain_mass_connected_to_character();
186 void set_simulation_dt(
float simulation_dt);
198 float get_simulation_dt();
220 void set_mass(
float mass);
256 void set_spring_length(
float spring_length);
269 float get_spring_length();
298 void set_spring_k(
float spring_k);
311 float get_spring_k();
337 void set_spring_b(
float spring_b);
350 float get_spring_b();
382 void set_neighbor2_spring_length(
float neighbor2_spring_length);
395 float get_neighbor2_spring_length();
418 void set_neighbor2_spring_k(
float neighbor2_spring_k);
431 float get_neighbor2_spring_k();
454 void set_neighbor2_spring_b(
float neighbor2_spring_b);
467 float get_neighbor2_spring_b();
493 void set_ground_k(
float ground_k);
505 float get_ground_k();
530 void set_ground_b(
float ground_b);
542 float get_ground_b();
567 void set_ground_lateral_b(
float ground_lateral_b);
580 float get_ground_lateral_b();
604 void set_ground_stiction_engage_vel(
float ground_stiction_engage_vel);
617 float get_ground_stiction_engage_vel();
637 void set_ground_stiction_release_force(
float ground_stiction_release_force);
650 float get_ground_stiction_release_force();
672 void set_ground_height(
float ground_height);
684 float get_ground_height();
709 void set_air_b(
float air_b);
740 void set_gravity(
float x,
float y,
float z);
752 void get_gravity(
float* x,
float* y,
float* z);
777 void set_radius(
float radius);
811 void set_ambient_color(
float r,
float g,
float b,
float a);
831 void get_ambient_color(
float* r,
float* g,
float* b,
float* a);
853 void set_diffuse_color(
float r,
float g,
float b,
float a);
873 void get_diffuse_color(
float* r,
float* g,
float* b,
float* a);
895 void set_specular_color(
float r,
float g,
float b,
float a);
915 void get_specular_color(
float* r,
float* g,
float* b,
float* a);
933 void set_shininess(
float shininess);
945 float get_shininess();
969 void set_texture_filename(
const char* texture_filename);
981 const char* get_texture_filename();
1001 void set_num_texture_repetitions(
int num_texture_repetitions);
1014 int get_num_texture_repetitions();
1072 void set_appearance_begin_cap(
const char* appearance_begin_cap);
1085 const char* get_appearance_begin_cap();
1104 void set_appearance_end_cap(
const char* appearance_end_cap);
1117 const char* get_appearance_end_cap();
1143 void set_num_coils(
int num_coils);
1156 int get_num_coils();
1174 void set_coil_thickness(
float coil_thickness);
1187 float get_coil_thickness();
1206 void set_coil_taper_begin_mass_count(
int coil_taper_begin_mass_count);
1219 int get_coil_taper_begin_mass_count();
1238 void set_coil_taper_end_mass_count(
int coil_taper_end_mass_count);
1251 int get_coil_taper_end_mass_count();
1257 #ifdef CPLUSPLUS_ONLY
1259 bdiScenarioChainSettings* get_scripted_object() {
return m_scripted_object;}
1276 bdiScenarioChainSettings* m_scripted_object;
1278 friend class bdiScenarioChainSettings;