14 #ifndef __diguyChainSettings_H
15 #define __diguyChainSettings_H
21 #define CPLUSPLUS_ONLY
25 class bdiScenarioChainSettings;
58 const char* get_name();
69 int set_name(
const char* name);
90 void set_num_masses(
int num_masses);
114 void set_index_of_chain_mass_connected_to_character(
int chain_mass_index);
122 int get_index_of_chain_mass_connected_to_character();
141 void set_simulation_dt(
float simulation_dt);
148 float get_simulation_dt();
165 void set_mass(
float mass);
191 void set_spring_length(
float spring_length);
199 float get_spring_length();
223 void set_spring_k(
float spring_k);
231 float get_spring_k();
252 void set_spring_b(
float spring_b);
260 float get_spring_b();
287 void set_neighbor2_spring_length(
float neighbor2_spring_length);
295 float get_neighbor2_spring_length();
313 void set_neighbor2_spring_k(
float neighbor2_spring_k);
321 float get_neighbor2_spring_k();
339 void set_neighbor2_spring_b(
float neighbor2_spring_b);
347 float get_neighbor2_spring_b();
368 void set_ground_k(
float ground_k);
375 float get_ground_k();
395 void set_ground_b(
float ground_b);
402 float get_ground_b();
422 void set_ground_lateral_b(
float ground_lateral_b);
430 float get_ground_lateral_b();
449 void set_ground_stiction_engage_vel(
float ground_stiction_engage_vel);
457 float get_ground_stiction_engage_vel();
472 void set_ground_stiction_release_force(
float ground_stiction_release_force);
480 float get_ground_stiction_release_force();
497 void set_ground_height(
float ground_height);
504 float get_ground_height();
524 void set_air_b(
float air_b);
545 void set_gravity(
float x,
float y,
float z);
552 void get_gravity(
float* x,
float* y,
float* z);
572 void set_radius(
float radius);
593 void set_ambient_color(
float r,
float g,
float b,
float a);
605 void get_ambient_color(
float* r,
float* g,
float* b,
float* a);
619 void set_diffuse_color(
float r,
float g,
float b,
float a);
631 void get_diffuse_color(
float* r,
float* g,
float* b,
float* a);
645 void set_specular_color(
float r,
float g,
float b,
float a);
657 void get_specular_color(
float* r,
float* g,
float* b,
float* a);
670 void set_shininess(
float shininess);
677 float get_shininess();
696 void set_texture_filename(
const char* texture_filename);
703 const char* get_texture_filename();
718 void set_num_texture_repetitions(
int num_texture_repetitions);
726 int get_num_texture_repetitions();
769 void set_appearance_begin_cap(
const char* appearance_begin_cap);
777 const char* get_appearance_begin_cap();
791 void set_appearance_end_cap(
const char* appearance_end_cap);
799 const char* get_appearance_end_cap();
820 void set_num_coils(
int num_coils);
841 void set_coil_thickness(
float coil_thickness);
849 float get_coil_thickness();
863 void set_coil_taper_begin_mass_count(
int coil_taper_begin_mass_count);
871 int get_coil_taper_begin_mass_count();
885 void set_coil_taper_end_mass_count(
int coil_taper_end_mass_count);
893 int get_coil_taper_end_mass_count();
899 #ifdef CPLUSPLUS_ONLY
901 bdiScenarioChainSettings* get_scripted_object() {
return m_scripted_object;}
918 bdiScenarioChainSettings* m_scripted_object;
920 friend class bdiScenarioChainSettings;
Definition: diguyChainSettings.h:34
diguyChainCrossSection
This enumeration lists which cross-sections are available for DI-Guy chain simulation visuals...
Definition: diguy_constants.h:761