|
Blender
V2.93
|
Go to the source code of this file.
Classes | |
| class | btQuaternion |
| The btQuaternion implements quaternion to perform linear algebra rotations in combination with btMatrix3x3, btVector3 and btTransform. More... | |
| struct | btQuaternionFloatData |
| struct | btQuaternionDoubleData |
Macros | |
| #define | btQuaternionData btQuaternionFloatData |
| #define | btQuaternionDataName "btQuaternionFloatData" |
| #define btQuaternionData btQuaternionFloatData |
Definition at line 25 of file btQuaternion.h.
| #define btQuaternionDataName "btQuaternionFloatData" |
Definition at line 26 of file btQuaternion.h.
| SIMD_FORCE_INLINE btScalar btAngle | ( | const btQuaternion & | q1, |
| const btQuaternion & | q2 | ||
| ) |
Return the angle between two quaternions.
Definition at line 902 of file btQuaternion.h.
References q1.
Referenced by calculateNormalCone().
| SIMD_FORCE_INLINE btScalar dot | ( | const btQuaternion & | q1, |
| const btQuaternion & | q2 | ||
| ) |
Calculate the dot product between two quaternions.
Definition at line 888 of file btQuaternion.h.
References q1.
| SIMD_FORCE_INLINE btQuaternion inverse | ( | const btQuaternion & | q | ) |
Return the inverse of a quaternion.
Definition at line 909 of file btQuaternion.h.
References btQuaternion::inverse().
| SIMD_FORCE_INLINE btScalar length | ( | const btQuaternion & | q | ) |
Return the length of a quaternion.
Definition at line 895 of file btQuaternion.h.
References btQuaternion::length().
Referenced by iTaSC::Cache::addCacheItem(), iTaSC::Cache::addCacheVectorIfDifferent(), annotation_stroke_arrow_calc_points_segment(), btSoftBody::appendLink(), apply_lengths_iter(), arrayModifier_doArray(), base_callback(), bevel_build_cutoff(), bind_fallback_shader(), BKE_icon_geom_invert_lightness(), BKE_id_attribute_new(), BKE_id_attribute_remove(), BKE_id_attributes_length(), BKE_nurb_calc_length(), BKE_pchan_bbone_handles_compute(), BKE_pchan_bbone_spline_compute(), BLI_edgehash_popkey(), BLI_mmap_open(), BLI_mmap_read(), BLI_utf8_invalid_byte(), BLI_utf8_invalid_strip(), blo_do_versions_pre250(), bm_edge_info_average_length_with_fallback(), BM_vert_calc_median_tagged_edge_length(), bmo_inset_region_exec(), boid_body(), bone_align_to_bone(), BPy_IDArray_getbuffer(), bpy_prop_string_get_fn(), bpy_prop_string_length_fn(), brush_puff(), btAdjustInternalEdgeContacts(), btComputeGjkEpaPenetration(), btContinuousConvexCollision::calcTimeOfImpact(), calculate_point_length(), BVHUnaligned::compute_aligned_space(), IK_QPositionTask::ComputeJacobian(), convert_tree(), debugDrawConstraint(), btSoftBody::defaultCollisionHandler(), dfdx_spring(), distribute_simple_children(), do_kink(), do_path_effectors(), draw_axes(), draw_bone_update_disp_matrix_bbone(), draw_bone_update_disp_matrix_custom(), draw_bone_update_disp_matrix_default(), drawArrow(), drw_shgroup_uniform(), drw_shgroup_uniform_create_ex(), ED_armature_ebone_add_primitive(), ED_buttons_tabs_list(), ED_gpencil_trace_data_to_strokes(), ED_node_tree_path_length(), ED_select_similar_compare_float_tree(), edge_wind_vertex(), execute_posetree(), execute_scene(), extract_range_task_create(), extrapolate_points_by_length(), fb(), fbderiv(), fbstar(), fbstar_jacobi(), iTaSC::Armature::finalize(), flip_names(), float_array_to_string(), get_limit_motor_info2(), getAngularMotionDisc(), getBoundingSphere(), btGjkPairDetector::getClosestPointsNonVirtual(), Freestyle::ViewEdge::getLength2D(), blender::gpu::GLDrawList::GLDrawList(), gpencil_stroke_editcurve_generate_edgecases(), gpencil_stroke_sample_exec(), GPU_indexbuf_create_subrange(), GPU_indexbuf_create_subrange_in_place(), hair_create_input_mesh(), handle_app1(), GHOST_SystemCocoa::handleKeyEvent(), IK_SetTransform(), blender::gpu::IndexBuf::init_subrange(), initialize2(), InputCustomRatioFlip(), Interface1D_length_2d_get(), iterate_lengths_iter(), kernel_shader_sort(), line_directive(), BlenderSmokeLoader::load_pixels(), BlenderPointDensityLoader::load_pixels(), nlaevalchan_detect_mix_mode(), nlaevalchan_get_default_values(), nlaevalchan_snapshot_new(), nlaevalchan_verify_key(), nlasnapshot_blend(), nlastrip_get_frame_transition(), Normalize(), osx_user_locale(), p_smooth(), paint_line_strokes_spacing(), paint_space_stroke(), paint_space_stroke_spacing_variable(), plane_to_point_vector_v3_normalized(), btSoftColliders::CollideVF_SS::Process(), btConnectivityProcessor::processTriangle(), gjkepa2_impl::GJK::projectorigin(), GJK< btConvexTemplate >::projectorigin(), prop_subscript_ass_array_slice(), prop_subscript_ass_array_slice__as_seq_fast(), prop_subscript_ass_array_slice__bool_recursive(), prop_subscript_ass_array_slice__float_recursive(), prop_subscript_ass_array_slice__int_recursive(), psys_get_particle_on_path(), psys_hair_use_simulation(), PyC_AsArray(), PyC_AsArray_FAST(), pygpu_shader_uniform_bool(), pygpu_shader_uniform_float(), pygpu_shader_uniform_int(), pygpu_shader_uniform_vector_float(), pygpu_shader_uniform_vector_int(), pyrna_prop_array_subscript_slice(), Quaternion_rotate(), ReadData(), btSoftBody::resetLinkRestLengths(), rna_array_lookup_int(), RNA_def_float_matrix(), RNA_def_property_array(), RNA_def_property_collection_funcs(), RNA_def_property_multi_array(), RNA_def_property_string_funcs(), rna_ensure_property_multi_array_length(), rna_iterator_array_begin(), RNA_parameter_dynamic_length_set(), RNA_parameter_dynamic_length_set_data(), RNA_property_array_dimension(), RNA_property_as_string(), rna_property_boolean_get_default_array_values(), RNA_property_collection_length(), RNA_property_float_get_default_array(), rna_property_float_get_default_array_values(), RNA_property_int_get_default_array(), rna_property_int_get_default_array_values(), RNA_property_string_get_alloc(), RNA_property_string_get_default_alloc(), scale_point_to_length(), scale_points_to_length(), set_device_override_func(), setting_get_rna_values(), IK_QSegment::SetTransform(), btGjkEpaSolver2::SignedDistance(), SIM_mass_spring_force_edge_wind(), SIM_mass_spring_force_spring_bending(), SIM_mass_spring_force_spring_goal(), SIM_mass_spring_force_spring_linear(), similar_edge_select_exec(), spring_grad_dir(), spring_length(), time_human_readable_to_seconds(), txt_extended_ascii_as_utf8(), txt_sel_to_buf(), txt_to_buf(), ui_but_get_pasted_text_from_clipboard(), UI_draw_anti_fan(), unit_as_string_main(), and WriteData().
| SIMD_FORCE_INLINE btQuaternion operator* | ( | const btQuaternion & | q, |
| const btVector3 & | w | ||
| ) |
Definition at line 721 of file btQuaternion.h.
References A1, A2, Freestyle::B1(), Freestyle::B2(), Freestyle::B3(), and w().
| SIMD_FORCE_INLINE btQuaternion operator* | ( | const btQuaternion & | q1, |
| const btQuaternion & | q2 | ||
| ) |
Return the product of two quaternions.
Definition at line 633 of file btQuaternion.h.
References A0, A1, A2, Freestyle::B1(), Freestyle::B2(), Freestyle::B3(), and q1.
| SIMD_FORCE_INLINE btQuaternion operator* | ( | const btVector3 & | w, |
| const btQuaternion & | q | ||
| ) |
Definition at line 804 of file btQuaternion.h.
References A1, A2, Freestyle::B1(), Freestyle::B2(), Freestyle::B3(), and w().
| SIMD_FORCE_INLINE btVector3 quatRotate | ( | const btQuaternion & | rotation, |
| const btVector3 & | v | ||
| ) |
Definition at line 926 of file btQuaternion.h.
References btVector3, btQuaternion::inverse(), and v.
Referenced by btAdjustInternalEdgeContacts(), btHingeConstraint(), calcAngleInfo(), calcAngleInfo2(), compTreeLinkVelocities(), btRigidBody::computeGyroscopicImpulseImplicit_Body(), btMultiBodyGearConstraint::createConstraintRows(), btMultiBodyJointLimitConstraint::createConstraintRows(), btMultiBodyJointMotor::createConstraintRows(), btMultiBodySliderConstraint::createConstraintRows(), btMultiBodyDynamicsWorld::debugDrawWorld(), GetPointForAngle(), btConnectivityProcessor::processTriangle(), setAxis(), setMotorTarget(), setMotorTargetInConstraintSpace(), btMultibodyLink::updateCacheMultiDof(), updateCollisionObjectInterpolationWorldTransforms(), updateCollisionObjectWorldTransforms(), and btMultibodyLink::updateInterpolationCacheMultiDof().
| SIMD_FORCE_INLINE btQuaternion shortestArcQuat | ( | const btVector3 & | v0, |
| const btVector3 & | v1 | ||
| ) |
Definition at line 940 of file btQuaternion.h.
References btPlaneSpace1(), btSqrt(), btVector3, Freestyle::c, SIMD_EPSILON, and v1.
Referenced by btHingeConstraint(), calcAngleInfo(), calcAngleInfo2(), setAxis(), setMotorTarget(), setMotorTargetInConstraintSpace(), and shortestArcQuatNormalize2().
| SIMD_FORCE_INLINE btQuaternion shortestArcQuatNormalize2 | ( | btVector3 & | v0, |
| btVector3 & | v1 | ||
| ) |
Definition at line 959 of file btQuaternion.h.
References btQuaternion::normalize(), shortestArcQuat(), and v1.
Referenced by getRotation().
| SIMD_FORCE_INLINE btQuaternion slerp | ( | const btQuaternion & | q1, |
| const btQuaternion & | q2, | ||
| const btScalar & | t | ||
| ) |
Return the result of spherical linear interpolation betwen two quaternions.
| q1 | The first quaternion |
| q2 | The second quaternion |
| t | The ration between q1 and q2. t = 0 return q1, t=1 returns q2 Slerp assumes constant velocity between positions. |
Definition at line 920 of file btQuaternion.h.