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

Detailed Description

Definition at line 26 of file bulletSoftBodyConfig.h.

Member Enumeration Documentation

◆ AeroModel

enum BulletSoftBodyConfig::AeroModel

Definition at line 41 of file bulletSoftBodyConfig.h.

◆ CollisionFlag

enum BulletSoftBodyConfig::CollisionFlag

Definition at line 31 of file bulletSoftBodyConfig.h.

Constructor & Destructor Documentation

◆ ~BulletSoftBodyConfig()

BulletSoftBodyConfig::~BulletSoftBodyConfig ( )
inline

Definition at line 17 of file bulletSoftBodyConfig.I.

◆ BulletSoftBodyConfig()

BulletSoftBodyConfig::BulletSoftBodyConfig ( btSoftBody::Config & cfg)

Definition at line 23 of file bulletSoftBodyConfig.cxx.

Member Function Documentation

◆ clear_all_collision_flags()

void BulletSoftBodyConfig::clear_all_collision_flags ( )

Definition at line 31 of file bulletSoftBodyConfig.cxx.

◆ get_collision_flag()

bool BulletSoftBodyConfig::get_collision_flag ( CollisionFlag flag) const

Definition at line 56 of file bulletSoftBodyConfig.cxx.

◆ set_collision_flag()

void BulletSoftBodyConfig::set_collision_flag ( CollisionFlag flag,
bool value )

Definition at line 41 of file bulletSoftBodyConfig.cxx.

Member Data Documentation

◆ get_aero_model

BulletSoftBodyConfig::AeroModel BulletSoftBodyConfig::get_aero_model

Definition at line 106 of file bulletSoftBodyConfig.h.

◆ 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_aero_model

void BulletSoftBodyConfig::set_aero_model

Definition at line 106 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: