|
Blender V5.0
|
Go to the source code of this file.
Functions | |
| IMETHOD Vector | operator+ (const Vector &lhs, const Vector &rhs) |
| IMETHOD Vector | operator- (const Vector &lhs, const Vector &rhs) |
| Vector | operator* (const Vector &lhs, double rhs) |
| Vector | operator* (double lhs, const Vector &rhs) |
| Vector | operator/ (const Vector &lhs, double rhs) |
| Vector | operator* (const Vector &lhs, const Vector &rhs) |
| IMETHOD Vector | Normalize (const Vector &a, double eps) |
| Wrench | operator* (const Wrench &lhs, double rhs) |
| Wrench | operator* (double lhs, const Wrench &rhs) |
| Wrench | operator/ (const Wrench &lhs, double rhs) |
| Wrench | operator+ (const Wrench &lhs, const Wrench &rhs) |
| Wrench | operator- (const Wrench &lhs, const Wrench &rhs) |
| Wrench | operator- (const Wrench &arg) |
| Twist | operator* (const Twist &lhs, double rhs) |
| Twist | operator* (double lhs, const Twist &rhs) |
| Twist | operator/ (const Twist &lhs, double rhs) |
| Twist | operator+ (const Twist &lhs, const Twist &rhs) |
| Twist | operator- (const Twist &lhs, const Twist &rhs) |
| Twist | operator- (const Twist &arg) |
| Frame | operator* (const Frame &lhs, const Frame &rhs) |
| Vector | operator- (const Vector &arg) |
| IMETHOD Vector2 | operator+ (const Vector2 &lhs, const Vector2 &rhs) |
| IMETHOD Vector2 | operator- (const Vector2 &lhs, const Vector2 &rhs) |
| IMETHOD Vector2 | operator* (const Vector2 &lhs, double rhs) |
| IMETHOD Vector2 | operator* (double lhs, const Vector2 &rhs) |
| IMETHOD Vector2 | operator/ (const Vector2 &lhs, double rhs) |
| IMETHOD Vector2 | operator- (const Vector2 &arg) |
| IMETHOD Rotation2 | operator* (const Rotation2 &lhs, const Rotation2 &rhs) |
| IMETHOD Frame2 | operator* (const Frame2 &lhs, const Frame2 &rhs) |
| IMETHOD double | dot (const Vector &lhs, const Vector &rhs) |
| IMETHOD double | dot (const Twist &lhs, const Wrench &rhs) |
| IMETHOD double | dot (const Wrench &rhs, const Twist &lhs) |
| IMETHOD bool | Equal (const Vector &a, const Vector &b, double eps) |
| IMETHOD bool | Equal (const Frame &a, const Frame &b, double eps) |
| IMETHOD bool | Equal (const Wrench &a, const Wrench &b, double eps) |
| IMETHOD bool | Equal (const Twist &a, const Twist &b, double eps) |
| IMETHOD bool | Equal (const Vector2 &a, const Vector2 &b, double eps) |
| IMETHOD bool | Equal (const Rotation2 &a, const Rotation2 &b, double eps) |
| IMETHOD bool | Equal (const Frame2 &a, const Frame2 &b, double eps) |
| IMETHOD void | SetToZero (Vector &v) |
| IMETHOD void | SetToZero (Twist &v) |
| IMETHOD void | SetToZero (Wrench &v) |
| IMETHOD void | SetToZero (Vector2 &v) |
| IMETHOD Rotation | Rot (const Vector &axis_a_b) |
| IMETHOD Vector | diff (const Vector &a, const Vector &b, double dt) |
| IMETHOD Vector | diff (const Rotation &R_a_b1, const Rotation &R_a_b2, double dt) |
| diff operator for displacement rotational velocity. | |
| IMETHOD Twist | diff (const Frame &F_a_b1, const Frame &F_a_b2, double dt) |
| IMETHOD Twist | diff (const Twist &a, const Twist &b, double dt) |
| IMETHOD Wrench | diff (const Wrench &a, const Wrench &b, double dt) |
| IMETHOD Vector | addDelta (const Vector &a, const Vector &da, double dt) |
| IMETHOD Rotation | addDelta (const Rotation &a, const Vector &da, double dt) |
| IMETHOD Frame | addDelta (const Frame &a, const Twist &da, double dt) |
| IMETHOD Twist | addDelta (const Twist &a, const Twist &da, double dt) |
| IMETHOD Wrench | addDelta (const Wrench &a, const Wrench &da, double dt) |
| IMETHOD void | random (Vector &a) |
| addDelta operator for displacement rotational velocity. | |
| IMETHOD void | random (Twist &a) |
| IMETHOD void | random (Wrench &a) |
| IMETHOD void | random (Rotation &R) |
| IMETHOD void | random (Frame &F) |
| IMETHOD void | posrandom (Vector &a) |
| IMETHOD void | posrandom (Twist &a) |
| IMETHOD void | posrandom (Wrench &a) |
| IMETHOD void | posrandom (Rotation &R) |
| IMETHOD void | posrandom (Frame &F) |
| IMETHOD bool | operator== (const Frame &a, const Frame &b) |
| IMETHOD bool | operator!= (const Frame &a, const Frame &b) |
| IMETHOD bool | operator== (const Vector &a, const Vector &b) |
| IMETHOD bool | operator!= (const Vector &a, const Vector &b) |
| IMETHOD bool | operator== (const Twist &a, const Twist &b) |
| IMETHOD bool | operator!= (const Twist &a, const Twist &b) |
| IMETHOD bool | operator== (const Wrench &a, const Wrench &b) |
| IMETHOD bool | operator!= (const Wrench &a, const Wrench &b) |
| IMETHOD bool | operator!= (const Rotation &a, const Rotation &b) |
Definition at line 1231 of file frames.inl.
References addDelta(), and IMETHOD.
Definition at line 1228 of file frames.inl.
| IMETHOD Twist addDelta | ( | const Twist & | a, |
| const Twist & | da, | ||
| double | dt ) |
Definition at line 1237 of file frames.inl.
References addDelta(), and IMETHOD.
Definition at line 1224 of file frames.inl.
References IMETHOD.
Referenced by addDelta(), addDelta(), and addDelta().
| IMETHOD Wrench addDelta | ( | const Wrench & | a, |
| const Wrench & | da, | ||
| double | dt ) |
Definition at line 1240 of file frames.inl.
References addDelta(), and IMETHOD.
Definition at line 1206 of file frames.inl.
diff operator for displacement rotational velocity.
The Vector arguments here represent a displacement rotational velocity. i.e. a rotation around a fixed axis for a certain angle. For this representation you cannot use diff() but have to use diff_displ().
\TODO represent a displacement twist and displacement rotational velocity with another class, instead of Vector and Twist.
IMETHOD Vector diff_displ(const Vector& a,const Vector& b,double dt) { return diff(Rot(a),Rot(b),dt); }
diff operator for displacement twist.
The Twist arguments here represent a displacement twist. i.e. a rotation around a fixed axis for a certain angle. For this representation you cannot use diff() but have to use diff_displ().
IMETHOD Twist diff_displ(const Twist& a,const Twist& b,double dt) { return Twist(diff(a.vel,b.vel,dt),diff(Rot(a.rot),Rot(b.rot),dt)); }
Definition at line 1202 of file frames.inl.
References IMETHOD.
| IMETHOD Twist diff | ( | const Twist & | a, |
| const Twist & | b, | ||
| double | dt ) |
Definition at line 1212 of file frames.inl.
Definition at line 1166 of file frames.inl.
Referenced by blender::calc_min_radius_v3v3(), collide_triangle_exact(), GIM_AABB::collide_triangle_exact(), btMultiBodyGearConstraint::createConstraintRows(), cullPoints2(), diff(), diff(), diff(), blender::math::locus_entry_t::dist(), EXPP_FloatsAreEqual(), btQuaternion::farthest(), fcm_envelope_evaluate(), fix_connected_bone(), generate_vert_coordinates(), SkyTextureNode::get_sun_average_radiance(), gpencil_frame_mirror_cframe(), gpencil_frame_mirror_marker(), gpencil_frame_mirror_xaxis(), gpencil_frame_mirror_yaxis(), HC_relaxation_iteration_uv(), laplacian_relaxation_iteration_uv(), lattice_flip_point_value(), mirror_bezier_xaxis_ex(), mirror_bezier_yaxis_ex(), btQuaternion::nearest(), ScaleUpX::op(), ScaleUpY::op(), paintcurve_slide_modal(), btSphereSphereCollisionAlgorithm::processCollision(), quad_calc_error(), relaxation_iteration_uv(), RNA_def_property_override_funcs(), RNA_struct_override_matches(), blender::math::rotate_direction_around_axis(), SegmentSqrDistance(), set_fcurve_vertex_color(), btSoftBody::setLinearVelocity(), blender::ed::vse::slip_apply_clamp(), btSolveProjectedGaussSeidel::solveMLCP(), state_isect_co_exact(), studiolight_lights_eval(), blender::nodes::node_geo_scale_elements_cc::transform_with_uniform_scale(), ui_view2d_curRect_validate_resize(), uilist_resize_update(), GHOST_NDOFManager::updateButtonsBitmask(), updateClosestVectorAndPoints(), uv_sculpt_stroke_apply(), uv_sculpt_stroke_init(), and blender::ed::transform::viewAxisCorrectCenter().
| IMETHOD Wrench diff | ( | const Wrench & | a, |
| const Wrench & | b, | ||
| double | dt ) |
Definition at line 1216 of file frames.inl.
| IMETHOD double dot | ( | const Twist & | lhs, |
| const Wrench & | rhs ) |
Definition at line 1052 of file frames.inl.
| IMETHOD double dot | ( | const Wrench & | rhs, |
| const Twist & | lhs ) |
Definition at line 1056 of file frames.inl.
| IMETHOD bool Equal | ( | const Frame2 & | a, |
| const Frame2 & | b, | ||
| double | eps ) |
| IMETHOD bool Equal | ( | const Rotation2 & | a, |
| const Rotation2 & | b, | ||
| double | eps ) |
| IMETHOD bool Equal | ( | const Twist & | a, |
| const Twist & | b, | ||
| double | eps ) |
Definition at line 1068 of file frames.inl.
References b, Vector< T, InlineBufferCapacity, Allocator >::data(), eps, Equal(), Equal(), and IMETHOD.
Referenced by Equal(), Equal(), Equal(), Equal(), Equal(), Equal(), Equal(), operator==(), operator==(), operator==(), and operator==().
| IMETHOD bool Equal | ( | const Vector2 & | a, |
| const Vector2 & | b, | ||
| double | eps ) |
| IMETHOD bool Equal | ( | const Wrench & | a, |
| const Wrench & | b, | ||
| double | eps ) |
Definition at line 170 of file frames.inl.
Definition at line 1352 of file frames.inl.
References b, IMETHOD, and operator==().
Definition at line 1395 of file frames.inl.
References b, IMETHOD, and operator==().
Definition at line 1379 of file frames.inl.
References b, IMETHOD, and operator==().
Definition at line 1366 of file frames.inl.
References b, IMETHOD, and operator==().
Definition at line 1392 of file frames.inl.
References b, IMETHOD, and operator==().
Definition at line 415 of file frames.inl.
References rhs.
| IMETHOD Frame2 operator* | ( | const Frame2 & | lhs, |
| const Frame2 & | rhs ) |
Definition at line 966 of file frames.inl.
| IMETHOD Rotation2 operator* | ( | const Rotation2 & | lhs, |
| const Rotation2 & | rhs ) |
Definition at line 906 of file frames.inl.
| Twist operator* | ( | const Twist & | lhs, |
| double | rhs ) |
Definition at line 365 of file frames.inl.
References rhs.
Definition at line 118 of file frames.inl.
References Vector< T, InlineBufferCapacity, Allocator >::data(), and rhs.
Definition at line 91 of file frames.inl.
References Vector< T, InlineBufferCapacity, Allocator >::data(), and rhs.
| IMETHOD Vector2 operator* | ( | const Vector2 & | lhs, |
| double | rhs ) |
Definition at line 801 of file frames.inl.
| Wrench operator* | ( | const Wrench & | lhs, |
| double | rhs ) |
Definition at line 262 of file frames.inl.
References rhs.
| Twist operator* | ( | double | lhs, |
| const Twist & | rhs ) |
Definition at line 370 of file frames.inl.
References rhs.
Definition at line 100 of file frames.inl.
References Vector< T, InlineBufferCapacity, Allocator >::data(), and rhs.
| IMETHOD Vector2 operator* | ( | double | lhs, |
| const Vector2 & | rhs ) |
Definition at line 806 of file frames.inl.
| Wrench operator* | ( | double | lhs, |
| const Wrench & | rhs ) |
Definition at line 267 of file frames.inl.
References rhs.
| Twist operator+ | ( | const Twist & | lhs, |
| const Twist & | rhs ) |
Definition at line 381 of file frames.inl.
References rhs.
Definition at line 65 of file frames.inl.
References Vector< T, InlineBufferCapacity, Allocator >::data(), IMETHOD, and rhs.
| IMETHOD Vector2 operator+ | ( | const Vector2 & | lhs, |
| const Vector2 & | rhs ) |
Definition at line 791 of file frames.inl.
| Wrench operator+ | ( | const Wrench & | lhs, |
| const Wrench & | rhs ) |
Definition at line 278 of file frames.inl.
References rhs.
| Twist operator- | ( | const Twist & | arg | ) |
Definition at line 392 of file frames.inl.
| Twist operator- | ( | const Twist & | lhs, |
| const Twist & | rhs ) |
Definition at line 386 of file frames.inl.
References rhs.
Definition at line 458 of file frames.inl.
References Vector< T, InlineBufferCapacity, Allocator >::data().
Definition at line 74 of file frames.inl.
References Vector< T, InlineBufferCapacity, Allocator >::data(), IMETHOD, and rhs.
| IMETHOD Vector2 operator- | ( | const Vector2 & | arg | ) |
Definition at line 851 of file frames.inl.
References IMETHOD.
| IMETHOD Vector2 operator- | ( | const Vector2 & | lhs, |
| const Vector2 & | rhs ) |
Definition at line 796 of file frames.inl.
| Wrench operator- | ( | const Wrench & | arg | ) |
Definition at line 289 of file frames.inl.
| Wrench operator- | ( | const Wrench & | lhs, |
| const Wrench & | rhs ) |
Definition at line 283 of file frames.inl.
References rhs.
| Twist operator/ | ( | const Twist & | lhs, |
| double | rhs ) |
Definition at line 375 of file frames.inl.
References rhs.
Definition at line 109 of file frames.inl.
References Vector< T, InlineBufferCapacity, Allocator >::data(), and rhs.
| IMETHOD Vector2 operator/ | ( | const Vector2 & | lhs, |
| double | rhs ) |
Definition at line 811 of file frames.inl.
| Wrench operator/ | ( | const Wrench & | lhs, |
| double | rhs ) |
Definition at line 272 of file frames.inl.
References rhs.
Definition at line 1343 of file frames.inl.
References b, Equal(), and IMETHOD.
Referenced by operator!=(), operator!=(), operator!=(), operator!=(), and operator!=().
| IMETHOD bool operator== | ( | const Twist & | a, |
| const Twist & | b ) |
Definition at line 1370 of file frames.inl.
Definition at line 1356 of file frames.inl.
References b, Vector< T, InlineBufferCapacity, Allocator >::data(), Equal(), and IMETHOD.
| IMETHOD bool operator== | ( | const Wrench & | a, |
| const Wrench & | b ) |
Definition at line 1383 of file frames.inl.
Definition at line 1335 of file frames.inl.
| IMETHOD void posrandom | ( | Rotation & | R | ) |
Definition at line 1325 of file frames.inl.
References beta(), IMETHOD, posrandom(), and R.
| IMETHOD void posrandom | ( | Twist & | a | ) |
Definition at line 1316 of file frames.inl.
References IMETHOD, and posrandom().
Definition at line 1311 of file frames.inl.
References IMETHOD, and posrandom().
Referenced by posrandom(), posrandom(), posrandom(), and posrandom().
| IMETHOD void posrandom | ( | Wrench & | a | ) |
Definition at line 1320 of file frames.inl.
References IMETHOD, and posrandom().
Definition at line 1306 of file frames.inl.
| IMETHOD void random | ( | Rotation & | R | ) |
| IMETHOD void random | ( | Twist & | a | ) |
Definition at line 1287 of file frames.inl.
addDelta operator for displacement rotational velocity.
The Vector arguments here represent a displacement rotational velocity. i.e. a rotation around a fixed axis for a certain angle. For this representation you cannot use diff() but have to use diff_displ().
| a | : displacement rotational velocity |
| da | : rotational velocity |
IMETHOD Vector addDelta_displ(const Vector& a,const Vector&da,double dt) { return getRot(addDelta(Rot(a),da,dt)); }
addDelta operator for displacement twist.
The Vector arguments here represent a displacement rotational velocity. i.e. a rotation around a fixed axis for a certain angle. For this representation you cannot use diff() but have to use diff_displ().
| a | : displacement twist |
| da | : twist |
IMETHOD Twist addDelta_displ(const Twist& a,const Twist&da,double dt) { return Twist(addDelta(a.vel,da.vel,dt),addDelta_displ(a.rot,da.rot,dt)); }
Definition at line 1282 of file frames.inl.
References IMETHOD, and random().
Referenced by blender::workbench::Material::Material(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), posrandom(), random(), random(), random(), random(), random(), blender::index_mask::random_mask(), svm_node_closure_bsdf(), svm_node_particle_info(), and wind_func().
| IMETHOD void random | ( | Wrench & | a | ) |
Definition at line 1291 of file frames.inl.
axis_a_b is a rotation vector, its norm is a rotation angle axis_a_b rotates the a frame towards the b frame. This routine returns the rotation matrix R_a_b
Definition at line 1143 of file frames.inl.
References angle(), cos, IMETHOD, and sin.
Referenced by addDelta().
| IMETHOD void SetToZero | ( | Twist & | v | ) |
Definition at line 1107 of file frames.inl.
References IMETHOD, SetToZero(), and v.
Definition at line 1104 of file frames.inl.
Referenced by BKE_pose_rest(), SetToZero(), and SetToZero().
| IMETHOD void SetToZero | ( | Vector2 & | v | ) |
Definition at line 1116 of file frames.inl.
| IMETHOD void SetToZero | ( | Wrench & | v | ) |
Definition at line 1111 of file frames.inl.
References IMETHOD, SetToZero(), and v.