Panda3D
Public Types | Public Member Functions | Public Attributes | List of all members
BulletSoftBodyConfig Class Reference

Public Types

enum  AeroModel {
  AM_vertex_point, AM_vertex_two_sided, AM_vertex_one_sided, AM_face_two_sided,
  AM_face_one_sided
}
 
enum  CollisionFlag {
  CF_rigid_vs_soft_mask = 0x000f, CF_sdf_rigid_soft = 0x0001, CF_cluster_rigid_soft = 0x0002, CF_soft_vs_soft_mask = 0x0030,
  CF_vertex_face_soft_soft = 0x0010, CF_cluster_soft_soft = 0x0020, CF_cluster_self = 0x0040
}
 

Public Member Functions

 BulletSoftBodyConfig (btSoftBody::Config &cfg)
 
void clear_all_collision_flags ()
 
AeroModel get_aero_model () const
 
PN_stdfloat get_anchors_hardness () const
 
int get_cluster_solver_iterations () const
 
bool get_collision_flag (CollisionFlag flag) const
 
PN_stdfloat get_damping_coefficient () const
 
PN_stdfloat get_drag_coefficient () const
 
int get_drift_solver_iterations () const
 
PN_stdfloat get_dynamic_friction_coefficient () const
 
PN_stdfloat get_kinetic_contacts_hardness () const
 
PN_stdfloat get_lift_coefficient () const
 
PN_stdfloat get_maxvolume () const
 
PN_stdfloat get_pose_matching_coefficient () const
 
int get_positions_solver_iterations () const
 
PN_stdfloat get_pressure_coefficient () const
 
PN_stdfloat get_rigid_contacts_hardness () const
 
PN_stdfloat get_soft_contacts_hardness () const
 
PN_stdfloat get_soft_vs_kinetic_hardness () const
 
PN_stdfloat get_soft_vs_kinetic_impulse_split () const
 
PN_stdfloat get_soft_vs_rigid_hardness () const
 
PN_stdfloat get_soft_vs_rigid_impulse_split () const
 
PN_stdfloat get_soft_vs_soft_hardness () const
 
PN_stdfloat get_soft_vs_soft_impulse_split () const
 
PN_stdfloat get_timescale () const
 
PN_stdfloat get_velocities_correction_factor () const
 
int get_velocities_solver_iterations () const
 
PN_stdfloat get_volume_conservation_coefficient () const
 
void set_aero_model (AeroModel value)
 
void set_anchors_hardness (PN_stdfloat value)
 
void set_cluster_solver_iterations (int value)
 
void set_collision_flag (CollisionFlag flag, bool value)
 
void set_damping_coefficient (PN_stdfloat value)
 
void set_drag_coefficient (PN_stdfloat value)
 
void set_drift_solver_iterations (int value)
 
void set_dynamic_friction_coefficient (PN_stdfloat value)
 
void set_kinetic_contacts_hardness (PN_stdfloat value)
 
void set_lift_coefficient (PN_stdfloat value)
 
void set_maxvolume (PN_stdfloat value)
 
void set_pose_matching_coefficient (PN_stdfloat value)
 
void set_positions_solver_iterations (int value)
 
void set_pressure_coefficient (PN_stdfloat value)
 
void set_rigid_contacts_hardness (PN_stdfloat value)
 
void set_soft_contacts_hardness (PN_stdfloat value)
 
void set_soft_vs_kinetic_hardness (PN_stdfloat value)
 
void set_soft_vs_kinetic_impulse_split (PN_stdfloat value)
 
void set_soft_vs_rigid_hardness (PN_stdfloat value)
 
void set_soft_vs_rigid_impulse_split (PN_stdfloat value)
 
void set_soft_vs_soft_hardness (PN_stdfloat value)
 
void set_soft_vs_soft_impulse_split (PN_stdfloat value)
 
void set_timescale (PN_stdfloat value)
 
void set_velocities_correction_factor (PN_stdfloat value)
 
void set_velocities_solver_iterations (int value)
 
void set_volume_conservation_coefficient (PN_stdfloat value)
 

Public Attributes

 get_aero_model
 
 get_anchors_hardness
 Getter for property kAHR. More...
 
 get_cluster_solver_iterations
 Getter for property citerations. More...
 
 get_damping_coefficient
 Getter for property kDP. More...
 
 get_drag_coefficient
 Getter for property kDG. More...
 
 get_drift_solver_iterations
 Getter for property diterations. More...
 
 get_dynamic_friction_coefficient
 Getter for property kDF. More...
 
 get_kinetic_contacts_hardness
 Getter for property kKHR. More...
 
 get_lift_coefficient
 Getter for property kLF. More...
 
 get_maxvolume
 Getter for property maxvolume. More...
 
 get_pose_matching_coefficient
 Getter for property kMT. More...
 
 get_positions_solver_iterations
 Getter for property piterations. More...
 
 get_pressure_coefficient
 Getter for property kPR. More...
 
 get_rigid_contacts_hardness
 Getter for property kCHR. More...
 
 get_soft_contacts_hardness
 Getter for property kSHR. More...
 
 get_soft_vs_kinetic_hardness
 Getter for property kSKHR_CL. More...
 
 get_soft_vs_kinetic_impulse_split
 Getter for property kSK_SPLT_CL. More...
 
 get_soft_vs_rigid_hardness
 Getter for property kSRHR_CL. More...
 
 get_soft_vs_rigid_impulse_split
 Getter for property kSR_SPLT_CL. More...
 
 get_soft_vs_soft_hardness
 Getter for property kSSHR_CL. More...
 
 get_soft_vs_soft_impulse_split
 Getter for property kSS_SPLT_CL. More...
 
 get_timescale
 Getter for property timescale. More...
 
 get_velocities_correction_factor
 Getter for property kVCF. More...
 
 get_velocities_solver_iterations
 Getter for property viterations. More...
 
 get_volume_conservation_coefficient
 Getter for property kVC. More...
 
 set_aero_model
 
 set_anchors_hardness
 Setter for property kAHR. More...
 
 set_cluster_solver_iterations
 Setter for property citerations. More...
 
 set_damping_coefficient
 Setter for property kDP. More...
 
 set_drag_coefficient
 Setter for property kDG. More...
 
 set_drift_solver_iterations
 Setter for property diterations. More...
 
 set_dynamic_friction_coefficient
 Setter for property kDF. More...
 
 set_kinetic_contacts_hardness
 Setter for property kKHR. More...
 
 set_lift_coefficient
 Setter for property kLF. More...
 
 set_maxvolume
 Setter for property maxvolume. More...
 
 set_pose_matching_coefficient
 Setter for property kMT. More...
 
 set_positions_solver_iterations
 Setter for property piterations. More...
 
 set_pressure_coefficient
 Setter for property kPR. More...
 
 set_rigid_contacts_hardness
 Setter for property kCHR. More...
 
 set_soft_contacts_hardness
 Setter for property kSHR. More...
 
 set_soft_vs_kinetic_hardness
 Setter for property kSKHR_CL. More...
 
 set_soft_vs_kinetic_impulse_split
 Setter for property kSK_SPLT_CL. More...
 
 set_soft_vs_rigid_hardness
 Setter for property kSRHR_CL. More...
 
 set_soft_vs_rigid_impulse_split
 Setter for property kSR_SPLT_CL. More...
 
 set_soft_vs_soft_hardness
 Setter for property kSSHR_CL. More...
 
 set_soft_vs_soft_impulse_split
 Setter for property kSS_SPLT_CL. More...
 
 set_timescale
 Setter for property timescale. More...
 
 set_velocities_correction_factor
 Setter for property kVCF. More...
 
 set_velocities_solver_iterations
 Setter for property viterations. More...
 
 set_volume_conservation_coefficient
 Setter for property kVC. More...
 

Detailed Description

Definition at line 26 of file bulletSoftBodyConfig.h.

Member Data Documentation

◆ get_anchors_hardness

PN_stdfloat BulletSoftBodyConfig::get_anchors_hardness

Getter for property kAHR.

Definition at line 118 of file bulletSoftBodyConfig.h.

◆ get_cluster_solver_iterations

int BulletSoftBodyConfig::get_cluster_solver_iterations

Getter for property citerations.

Definition at line 130 of file bulletSoftBodyConfig.h.

◆ get_damping_coefficient

PN_stdfloat BulletSoftBodyConfig::get_damping_coefficient

Getter for property kDP.

Definition at line 108 of file bulletSoftBodyConfig.h.

◆ get_drag_coefficient

PN_stdfloat BulletSoftBodyConfig::get_drag_coefficient

Getter for property kDG.

Definition at line 109 of file bulletSoftBodyConfig.h.

◆ get_drift_solver_iterations

int BulletSoftBodyConfig::get_drift_solver_iterations

Getter for property diterations.

Definition at line 129 of file bulletSoftBodyConfig.h.

◆ get_dynamic_friction_coefficient

PN_stdfloat BulletSoftBodyConfig::get_dynamic_friction_coefficient

Getter for property kDF.

Definition at line 113 of file bulletSoftBodyConfig.h.

◆ get_kinetic_contacts_hardness

PN_stdfloat BulletSoftBodyConfig::get_kinetic_contacts_hardness

Getter for property kKHR.

Definition at line 116 of file bulletSoftBodyConfig.h.

◆ get_lift_coefficient

PN_stdfloat BulletSoftBodyConfig::get_lift_coefficient

Getter for property kLF.

Definition at line 110 of file bulletSoftBodyConfig.h.

◆ get_maxvolume

PN_stdfloat BulletSoftBodyConfig::get_maxvolume

Getter for property maxvolume.

Definition at line 125 of file bulletSoftBodyConfig.h.

◆ get_pose_matching_coefficient

PN_stdfloat BulletSoftBodyConfig::get_pose_matching_coefficient

Getter for property kMT.

Definition at line 114 of file bulletSoftBodyConfig.h.

◆ get_positions_solver_iterations

int BulletSoftBodyConfig::get_positions_solver_iterations

Getter for property piterations.

Definition at line 127 of file bulletSoftBodyConfig.h.

◆ get_pressure_coefficient

PN_stdfloat BulletSoftBodyConfig::get_pressure_coefficient

Getter for property kPR.

Definition at line 111 of file bulletSoftBodyConfig.h.

◆ get_rigid_contacts_hardness

PN_stdfloat BulletSoftBodyConfig::get_rigid_contacts_hardness

Getter for property kCHR.

Definition at line 115 of file bulletSoftBodyConfig.h.

◆ get_soft_contacts_hardness

PN_stdfloat BulletSoftBodyConfig::get_soft_contacts_hardness

Getter for property kSHR.

Definition at line 117 of file bulletSoftBodyConfig.h.

◆ get_soft_vs_kinetic_hardness

PN_stdfloat BulletSoftBodyConfig::get_soft_vs_kinetic_hardness

Getter for property kSKHR_CL.

Definition at line 120 of file bulletSoftBodyConfig.h.

◆ get_soft_vs_kinetic_impulse_split

PN_stdfloat BulletSoftBodyConfig::get_soft_vs_kinetic_impulse_split

Getter for property kSK_SPLT_CL.

Definition at line 123 of file bulletSoftBodyConfig.h.

◆ get_soft_vs_rigid_hardness

PN_stdfloat BulletSoftBodyConfig::get_soft_vs_rigid_hardness

Getter for property kSRHR_CL.

Definition at line 119 of file bulletSoftBodyConfig.h.

◆ get_soft_vs_rigid_impulse_split

PN_stdfloat BulletSoftBodyConfig::get_soft_vs_rigid_impulse_split

Getter for property kSR_SPLT_CL.

Definition at line 122 of file bulletSoftBodyConfig.h.

◆ get_soft_vs_soft_hardness

PN_stdfloat BulletSoftBodyConfig::get_soft_vs_soft_hardness

Getter for property kSSHR_CL.

Definition at line 121 of file bulletSoftBodyConfig.h.

◆ get_soft_vs_soft_impulse_split

PN_stdfloat BulletSoftBodyConfig::get_soft_vs_soft_impulse_split

Getter for property kSS_SPLT_CL.

Definition at line 124 of file bulletSoftBodyConfig.h.

◆ get_timescale

PN_stdfloat BulletSoftBodyConfig::get_timescale

Getter for property timescale.

Definition at line 126 of file bulletSoftBodyConfig.h.

◆ get_velocities_correction_factor

PN_stdfloat BulletSoftBodyConfig::get_velocities_correction_factor

Getter for property kVCF.

Definition at line 107 of file bulletSoftBodyConfig.h.

◆ get_velocities_solver_iterations

int BulletSoftBodyConfig::get_velocities_solver_iterations

Getter for property viterations.

Definition at line 128 of file bulletSoftBodyConfig.h.

◆ get_volume_conservation_coefficient

PN_stdfloat BulletSoftBodyConfig::get_volume_conservation_coefficient

Getter for property kVC.

Definition at line 112 of file bulletSoftBodyConfig.h.

◆ set_anchors_hardness

void BulletSoftBodyConfig::set_anchors_hardness

Setter for property kAHR.

Definition at line 118 of file bulletSoftBodyConfig.h.

◆ set_cluster_solver_iterations

void BulletSoftBodyConfig::set_cluster_solver_iterations

Setter for property citerations.

Definition at line 130 of file bulletSoftBodyConfig.h.

◆ set_damping_coefficient

void BulletSoftBodyConfig::set_damping_coefficient

Setter for property kDP.

Definition at line 108 of file bulletSoftBodyConfig.h.

◆ set_drag_coefficient

void BulletSoftBodyConfig::set_drag_coefficient

Setter for property kDG.

Definition at line 109 of file bulletSoftBodyConfig.h.

◆ set_drift_solver_iterations

void BulletSoftBodyConfig::set_drift_solver_iterations

Setter for property diterations.

Definition at line 129 of file bulletSoftBodyConfig.h.

◆ set_dynamic_friction_coefficient

void BulletSoftBodyConfig::set_dynamic_friction_coefficient

Setter for property kDF.

Definition at line 113 of file bulletSoftBodyConfig.h.

◆ set_kinetic_contacts_hardness

void BulletSoftBodyConfig::set_kinetic_contacts_hardness

Setter for property kKHR.

Definition at line 116 of file bulletSoftBodyConfig.h.

◆ set_lift_coefficient

void BulletSoftBodyConfig::set_lift_coefficient

Setter for property kLF.

Definition at line 110 of file bulletSoftBodyConfig.h.

◆ set_maxvolume

void BulletSoftBodyConfig::set_maxvolume

Setter for property maxvolume.

Definition at line 125 of file bulletSoftBodyConfig.h.

◆ set_pose_matching_coefficient

void BulletSoftBodyConfig::set_pose_matching_coefficient

Setter for property kMT.

Definition at line 114 of file bulletSoftBodyConfig.h.

◆ set_positions_solver_iterations

void BulletSoftBodyConfig::set_positions_solver_iterations

Setter for property piterations.

Definition at line 127 of file bulletSoftBodyConfig.h.

◆ set_pressure_coefficient

void BulletSoftBodyConfig::set_pressure_coefficient

Setter for property kPR.

Definition at line 111 of file bulletSoftBodyConfig.h.

◆ set_rigid_contacts_hardness

void BulletSoftBodyConfig::set_rigid_contacts_hardness

Setter for property kCHR.

Definition at line 115 of file bulletSoftBodyConfig.h.

◆ set_soft_contacts_hardness

void BulletSoftBodyConfig::set_soft_contacts_hardness

Setter for property kSHR.

Definition at line 117 of file bulletSoftBodyConfig.h.

◆ set_soft_vs_kinetic_hardness

void BulletSoftBodyConfig::set_soft_vs_kinetic_hardness

Setter for property kSKHR_CL.

Definition at line 120 of file bulletSoftBodyConfig.h.

◆ set_soft_vs_kinetic_impulse_split

void BulletSoftBodyConfig::set_soft_vs_kinetic_impulse_split

Setter for property kSK_SPLT_CL.

Definition at line 123 of file bulletSoftBodyConfig.h.

◆ set_soft_vs_rigid_hardness

void BulletSoftBodyConfig::set_soft_vs_rigid_hardness

Setter for property kSRHR_CL.

Definition at line 119 of file bulletSoftBodyConfig.h.

◆ set_soft_vs_rigid_impulse_split

void BulletSoftBodyConfig::set_soft_vs_rigid_impulse_split

Setter for property kSR_SPLT_CL.

Definition at line 122 of file bulletSoftBodyConfig.h.

◆ set_soft_vs_soft_hardness

void BulletSoftBodyConfig::set_soft_vs_soft_hardness

Setter for property kSSHR_CL.

Definition at line 121 of file bulletSoftBodyConfig.h.

◆ set_soft_vs_soft_impulse_split

void BulletSoftBodyConfig::set_soft_vs_soft_impulse_split

Setter for property kSS_SPLT_CL.

Definition at line 124 of file bulletSoftBodyConfig.h.

◆ set_timescale

void BulletSoftBodyConfig::set_timescale

Setter for property timescale.

Definition at line 126 of file bulletSoftBodyConfig.h.

◆ set_velocities_correction_factor

void BulletSoftBodyConfig::set_velocities_correction_factor

Setter for property kVCF.

Definition at line 107 of file bulletSoftBodyConfig.h.

◆ set_velocities_solver_iterations

void BulletSoftBodyConfig::set_velocities_solver_iterations

Setter for property viterations.

Definition at line 128 of file bulletSoftBodyConfig.h.

◆ set_volume_conservation_coefficient

void BulletSoftBodyConfig::set_volume_conservation_coefficient

Setter for property kVC.

Definition at line 112 of file bulletSoftBodyConfig.h.


The documentation for this class was generated from the following files: