Home
last modified time | relevance | path

Searched refs:Matrix3 (Results 1 - 20 of 20) sorted by relevance

/foundation/multimodalinput/input/util/common/include/
H A Dmmi_matrix3.h31 class Matrix3 { class
33 static const Matrix3 ZERO;
34 static const Matrix3 IDENTITY;
35 Matrix3();
36 Matrix3(T m00, T m01, T m02, T m10, T m11, T m12, T m20, T m21, T m22);
37 Matrix3(std::vector<T> M);
39 Matrix3(const Matrix3& matrix) noexcept = default;
41 explicit Matrix3(const T* v);
43 ~Matrix3();
93 Matrix3<T>::Matrix3() Matrix3() function in OHOS::MMI::Matrix3
97 Matrix3<T>::Matrix3(T m00, T m01, T m02, T m10, T m11, T m12, T m20, T m21, T m22) Matrix3() function in OHOS::MMI::Matrix3
113 Matrix3<T>::Matrix3(std::vector<T> matrix) Matrix3() function in OHOS::MMI::Matrix3
125 Matrix3<T>::Matrix3(const T* v) Matrix3() function in OHOS::MMI::Matrix3
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_matrix3.h30 class Matrix3 { class
32 static const Matrix3 ZERO;
33 static const Matrix3 IDENTITY;
34 Matrix3();
35 Matrix3(T m00, T m01, T m02, T m10, T m11, T m12, T m20, T m21, T m22);
37 Matrix3(const Matrix3& matrix) noexcept = default;
39 explicit Matrix3(const T* v);
41 ~Matrix3();
47 Matrix3 Invers
91 Matrix3<T>::Matrix3() Matrix3() function in OHOS::Rosen::Matrix3
95 Matrix3<T>::Matrix3(T m00, T m01, T m02, T m10, T m11, T m12, T m20, T m21, T m22) Matrix3() function in OHOS::Rosen::Matrix3
111 Matrix3<T>::Matrix3(const T* v) Matrix3() function in OHOS::Rosen::Matrix3
[all...]
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/
H A Dgraphic_math.h336 class Matrix3 : public HeapBase { class
339 * @brief Defines a <b>Matrix3</b> instance and initializes the 3 x 3 matrix data.
344 Matrix3();
347 * @brief Defines a <b>Matrix3</b> instance and initializes the 3 x 3 matrix data.
361 Matrix3(T m00, T m01, T m02, T m10, T m11, T m12, T m20, T m21, T m22);
364 * @brief A destructor used to delete the <b>Matrix3</b> instance.
368 ~Matrix3() {} in ~Matrix3()
395 Matrix3 Inverse() const;
406 static Matrix3 Rotate(T angle, const Vector2<T>& pivot);
417 static Matrix3 Scal
459 Matrix3<T>::Matrix3() Matrix3() function in OHOS::Matrix3
473 Matrix3<T>::Matrix3(T m00, T m01, T m02, T m10, T m11, T m12, T m20, T m21, T m22) Matrix3() function in OHOS::Matrix3
[all...]
H A Dtrans_affine.h30 class TransAffine : public Matrix3<float> {
37 TransAffine() : Matrix3<float>() {} in TransAffine()
44 : Matrix3<float>(v0, v2, v4, v1, v3, v5, 0, 0, 1) {} in TransAffine()
H A Dtransform.h235 Matrix3<float> invMatrix_;
/foundation/graphic/graphic_utils_lite/test/
H A Dgraphic_math_unit_test.cpp429 Matrix3<uint16_t>* matrix = new Matrix3<uint16_t>(1, 1, 1, 1, 1, 1, 1, 1, 1); in HWTEST_F()
447 Matrix3<uint16_t> matrix1(1, 1, 1, 1, 1, 1, 1, 1, 1); in HWTEST_F()
459 Matrix3<uint16_t> matrix2(1, 2, 3, 4, 5, 6, 7, 8, 9); in HWTEST_F()
460 Matrix3<uint16_t> matrix3 = matrix1 * matrix2; in HWTEST_F()
491 Matrix3<uint16_t> matrix1(1, 1, 1, 1, 1, 1, 1, 1, 1); in HWTEST_F()
516 Matrix3<uint16_t>* matrix = new Matrix3<uint16_t>(1, 0, 0, 1, 0, 0, 1, 0, 0); in HWTEST_F()
537 Matrix3<uint16_t>* matrix = new Matrix3<uint16_ in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Dmatrix3.cpp19 void Matrix3::SetEntry(int32_t row, int32_t col, double value) in SetEntry()
27 bool Matrix3::Invert(Matrix3& matrix) const in Invert()
64 Matrix3N Matrix3::operator*(const Matrix3N& matrix) const in operator *()
80 Matrix3 Matrix3::Transpose() const in Transpose()
82 Matrix3 matrix; in Transpose()
91 std::vector<double> Matrix3::MapScalars(const std::vector<double>& src) const in MapScalars()
107 bool Matrix3::MapScalars(const std::vector<double>& src, std::vector<double>& result) const in MapScalars()
137 Matrix3 Matrix3
139 Matrix3 Matrix3; operator *() local
[all...]
H A Dmatrix3.h27 class ACE_EXPORT Matrix3 { class
32 Matrix3() = default;
33 ~Matrix3() = default;
38 bool Invert(Matrix3& matrix) const;
40 inline Matrix3& operator*(double num) in operator *()
68 Matrix3 Transpose() const;
114 Matrix3 operator*(const MatrixN3& matrix) const;
H A Dleast_square_impl.cpp24 if (xVals_.size() <= 1 || ((paramsNum_ != Matrix3::DIMENSION) && (paramsNum_ != Matrix4::DIMENSION))) { in GetLeastSquareParams()
53 if (paramsNum_ == Matrix3::DIMENSION) { in GetLeastSquareParams()
61 Matrix3 invert; in GetLeastSquareParams()
/foundation/window/window_manager/utils/include/
H A Dwm_math.h187 struct Matrix3 { struct
190 friend Matrix3 operator*(const Matrix3& left, const Matrix3& right);
191 Matrix3& operator*=(const Matrix3& right);
192 static const Matrix3 Identity;
212 Matrix3 CreateScale(float xScale, float yScale);
215 Matrix3 CreateRotation(float theta);
217 Matrix3 CreateTranslatio
[all...]
/foundation/arkui/ace_engine/test/unittest/base/
H A Dmatrix3_test.cpp53 * @tc.desc: Test the function SetEntry of the classes Matrix3, Matrix3N and MatrixN3.
61 Matrix3 matrixObj1; in HWTEST_F()
69 * @tc.steps2: Call the function SetEntry of the classes Matrix3. in HWTEST_F()
103 * @tc.desc: Test the function Transpose of the classes Matrix3, Matrix3N and MatrixN3.
111 Matrix3 matrixObj1; in HWTEST_F()
119 * @tc.steps2: Call the function Transpose of the classes Matrix3. in HWTEST_F()
122 Matrix3 matrixObj2 = matrixObj1.Transpose(); in HWTEST_F()
142 * @tc.desc: Test the function inverse of the class Matrix3.
150 Matrix3 matrixObj1; in HWTEST_F()
152 Matrix3 matrixObj in HWTEST_F()
[all...]
/foundation/window/window_manager/utils/src/
H A Dwm_math.cpp20 const Matrix3 Matrix3::Identity = { {
32 Matrix3 operator*(const Matrix3& left, const Matrix3& right) in operator *()
52 Matrix3& Matrix3::operator*=(const Matrix3& right) in operator *=()
186 Matrix3 CreateScale(float xScale, float yScale) in CreateScale()
197 Matrix3 CreateRotatio
[all...]
/foundation/window/window_manager/test/fuzztest/wms/windowutilmath_fuzzer/
H A Dwindowutilmath_fuzzer.cpp44 size_t InitMatrix3(OHOS::Rosen::TransformHelper::Matrix3& mat3, in InitMatrix3()
102 OHOS::Rosen::TransformHelper::Matrix3 left3; in WindowUtilMathFuzzPart1()
103 OHOS::Rosen::TransformHelper::Matrix3 right3; in WindowUtilMathFuzzPart1()
106 OHOS::Rosen::TransformHelper::Matrix3 result = left3 * right3; in WindowUtilMathFuzzPart1()
155 OHOS::Rosen::TransformHelper::Matrix3 mat3; in WindowUtilMathFuzzPart2()
/foundation/arkui/ui_lite/frameworks/dock/
H A Dscreen_device.h182 const Matrix3<float>& transformMatrix, in HardwareTransform()
H A Dscreen_device_proxy.h83 const Matrix3<float>& transformMatrix, in HardwareTransform()
/foundation/graphic/graphic_utils_lite/frameworks/
H A Dgraphic_math.cpp177 bool IsIdentity(Matrix3<float>& matrix) in IsIdentity()
H A Dtransform.cpp319 Matrix3<float> matrix3(matrix_[0][0], matrix_[0][1], matrix_[0][3], in SetMatrix()
/foundation/arkui/ui_lite/test/unittest/common/
H A Dhardware_acceleration_unit_test.cpp70 const Matrix3<float>& transformMatrix,
/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_utils.h176 Matrix3<float> matrix;
H A Ddraw_utils.cpp1881 Matrix3<float> matrix3(matrix[0][0], matrix[0][1], matrix[0][3], matrix[1][0], matrix[1][1], matrix[1][3],
1883 transMap.invMatrix_ = (matrix3 * (Matrix3<float>::Translate(Vector2<float>(rect.GetX(), rect.GetY())))).Inverse();

Completed in 15 milliseconds