Struct rubullet::SoftBodyOptions [−][src]
pub struct SoftBodyOptions {}Show fields
pub base_pose: Isometry3<f64>, pub scale: Option<f64>, pub mass: Option<f64>, pub collision_margin: Option<f64>, pub use_mass_spring: bool, pub use_bending_springs: bool, pub use_neo_hookean: bool, pub spring_elastic_stiffness: f64, pub spring_damping_stiffness: f64, pub spring_damping_all_directions: bool, pub spring_bending_stiffness: f64, pub neo_hookean_mu: f64, pub neo_hookean_lambda: f64, pub neo_hookean_damping: f64, pub friction_coeff: f64, pub use_face_contact: bool, pub use_self_collision: bool, pub repulsion_stiffness: Option<f64>, pub sim_filename: Option<PathBuf>,
Expand description
options for load_soft_body
Fields
base_pose: Isometry3<f64>
initial pose of the deformable object
scale: Option<f64>
scaling factor to resize the deformable (default = 1)
mass: Option<f64>
total mass of the deformable, the mass is equally distributed among all vertices
collision_margin: Option<f64>
a collision margin extends the deformable, it can help avoiding penetrations, especially for thin (cloth) deformables
use_mass_spring: bool
using mass spring
use_bending_springs: bool
create bending springs to control bending of deformables
use_neo_hookean: bool
enable the Neo Hookean simulation
spring_elastic_stiffness: f64
stiffness parameter
spring_damping_stiffness: f64
damping parameter
spring_damping_all_directions: bool
spring damping parameter
spring_bending_stiffness: f64
parameters of bending stiffness
neo_hookean_mu: f64
parameters of the Neo Hookean model
neo_hookean_lambda: f64
parameters of the Neo Hookean model
neo_hookean_damping: f64
parameters of the Neo Hookean model
friction_coeff: f64
contact friction for deformables
use_face_contact: bool
enable collisions internal to faces, not just at vertices.
use_self_collision: bool
enable self collision for a deformable
repulsion_stiffness: Option<f64>
a parameter that helps avoiding penetration.
sim_filename: Option<PathBuf>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SoftBodyOptions
impl Send for SoftBodyOptions
impl Sync for SoftBodyOptions
impl Unpin for SoftBodyOptions
impl UnwindSafe for SoftBodyOptions
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.
pub fn vzip(self) -> V