Home
last modified time | relevance | path

Searched refs:rotM (Results 1 – 25 of 37) sorted by relevance

12

/dports/graphics/wings/libigl-2.1.0/include/igl/
H A Drotation_matrix_from_directions.cpp18 Eigen::Matrix<Scalar, 3, 3> rotM; in rotation_matrix_from_directions() local
25 return rotM; in rotation_matrix_from_directions()
30 rotM(0,0) = 1.; in rotation_matrix_from_directions()
32 return rotM; in rotation_matrix_from_directions()
47 rotM(0,0) = rcos + u*u*(1-rcos); in rotation_matrix_from_directions()
48 rotM(1,0) = w * rsin + v*u*(1-rcos); in rotation_matrix_from_directions()
49 rotM(2,0) = -v * rsin + w*u*(1-rcos); in rotation_matrix_from_directions()
50 rotM(0,1) = -w * rsin + u*v*(1-rcos); in rotation_matrix_from_directions()
51 rotM(1,1) = rcos + v*v*(1-rcos); in rotation_matrix_from_directions()
52 rotM(2,1) = u * rsin + w*v*(1-rcos); in rotation_matrix_from_directions()
[all …]
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/libigl/igl/
H A Drotation_matrix_from_directions.cpp18 Eigen::Matrix<Scalar, 3, 3> rotM; in rotation_matrix_from_directions() local
25 return rotM; in rotation_matrix_from_directions()
30 rotM(0,0) = 1.; in rotation_matrix_from_directions()
32 return rotM; in rotation_matrix_from_directions()
47 rotM(0,0) = rcos + u*u*(1-rcos); in rotation_matrix_from_directions()
48 rotM(1,0) = w * rsin + v*u*(1-rcos); in rotation_matrix_from_directions()
49 rotM(2,0) = -v * rsin + w*u*(1-rcos); in rotation_matrix_from_directions()
50 rotM(0,1) = -w * rsin + u*v*(1-rcos); in rotation_matrix_from_directions()
51 rotM(1,1) = rcos + v*v*(1-rcos); in rotation_matrix_from_directions()
52 rotM(2,1) = u * rsin + w*v*(1-rcos); in rotation_matrix_from_directions()
[all …]
/dports/graphics/mandelbulber/mandelbulber2-2.26/mandelbulber2/formula/opencl/
H A Dmandelbulb4.cl25 matrix33 rotM;
26 rotM.m1 = (float3){1.0f, 0.0f, 0.0f};
27 rotM.m2 = (float3){0.0f, 1.0f, 0.0f};
28 rotM.m3 = (float3){0.0f, 0.0f, 1.0f};
29 rotM = RotateX(rotM, angX * (fractal->bulb.power - 1.0f));
30 rotM = RotateY(rotM, angY * (fractal->bulb.power - 1.0f));
31 rotM = RotateZ(rotM, angZ * (fractal->bulb.power - 1.0f));
33 z = Matrix33MulFloat4(rotM, z) * rp;
H A Dtransf_rotate_about_vec3.cl68 CMatrix44 rotM = CMatrix44(c + (1.0f - c) * v.x * v.x, (1.0f - c) * v.x * v.y - s * v.z, (1.0f
74 z *= rotM;*/
/dports/graphics/electricsheep/electricsheep-37ba0fd692d6581f8fe009ed11c9650cd8174123/client_generic/Common/Math/
H A DMatrix3x3_x86.h301 CMatrix3x3_x86 rotM; in Rotate_LX() local
303 rotM.M22 = ca; rotM.M23 = -sa; in Rotate_LX()
304 rotM.M32 = sa; rotM.M33 = ca; in Rotate_LX()
306 (*this) = rotM * (*this); in Rotate_LX()
316 CMatrix3x3_x86 rotM; in Rotate_LY() local
317 rotM.M11 = ca; rotM.M13 = sa; in Rotate_LY()
318 rotM.M31 = -sa; rotM.M33 = ca; in Rotate_LY()
330 CMatrix3x3_x86 rotM; in Rotate_LZ() local
331 rotM.M11 = ca; rotM.M12 = -sa; in Rotate_LZ()
332 rotM.M21 = sa; rotM.M22 = ca; in Rotate_LZ()
[all …]
H A DVector3_X86.h214 fp4 rotM[9]; in Rotate() local
220 rotM[0] = ca + (1 - ca) * _axis.m_X * _axis.m_X; in Rotate()
221 rotM[1] = (1 - ca) * _axis.m_X * _axis.m_Y - sa * _axis.m_Z; in Rotate()
222 rotM[2] = (1 - ca) * _axis.m_Z * _axis.m_X + sa * _axis.m_Y; in Rotate()
223 rotM[3] = (1 - ca) * _axis.m_X * _axis.m_Y + sa * _axis.m_Z; in Rotate()
224 rotM[4] = ca + (1 - ca) * _axis.m_Y * _axis.m_Y; in Rotate()
225 rotM[5] = (1 - ca) * _axis.m_Y * _axis.m_Z - sa * _axis.m_X; in Rotate()
228 rotM[8] = ca + (1 - ca) * _axis.m_Z * _axis.m_Z; in Rotate()
231 CVector3_x86 help( rotM[0] * m_X + rotM[1] * m_Y + rotM[2] * m_Z, in Rotate()
232 rotM[3] * m_X + rotM[4] * m_Y + rotM[5] * m_Z, in Rotate()
[all …]
H A DMatrix4x4_x86.h552 CMatrix4x4_x86 rotM; in Rotate() local
553 rotM.M11 = ca + (1.0f - ca) * v.m_X * v.m_X; in Rotate()
554 rotM.M12 = (1.0f - ca) * v.m_X * v.m_Y - sa * v.m_Z; in Rotate()
555 rotM.M13 = (1.0f - ca) * v.m_Z * v.m_X + sa * v.m_Y; in Rotate()
556 rotM.M21 = (1.0f - ca) * v.m_X * v.m_Y + sa * v.m_Z; in Rotate()
557 rotM.M22 = ca + (1.0f - ca) * v.m_Y * v.m_Y; in Rotate()
558 rotM.M23 = (1.0f - ca) * v.m_Y * v.m_Z - sa * v.m_X; in Rotate()
559 rotM.M31 = (1.0f - ca) * v.m_Z * v.m_X - sa * v.m_Y; in Rotate()
560 rotM.M32 = (1.0f - ca) * v.m_Y * v.m_Z + sa * v.m_X; in Rotate()
561 rotM.M33 = ca + (1.0f - ca) * v.m_Z * v.m_Z; in Rotate()
[all …]
/dports/devel/vcglib/vcglib-2020.09/vcg/math/
H A Dshot.h196 Matrix44<S> rotM; in GetExtrinsicsToWorldMatrix() local
204 Matrix44<S> rotM; in GetWorldToExtrinsicsMatrix() local
316 Matrix44<S> rotM; in ConvertWorldToCameraCoordinates() local
317 Extrinsics.rot.ToMatrix(rotM); in ConvertWorldToCameraCoordinates()
327 Matrix44<S> rotM; in ConvertCameraToWorldCoordinates() local
339 Matrix44<S> rotM; in ConvertCameraToWorldCoordinates_Substitute() local
432 Matrix44<S> rotM; in ApplyRigidTransformation() local
446 Matrix44<S> rotM; in ApplySimilarity() local
465 rotM = rotM * M2.transpose(); in ApplySimilarity()
466 Extrinsics.SetRot(rotM); in ApplySimilarity()
[all …]
H A Dold_matrix33.h204 Matrix33<S> rotM;
215 rotM.SetIdentity();
216 return rotM;
232 rotM[0][0] = rcos + u*u*(1-rcos);
233 rotM[1][0] = w * rsin + v*u*(1-rcos);
234 rotM[2][0] = -v * rsin + w*u*(1-rcos);
235 rotM[0][1] = -w * rsin + u*v*(1-rcos);
236 rotM[1][1] = rcos + v*v*(1-rcos);
237 rotM[2][1] = u * rsin + w*v*(1-rcos);
238 rotM[0][2] = v * rsin + u*w*(1-rcos);
[all …]
H A Dmatrix33.h506 Matrix33<S> rotM; variable
517 rotM.SetIdentity();
518 return rotM;
561 rotM[0][0] = rcos + u*u*(1-rcos);
562 rotM[1][0] = w * rsin + v*u*(1-rcos);
563 rotM[2][0] = -v * rsin + w*u*(1-rcos);
564 rotM[0][1] = -w * rsin + u*v*(1-rcos);
565 rotM[1][1] = rcos + v*v*(1-rcos);
566 rotM[2][1] = u * rsin + w*v*(1-rcos);
567 rotM[0][2] = v * rsin + u*w*(1-rcos);
[all …]
/dports/graphics/wdune/wdune-1.926/vcglib/vcg/math/
H A Dshot.h196 Matrix44<S> rotM; in GetExtrinsicsToWorldMatrix() local
204 Matrix44<S> rotM; in GetWorldToExtrinsicsMatrix() local
316 Matrix44<S> rotM; in ConvertWorldToCameraCoordinates() local
317 Extrinsics.rot.ToMatrix(rotM); in ConvertWorldToCameraCoordinates()
327 Matrix44<S> rotM; in ConvertCameraToWorldCoordinates() local
339 Matrix44<S> rotM; in ConvertCameraToWorldCoordinates_Substitute() local
432 Matrix44<S> rotM; in ApplyRigidTransformation() local
446 Matrix44<S> rotM; in ApplySimilarity() local
465 rotM = rotM * M2.transpose(); in ApplySimilarity()
466 Extrinsics.SetRot(rotM); in ApplySimilarity()
[all …]
H A Dold_matrix33.h204 Matrix33<S> rotM;
215 rotM.SetIdentity();
216 return rotM;
232 rotM[0][0] = rcos + u*u*(1-rcos);
233 rotM[1][0] = w * rsin + v*u*(1-rcos);
234 rotM[2][0] = -v * rsin + w*u*(1-rcos);
235 rotM[0][1] = -w * rsin + u*v*(1-rcos);
236 rotM[1][1] = rcos + v*v*(1-rcos);
237 rotM[2][1] = u * rsin + w*v*(1-rcos);
238 rotM[0][2] = v * rsin + u*w*(1-rcos);
[all …]
H A Dmatrix33.h507 Matrix33<S> rotM; variable
518 rotM.SetIdentity();
519 return rotM;
535 rotM[0][0] = rcos + u*u*(1-rcos);
536 rotM[1][0] = w * rsin + v*u*(1-rcos);
537 rotM[2][0] = -v * rsin + w*u*(1-rcos);
538 rotM[0][1] = -w * rsin + u*v*(1-rcos);
539 rotM[1][1] = rcos + v*v*(1-rcos);
540 rotM[2][1] = u * rsin + w*v*(1-rcos);
541 rotM[0][2] = v * rsin + u*w*(1-rcos);
[all …]
/dports/graphics/mandelbulber/mandelbulber2-2.26/mandelbulber2/formula/definition/
H A Dfractal_mandelbulb4.cpp36 CRotationMatrix rotM; in FormulaCode() local
37 rotM.RotateX(angX * (fractal->bulb.power - 1.0)); in FormulaCode()
38 rotM.RotateY(angY * (fractal->bulb.power - 1.0)); in FormulaCode()
39 rotM.RotateZ(angZ * (fractal->bulb.power - 1.0)); in FormulaCode()
41 z = rotM.RotateVector(z) * rp; in FormulaCode()
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/VNL/src/vxl/core/vnl/
H A Dvnl_quaternion.hxx175 vnl_matrix_fixed<T,4,4> rotM = rotation_matrix_transpose_4(); in rotation_euler_angles() local
176 T xy = T(std::sqrt(double(vnl_math::sqr(rotM(0,0)) + vnl_math::sqr(rotM(0,1))))); in rotation_euler_angles()
179 angles(0) = T(std::atan2(double(rotM(1,2)), double(rotM(2,2)))); in rotation_euler_angles()
180 angles(1) = T(std::atan2(double(-rotM(0,2)), double(xy))); in rotation_euler_angles()
181 angles(2) = T(std::atan2(double(rotM(0,1)), double(rotM(0,0)))); in rotation_euler_angles()
185 angles(0) = T(std::atan2(double(-rotM(2,1)), double(rotM(1,1)))); in rotation_euler_angles()
186 angles(1) = T(std::atan2(double(-rotM(0,2)), double(xy))); in rotation_euler_angles()
/dports/misc/vxl/vxl-3.3.2/core/vnl/
H A Dvnl_quaternion.hxx175 vnl_matrix_fixed<T,4,4> rotM = rotation_matrix_transpose_4(); in rotation_euler_angles() local
176 T xy = T(std::sqrt(double(vnl_math::sqr(rotM(0,0)) + vnl_math::sqr(rotM(0,1))))); in rotation_euler_angles()
179 angles(0) = T(std::atan2(double(rotM(1,2)), double(rotM(2,2)))); in rotation_euler_angles()
180 angles(1) = T(std::atan2(double(-rotM(0,2)), double(xy))); in rotation_euler_angles()
181 angles(2) = T(std::atan2(double(rotM(0,1)), double(rotM(0,0)))); in rotation_euler_angles()
185 angles(0) = T(std::atan2(double(-rotM(2,1)), double(rotM(1,1)))); in rotation_euler_angles()
186 angles(1) = T(std::atan2(double(-rotM(0,2)), double(xy))); in rotation_euler_angles()
/dports/graphics/wdune/wdune-1.926/vcglib/wrap/io_edgemesh/
H A Dexport_svg.h191 Matrix33f rotM = RotationMatrix(pro.projDir,Point3f(0,0,1),false); in WriteXmlBody() local
192 Point3f rotatedUp = rotM * pro.projUp; in WriteXmlBody()
193 Point3f rotCenter = rotM * pro.projCenter; in WriteXmlBody()
199 Point3f p0 = (-rotCenter + rotM * ((*i).V(0)->P()))*scale*1000; in WriteXmlBody()
200 Point3f p1 = (-rotCenter + rotM * ((*i).V(1)->P()))*scale*1000; in WriteXmlBody()
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_unsupported/fgt/filter_waffle/
H A Dexport_svg.h196 Matrix33f rotM = RotationMatrix(pro.projDir,Point3f(0,0,1),false); in WriteXmlBody() local
197 Point3f rotatedUp = rotM * pro.projUp; in WriteXmlBody()
198 Point3f rotCenter = rotM * pro.projCenter; in WriteXmlBody()
204 Point3f p0 = (-rotCenter + rotM * ((*i).V(0)->P()))*scale*1000; in WriteXmlBody()
205 Point3f p1 = (-rotCenter + rotM * ((*i).V(1)->P()))*scale*1000; in WriteXmlBody()
/dports/devel/vcglib/vcglib-2020.09/wrap/io_edgemesh/
H A Dexport_svg.h195 Matrix33f rotM = RotationMatrix(pro.projDir,Point3f(0,0,1),false); in WriteXmlBody() local
197 Point3f rotCenter = rotM * pro.projCenter; in WriteXmlBody()
203 Point3f p0 = (-rotCenter + rotM * ((*i).V(0)->P()))*scale*1000; in WriteXmlBody()
204 Point3f p1 = (-rotCenter + rotM * ((*i).V(1)->P()))*scale*1000; in WriteXmlBody()
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/colorfx/
H A Dzigzagstyles.cpp52 TRotation rotM(angle); in draw() local
53 u = rotM * u; in draw()
149 TRotation rotM(tround(ch)); in draw() local
150 u = rotM * u; in draw()
/dports/graphics/Coin/coin-Coin-4.0.0/src/vrml97/
H A DBillboard.cpp296 SbMatrix rotM; in getMatrix() local
297 rotM.setRotate(rot); in getMatrix()
298 action->getMatrix().multLeft(rotM); in getMatrix()
/dports/devel/vcglib/vcglib-2020.09/vcg/complex/algorithms/create/
H A Dplatonic.h543 Matrix44x rotM; variable
545 rotM.SetIdentity();
555 rotM.SetRotateRad(angleRad,axis);
972 Matrix44f rotM; in OrientedAnnulus() local
973 rotM.SetRotateRad(angleRad,axis); in OrientedAnnulus()
1018 Matrix44<ScalarType> rotM; in OrientedDisk() local
1019 rotM.SetRotateRad(angleRad,axis); in OrientedDisk()
1040 Matrix44x rotM; variable
1042 rotM.SetIdentity();
1303 Matrix44f rotM; variable
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/gm/
H A Dconvexpolyclip.cpp150 SkMatrix rotM; in onOnceBeforeDraw() local
151 rotM.setRotate(23.f, rect.centerX(), rect.centerY()); in onOnceBeforeDraw()
152 rotRect.transform(rotM); in onOnceBeforeDraw()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/gm/
H A Dconvexpolyclip.cpp146 SkMatrix rotM; in onOnceBeforeDraw() local
147 rotM.setRotate(23.f, rect.centerX(), rect.centerY()); in onOnceBeforeDraw()
148 fClips.addToTail()->setPath(SkPath::Rect(rect).makeTransform(rotM)); in onOnceBeforeDraw()
/dports/graphics/wdune/wdune-1.926/vcglib/vcg/complex/algorithms/create/
H A Dplatonic.h949 Matrix44f rotM; in OrientedAnnulus() local
950 rotM.SetRotateRad(angleRad,axis); in OrientedAnnulus()
951 tri::UpdatePosition<MeshType>::Matrix(m,rotM); in OrientedAnnulus()
995 Matrix44<ScalarType> rotM; in OrientedDisk() local
996 rotM.SetRotateRad(angleRad,axis); in OrientedDisk()
997 tri::UpdatePosition<MeshType>::Matrix(m,rotM); in OrientedDisk()
1017 Matrix44x rotM; variable
1018 rotM.SetRotateRad(angleRad,axis);
1019 tri::UpdatePosition<MeshType>::Matrix(m,rotM);
1267 Matrix44f rotM; variable
[all …]

12