Home
last modified time | relevance | path

Searched refs:Geometry (Results 1 - 13 of 13) sorted by relevance

/foundation/graphic/graphic_3d/3d_widget_adapter/include/data_type/geometry/
H A Dgeometry.h23 class Geometry { class
25 Geometry(std::string name, Vec3& position, bool castShadows = false, bool receiveShadows = false) : name_(name), in Geometry() function in OHOS::Render3D::Geometry
27 ~Geometry() = default;
30 virtual bool Equals(const Geometry& obj) const in Equals()
39 bool PositionEquals(const Geometry& obj) in PositionEquals()
67 virtual bool IsEqual(const Geometry& obj) const = 0;
H A Dsphere.h22 class Sphere : public Geometry {
25 : Geometry(name, position), radius_(radius), rings_(rings), sectors_(sectors) {}; in Sphere()
48 bool IsEqual(const Geometry& obj) const override
H A Dcone.h22 class Cone : public Geometry {
24 Cone(std::string name, float radius, float length, float sectors, Vec3& position) : Geometry(name, position), in Cone()
48 bool IsEqual(const Geometry& obj) const override
H A Dcube.h22 class Cube : public Geometry {
24 Cube(std::string name, float width, float height, float depth, Vec3& position) : Geometry(name, position), in Cube()
48 bool IsEqual(const Geometry& obj) const override
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/model/
H A Dmodel_paint_property.h42 propModelGeometries_ = std::vector<std::shared_ptr<Render3D::Geometry>> {}; in ModelPaintProperty()
161 void OnModelSingleGeometryUpdate(const std::shared_ptr<Render3D::Geometry>& geometry) in OnModelSingleGeometryUpdate()
219 ModelGeometries, std::vector<std::shared_ptr<Render3D::Geometry>>, PROPERTY_UPDATE_RENDER);
221 ModelSingleGeometry, std::shared_ptr<Render3D::Geometry>, PROPERTY_UPDATE_RENDER);
/foundation/graphic/graphic_3d/3d_widget_adapter/core/include/lume/
H A Dlume_common.h134 void UpdateGeometries(const std::vector<std::shared_ptr<Geometry>>& shapes) override;
172 void LoadCustGeometry(const std::vector<std::shared_ptr<Geometry>>& shapes);
238 std::vector<std::shared_ptr<Geometry>> shapes_;
239 std::unordered_map<std::string, std::shared_ptr<Geometry>> shapesMap_;
/foundation/graphic/graphic_3d/3d_widget_adapter/include/
H A Dwidget_adapter.h54 bool UpdateGeometries(const std::vector<std::shared_ptr<Geometry>>& shapes);
H A Di_engine.h67 virtual void UpdateGeometries(const std::vector<std::shared_ptr<Geometry>>& shapes) = 0;
/foundation/graphic/graphic_3d/3d_widget_adapter/test/
H A D3d_widget_adapter_test.h60 void UpdateGeometries(const std::vector<std::shared_ptr<Geometry>> &shapes) override;
H A D3d_widget_adapter_test.cpp94 void EngineTest::UpdateGeometries(const std::vector<std::shared_ptr<Geometry>> &shapes) in UpdateGeometries()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dmesh_util.cpp98 struct Geometry { struct
105 void GenerateCubeGeometry(float width, float height, float depth, Geometry<uint16_t> geometry) in GenerateCubeGeometry()
145 void GenerateSphereGeometry(float radius, uint32_t rings, uint32_t sectors, Geometry<uint32_t> geometry) in GenerateSphereGeometry()
196 float radius, float length, uint32_t sectors, Geometry<uint32_t> geometry, const vector<Math::Vec2>& unitCoords) in GenerateConeCap()
235 void GenerateConeGeometry(float radius, float length, uint32_t sectors, Geometry<uint32_t> geometry) in GenerateConeGeometry()
307 float majorRadius, float minorRadius, uint32_t majorSectors, uint32_t minorSectors, Geometry<uint32_t> geometry) in GenerateTorusGeometry()
/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/
H A Dlume_common.cpp337 void LumeCommon::UpdateGeometries(const std::vector<std::shared_ptr<Geometry>>& shapes) in UpdateGeometries()
340 auto find = std::find_if(shapes.begin(), shapes.end(), [&shape](const std::shared_ptr<Geometry>& sNew) { in UpdateGeometries()
1180 const std::shared_ptr<Geometry>& geometryEntity, CORE3D_NS::INodeSystem& nodeSystem, in CreateGeometry()
1200 std::shared_ptr<Geometry>& shape, CORE3D_NS::INodeSystem& nodeSystem) in DestroyNode()
1212 CORE3D_NS::IMeshUtil& meshUtil, const std::shared_ptr<Geometry>& entity, in CreateNode()
1247 std::shared_ptr<Geometry>& shape, CORE3D_NS::INodeSystem& nodeSystem) in UpdateNodePosition()
1260 void LumeCommon::LoadCustGeometry(const std::vector<std::shared_ptr<Geometry>>& shapes) in LoadCustGeometry()
1289 auto find = std::find_if(shapes_.begin(), shapes_.end(), [&shape](const std::shared_ptr<Geometry>& sOld) { in LoadCustGeometry()
1294 const std::shared_ptr<OHOS::Render3D::Geometry>& oldShape = *find; in LoadCustGeometry()
/foundation/graphic/graphic_3d/3d_widget_adapter/src/
H A Dwidget_adapter.cpp97 bool WidgetAdapter::UpdateGeometries(const std::vector<std::shared_ptr<Geometry>>& shapes) in UpdateGeometries()

Completed in 9 milliseconds