14 #ifndef __diguyChainSettings_H
15 #define __diguyChainSettings_H
21 #define CPLUSPLUS_ONLY
25 class bdiScenarioChainSettings;
56 const char* get_name();
67 int set_name(
const char* name);
88 void set_num_masses(
int num_masses);
112 void set_index_of_chain_mass_connected_to_character(
int chain_mass_index);
120 int get_index_of_chain_mass_connected_to_character();
139 void set_simulation_dt(
float simulation_dt);
146 float get_simulation_dt();
163 void set_mass(
float mass);
189 void set_spring_length(
float spring_length);
197 float get_spring_length();
221 void set_spring_k(
float spring_k);
229 float get_spring_k();
250 void set_spring_b(
float spring_b);
258 float get_spring_b();
285 void set_neighbor2_spring_length(
float neighbor2_spring_length);
293 float get_neighbor2_spring_length();
311 void set_neighbor2_spring_k(
float neighbor2_spring_k);
319 float get_neighbor2_spring_k();
337 void set_neighbor2_spring_b(
float neighbor2_spring_b);
345 float get_neighbor2_spring_b();
366 void set_ground_k(
float ground_k);
373 float get_ground_k();
393 void set_ground_b(
float ground_b);
400 float get_ground_b();
420 void set_ground_lateral_b(
float ground_lateral_b);
428 float get_ground_lateral_b();
447 void set_ground_stiction_engage_vel(
float ground_stiction_engage_vel);
455 float get_ground_stiction_engage_vel();
470 void set_ground_stiction_release_force(
float ground_stiction_release_force);
478 float get_ground_stiction_release_force();
495 void set_ground_height(
float ground_height);
502 float get_ground_height();
522 void set_air_b(
float air_b);
543 void set_gravity(
float x,
float y,
float z);
550 void get_gravity(
float* x,
float* y,
float* z);
570 void set_radius(
float radius);
591 void set_ambient_color(
float r,
float g,
float b,
float a);
603 void get_ambient_color(
float* r,
float* g,
float* b,
float* a);
617 void set_diffuse_color(
float r,
float g,
float b,
float a);
629 void get_diffuse_color(
float* r,
float* g,
float* b,
float* a);
643 void set_specular_color(
float r,
float g,
float b,
float a);
655 void get_specular_color(
float* r,
float* g,
float* b,
float* a);
668 void set_shininess(
float shininess);
675 float get_shininess();
694 void set_texture_filename(
const char* texture_filename);
701 const char* get_texture_filename();
716 void set_num_texture_repetitions(
int num_texture_repetitions);
724 int get_num_texture_repetitions();
767 void set_appearance_begin_cap(
const char* appearance_begin_cap);
775 const char* get_appearance_begin_cap();
789 void set_appearance_end_cap(
const char* appearance_end_cap);
797 const char* get_appearance_end_cap();
818 void set_num_coils(
int num_coils);
839 void set_coil_thickness(
float coil_thickness);
847 float get_coil_thickness();
861 void set_coil_taper_begin_mass_count(
int coil_taper_begin_mass_count);
869 int get_coil_taper_begin_mass_count();
883 void set_coil_taper_end_mass_count(
int coil_taper_end_mass_count);
891 int get_coil_taper_end_mass_count();
897 #ifdef CPLUSPLUS_ONLY
899 bdiScenarioChainSettings* get_scripted_object() {
return m_scripted_object;}
916 bdiScenarioChainSettings* m_scripted_object;
918 friend class bdiScenarioChainSettings;
chain settings.. Rarely used
Definition: diguyChainSettings.h:32
diguyChainCrossSection
This enumeration lists which cross-sections are available for DI-Guy chain simulation visuals...
Definition: diguy_constants.h:821