Home
last modified time | relevance | path

Searched refs:matrices (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/
H A Dcircular_arcs.cpp89 for (auto m : matrices) { in OnTestFunction()
103 matrices.push_back(mI); in CreateMatrices()
120 matrices.push_back(m1); in CreateMatrices()
121 matrices.push_back(m2); in CreateMatrices()
122 matrices.push_back(m3); in CreateMatrices()
123 matrices.push_back(m4); in CreateMatrices()
124 matrices.push_back(m5); in CreateMatrices()
125 matrices.push_back(m6); in CreateMatrices()
126 matrices.push_back(m7); in CreateMatrices()
127 return matrices; in CreateMatrices()
[all …]
H A Dshadowutils.cpp47 std::vector<OH_Drawing_Matrix*>& matrices; member
159 std::vector<OH_Drawing_Matrix*>& matrices) in destory_path() argument
167 for (auto m : matrices) { in destory_path()
172 matrices.clear(); in destory_path()
252 for (auto m : param.matrices) { in draw_rect()
270 for (auto m : param.matrices) { in draw_star()
372 std::vector<OH_Drawing_Matrix*> matrices; in draw_paths() local
375 matrices.push_back(mI); in draw_paths()
379 matrices.push_back(matrix); in draw_paths()
382 … DRAW_RECT_PARAM param = { paths, pathsBounds, matrices, mode, lightPos, kHeight, kLightR, kPad }; in draw_paths()
[all …]
H A Dcircular_arcs.h33 …void ApplyRotations(std::vector<OH_Drawing_Matrix*>& matrices, int baseMatrixCnt, float coordinate…
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/
H A Drender_node_default_cameras.cpp160 const Math::Mat4X4 viewProj = jp.proj * currCamera.matrices.view; in ExecuteFrame()
161 dat->view = currCamera.matrices.view; in ExecuteFrame()
165 dat->viewInv = Math::Inverse(currCamera.matrices.view); in ExecuteFrame()
170 … const Math::Mat4X4 viewProjPrevFrame = jpPrevFrame.proj * currCamera.matrices.viewPrevFrame; in ExecuteFrame()
171 dat->viewPrevFrame = currCamera.matrices.viewPrevFrame; in ExecuteFrame()
193 … const Frustum frustum = frustumUtil_->CreateFrustum(jp.baseProj * currCamera.matrices.view); in ExecuteFrame()
217 jp.baseProj = prevFrame ? camera.matrices.projPrevFrame : camera.matrices.proj; in GetProjectionMatrix()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Dskinning_system.cpp209 auto matrices = array_view<Math::Mat4X4>( in UpdateJointTransformations() local
212 std::transform(jointEntities.begin(), jointEntities.end(), ibms.begin(), matrices.begin(), in UpdateJointTransformations()
255 auto const& ibmMatrices = skinIbmHandle->matrices; in UpdateSkin()
369 if (skinIbm.matrices.size() != joints.size()) { in CreateInstance()
371 …"Skin bone count doesn't match the given joints (%zu, %zu)!", skinIbm.matrices.size(), joints.size… in CreateInstance()
391 skinInstance.count = skinIbm.matrices.size(); in CreateInstance()
413 if (skinIbmHandle->matrices.size() != joints.size()) { in CreateInstance()
414 …LOG_E("Skin bone count doesn't match the given joints (%zu, %zu)!", skinIbmHandle->matrices.size(), in CreateInstance()
H A Drender_system.cpp1871 camera.matrices.view = view; in ProcessCameras()
1872 camera.matrices.proj = proj; in ProcessCameras()
1938 … const Frustum frustum = frustumUtil_->CreateFrustum(camera.matrices.proj * camera.matrices.view); in ProcessReflection()
1983 reflCam.matrices.view = reflectedView; in ProcessReflection()
1984 reflCam.matrices.proj = reflectedProjection; in ProcessReflection()
1986 … UpdateAndGetPreviousFrameCameraData({ reflCamId }, reflCam.matrices.view, reflCam.matrices.proj); in ProcessReflection()
1987 reflCam.matrices.viewPrevFrame = prevFrameCamData.view; in ProcessReflection()
1988 reflCam.matrices.projPrevFrame = prevFrameCamData.proj; in ProcessReflection()
2140 …UpdateAndGetPreviousFrameCameraData(lpd.entity, camera.matrices.viewPrevFrame, camera.matrices.pro… in ProcessShadowCamera()
2141 camera.matrices.viewPrevFrame = prevFrameCamData.view; in ProcessShadowCamera()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/ecs/components/
H A Dskin_ibm_component.h32 DEFINE_PROPERTY(BASE_NS::vector<BASE_NS::Math::Mat4X4>, matrices, "Inverse Bind Matrices", 0, )
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/
H A Drender_node_scene_util.cpp259 const Math::Mat4X4 viewInv = Math::Inverse(cameras[cameraId].matrices.view); in GetRenderSlotSubmeshes()
263 …Frustum = frustumUtil->CreateFrustum(cameras[cameraId].matrices.proj * cameras[cameraId].matrices.… in GetRenderSlotSubmeshes()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/render/
H A Drender_data_defines_3d.h507 Matrices matrices; member
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/
H A Ddrawing__canvas_8h.md64 …#oh_drawing_canvas) \*) | Obtains the number of canvas statuses (canvas matrices) saved in the sta…
65 …anvas) \*, uint32_t saveCount) | Restores to a given number of canvas statuses (canvas matrices).|
H A Ddrawing__matrix_8h.md52 …OH_Drawing_Matrix](_drawing.md#oh_drawing_matrix) \*b) | Multiplies two matrices to produce a new …
H A D_drawing.md281 …#oh_drawing_canvas) \*) | Obtains the number of canvas statuses (canvas matrices) saved in the sta…
282 …canvas) \*, uint32_t saveCount) | Restores to a given number of canvas statuses (canvas matrices).|
406 …*a, const [OH_Drawing_Matrix](#oh_drawing_matrix) \*b) | Multiplies two matrices to produce a new …
6984 Obtains the number of canvas statuses (canvas matrices) saved in the stack.
7002 Returns a 32-bit value that describes the number of canvas statuses (canvas matrices). The initial …
7184 Restores to a given number of canvas statuses (canvas matrices).
7199 | saveCount | Number of canvas statuses (canvas matrices). If the value is less than or equ…
9523 Multiplies two matrices to produce a new matrix.
9752 Returns **true** if the two matrices are equal; returns **false** otherwise.
H A Djs-apis-graphics-drawing.md2882 Obtains the number of canvas statuses (canvas matrices) saved in the stack.
2917 Restores to a given number of canvas statuses (canvas matrices).
6751 | Boolean | Comparison result of the two matrices. The value **true** means that the two matrices a…
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_loader.cpp2334 size_t matrices; in PrimitiveAttributes() local
2335 …if (!ParseOptionalNumber<size_t>(loadResult, matrices, jsonData, "inverseBindMatrices", GLTF_INVAL… in PrimitiveAttributes()
2339 if (matrices != GLTF_INVALID_INDEX && matrices < loadResult.data->accessors.size()) { in PrimitiveAttributes()
2340 skin->inverseBindMatrices = loadResult.data->accessors[matrices].get(); in PrimitiveAttributes()
H A Dgltf2_importer.cpp938 skinIbm.matrices.reserve(skin.joints.size()); in BuildSkinIbmComponent()
947 skinIbm.matrices.insert(skinIbm.matrices.end(), ibls.begin(), ibls.end()); in BuildSkinIbmComponent()
955 skinIbm.matrices.insert(skinIbm.matrices.end(), skin.joints.size(), Math::IDENTITY_4X4); in BuildSkinIbmComponent()
3482 if (!t->data.matrices.empty()) { in PrepareSkinTasks()
H A Dgltf2_exporter.cpp668 … exportSkin->inverseBindMatrices = StoreInverseBindMatrices(ibmHandle->matrices, bufferHelper); in ExportGltfSkins()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A Djs-apis-matrix4.md192 Combines the effects of two matrices to generate a new matrix object. The original matrix that call…
727 Combines the effects of two matrices to generate a new matrix object.
/ohos5.0/docs/en/application-dev/ai/mindspore/
H A Dmindspore-lite-guidelines.md13 **Tensor**: a special data structure that is similar to arrays and matrices. It is basic data struc…
/ohos5.0/docs/en/application-dev/reference/apis-mindspore-lite-kit/
H A Djs-apis-mindSporeLite.md1093 … and APIs defined. It is a special data structure similar to arrays and matrices. It is the basic …
/ohos5.0/docs/en/application-dev/reference/apis-sensor-service-kit/
H A Djs-apis-sensor.md3302 Obtains the angle change between two rotation matrices. This API uses an asynchronous callback to r…
3363 Obtains the angle change between two rotation matrices. This API uses a promise to return the resul…
7028 Obtains the angle change between two rotation matrices. This API uses an asynchronous callback to r…
7066 Obtains the angle change between two rotation matrices. This API uses a promise to return the resul…