/foundation/graphic/graphic_3d/3d_widget_adapter/include/data_type/geometry/ |
H A D | geometry.h | 23 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 D | sphere.h | 22 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 D | cone.h | 22 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 D | cube.h | 22 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 D | model_paint_property.h | 42 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 D | lume_common.h | 134 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 D | widget_adapter.h | 54 bool UpdateGeometries(const std::vector<std::shared_ptr<Geometry>>& shapes);
|
H A D | i_engine.h | 67 virtual void UpdateGeometries(const std::vector<std::shared_ptr<Geometry>>& shapes) = 0;
|
/foundation/graphic/graphic_3d/3d_widget_adapter/test/ |
H A D | 3d_widget_adapter_test.h | 60 void UpdateGeometries(const std::vector<std::shared_ptr<Geometry>> &shapes) override;
|
H A D | 3d_widget_adapter_test.cpp | 94 void EngineTest::UpdateGeometries(const std::vector<std::shared_ptr<Geometry>> &shapes) in UpdateGeometries()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | mesh_util.cpp | 98 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 D | lume_common.cpp | 337 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 D | widget_adapter.cpp | 97 bool WidgetAdapter::UpdateGeometries(const std::vector<std::shared_ptr<Geometry>>& shapes) in UpdateGeometries()
|