Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/utils/
H A Dpoint3_test.cpp52 EXPECT_EQ(0.0f, point3->GetZ());
97 EXPECT_EQ(3.0f, point3->GetZ());
112 EXPECT_EQ(6.0f, point3->GetZ());
182 EXPECT_EQ(1.0f, point3->GetZ());
213 EXPECT_EQ(3.0f, point1.GetZ());
230 EXPECT_EQ(1.0f, point1.GetZ());
280 EXPECT_EQ(6.0f, point3.GetZ());
296 EXPECT_EQ(2.0f, point3.GetZ());
312 EXPECT_EQ(3.0f, point3.GetZ());
328 EXPECT_EQ(5.0f, point3.GetZ());
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/base/
H A Dquaternion_test.cpp48 EXPECT_DOUBLE_EQ(quaternion1.GetZ(), NUM_D1);
54 EXPECT_DOUBLE_EQ(quaternion2.GetZ(), -NUM_D1);
60 EXPECT_DOUBLE_EQ(quaternion3.GetZ(), NUM_D1);
66 EXPECT_DOUBLE_EQ(quaternion4.GetZ(), NUM_D1);
73 EXPECT_DOUBLE_EQ(quaternion5.GetZ(), NUM_D1);
80 EXPECT_DOUBLE_EQ(quaternion7.GetZ(), NUM_D3);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/model/
H A Dmodel_position.h31 pos_ = Vec3(src.GetX(), src.GetY(), src.GetZ(), src.GetPosition().GetAnimationOption()); in ModelPosition()
82 float GetZ() const in GetZ() function
84 return pos_.GetZ(); in GetZ()
/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/include/data_type/
H A Dposition.h57 float GetZ() const in GetZ() function
59 return pos_.GetZ(); in GetZ()
H A Dvec3.h29 float GetZ() const { return z_; } in GetZ() function
H A Dquaternion.h35 float GetZ() const in GetZ() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Dquaternion.h37 double GetZ() const in GetZ() function
116 return Quaternion(q.GetX() * s, q.GetY() * s, q.GetZ() * s, q.GetW() * s);
122 return Quaternion(q.GetX() * s, q.GetY() * s, q.GetZ() * s, q.GetW() * s);
H A Dvec3.h63 float GetZ() const in GetZ() function
105 z_ = AnimatableFloat(newValue.GetZ(), animationOption_);
H A Ddimension_offset.h51 const std::optional<Dimension>& GetZ() const in GetZ() function
H A Dtransform_util.cpp102 double z = decomp.quaternion.GetZ(); in BuildRotationMatrix()
359 .append(std::to_string(quaternion.GetZ())) in ToString()
/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/include/data_type/geometry/
H A Dgeometry.h43 && GetPosition().GetZ() == obj.GetPosition().GetZ(); in PositionEquals()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/
H A Dpoint3.h35 inline scalar GetZ() const;
64 inline Point3::Point3(const Point3& p) noexcept : x_(p.GetX()), y_(p.GetY()), z_(p.GetZ()) {} in Point3()
78 inline scalar Point3::GetZ() const in GetZ() function
/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/
H A Dlume_common.cpp1188 node->SetPosition({pos.GetX(), pos.GetY(), pos.GetZ()}); in CreateGeometry()
1253 shapeNode->SetPosition({pos.GetX(), pos.GetY(), pos.GetZ()}); in UpdateNodePosition()
1468 light->GetLightColor().GetZ()); in UpdateLights()
1485 light->GetLightColor().GetZ()); in UpdateLights()
1568 float z = (radius * BASE_NS::Math::cos((BASE_NS::Math::DEG2RAD * position.GetZ()))); in SetupCameraTransform()
1572 cameraPosition_ = BASE_NS::Math::Vec3(position.GetX(), position.GetY(), position.GetZ()); in SetupCameraTransform()
1578 rotation.GetX(), rotation.GetY(), rotation.GetZ(), rotation.GetW()); in SetupCameraTransform()
1581 BASE_NS::Math::Vec3 look(lookAt.GetX(), lookAt.GetY(), lookAt.GetZ()); in SetupCameraTransform()
1582 BASE_NS::Math::Vec3 upTmp(up.GetX(), up.GetY(), up.GetZ()); in SetupCameraTransform()
1685 light->GetPosition().GetZ()); in GetLightPositionAndRotation()
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/rosen/
H A Dtesting_point3.h39 virtual float GetZ() const in GetZ() function
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/point3_fuzzer/
H A Dpoint3_fuzzer.cpp50 point3.GetZ(); in Point3FuzzTest000()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Drender_property.cpp347 if (center.GetZ().has_value()) { in ToJsonValue()
348 jsonValue->Put("centerZ", center.GetZ().value().ToString().c_str()); in ToJsonValue()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_obj_geometry.h252 float GetZ() const in GetZ() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/transform/
H A Drosen_render_transform.cpp80 transform.quaternion.GetZ(), in SyncTransformToRsNode()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_render_context.cpp1844 auto& z = center.GetZ(); in OnTransformCenterUpdate()
1873 … static_cast<float>(transform.quaternion.GetY()), static_cast<float>(transform.quaternion.GetZ()), in OnTransformMatrixUpdate()
6451 if (vec.GetZ().has_value()) {
6452 float zPivot = static_cast<float>(vec.GetZ().value().ConvertToVp());
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_properties.cpp566 return boundsGeo_->GetZ(); in GetPositionZ()