|
HighMap library (C++)
|
This is the complete list of members for hmap::Forest, including all inherited members.
| at(size_t index) | hmap::ScatterField | |
| at(size_t index) const | hmap::ScatterField | |
| back() | hmap::ScatterField | |
| back() const | hmap::ScatterField | |
| begin() noexcept | hmap::ScatterField | inline |
| begin() const noexcept | hmap::ScatterField | inline |
| capacity() const noexcept | hmap::ScatterField | inline |
| cbegin() const noexcept | hmap::ScatterField | inline |
| cend() const noexcept | hmap::ScatterField | inline |
| clear() noexcept | hmap::ScatterField | inline |
| data() noexcept | hmap::ScatterField | inline |
| data() const noexcept | hmap::ScatterField | inline |
| densify(float default_radius=HMAP_DEFAULT_SCATTER_RADIUS) | hmap::ScatterField | |
| emplace_back(Args &&...args) | hmap::ScatterField | inline |
| empty() const noexcept | hmap::ScatterField | inline |
| end() noexcept | hmap::ScatterField | inline |
| end() const noexcept | hmap::ScatterField | inline |
| filter_by_class(uint32_t class_id) const | hmap::ScatterField | |
| Forest()=default | hmap::Forest | |
| Forest(const std::vector< Tree > &trees) | hmap::Forest | |
| Forest(std::vector< Tree > &&trees) noexcept | hmap::Forest | |
| Forest(const ScatterField &field) | hmap::Forest | |
| Forest(ScatterField &&field) noexcept | hmap::Forest | |
| Forest(const Cloud &cloud, uint32_t species_id=0, float default_radius=HMAP_DEFAULT_TREE_RADIUS) | hmap::Forest | |
| front() | hmap::ScatterField | |
| front() const | hmap::ScatterField | |
| get_bbox() const | hmap::ScatterField | |
| get_class_ids() const | hmap::ScatterField | |
| get_radius() const | hmap::ScatterField | |
| get_x() const | hmap::ScatterField | |
| get_y() const | hmap::ScatterField | |
| get_z() const | hmap::ScatterField | |
| items | hmap::ScatterField | protected |
| operator[](size_t index) | hmap::ScatterField | inline |
| operator[](size_t index) const | hmap::ScatterField | inline |
| pack_interstitial(size_t count, const Array &density={}, float r_min=5e-4f, float r_max=2e-3f, uint32_t class_id=0, uint32_t seed=0, const UvRect &uv_rect={0.f, 1.f, 0.f, 1.f}) | hmap::ScatterField | |
| perturb_positions(float dx, float dy=0.0f, uint32_t seed=0) | hmap::ScatterField | |
| prune_collisions() | hmap::ScatterField | |
| prune_collisions(const ScatterField &other) | hmap::ScatterField | |
| prune_density(const Array &density_mask, float target_ratio=0.8f, uint32_t seed=0, const UvRect &uv_rect={0.f, 1.f, 0.f, 1.f}) | hmap::ScatterField | |
| prune_unviable(const std::vector< Species > &species={}, bool prune_collisions=true) | hmap::Forest | |
| push_back(const ScatterItem &item) | hmap::ScatterField | inline |
| push_back(ScatterItem &&item) | hmap::ScatterField | inline |
| regularize_positions(size_t k_neighbors=8, float step_size=0.1f, size_t iterations=10) | hmap::ScatterField | |
| reinforce_class_clusters(size_t iterations=2, size_t k_neighbors=4, bool include_self=true) | hmap::ScatterField | |
| reserve(size_t new_cap) | hmap::ScatterField | inline |
| resolve_collisions(size_t iterations=20, float tolerance=0.f, float step_size=2., size_t triangulation_substep=5) | hmap::ScatterField | |
| resolve_collisions(const ScatterField &other, size_t iterations=20, float tolerance=0.f, float step_size=2.f, size_t triangulation_substep=5) | hmap::ScatterField | |
| ScatterField()=default | hmap::ScatterField | |
| ScatterField(const std::vector< ScatterItem > &items) | hmap::ScatterField | |
| ScatterField(std::vector< ScatterItem > &&items) noexcept | hmap::ScatterField | |
| ScatterField(const Cloud &cloud, uint32_t class_id=0, float default_radius=HMAP_DEFAULT_SCATTER_RADIUS) | hmap::ScatterField | |
| set_elevation_from_terrain(const Array &elevation, const UvRect &uv_rect={0.f, 1.f, 0.f, 1.f}) | hmap::ScatterField | |
| shuffle_classes(float ratio=0.1f, size_t k_neighbors=4, uint32_t seed=0) | hmap::ScatterField | |
| size() const noexcept | hmap::ScatterField | inline |
| to_cloud() const | hmap::ScatterField | |
| to_csv(const std::string &fname) const | hmap::ScatterField | |
| to_density_map(glm::ivec2 shape, float sigma=0.0f, std::optional< uint32_t > class_id=std::nullopt, bool weighted_by_area=false, const UvTile ®ion=UvTile::dummy(), ICommunicator &comm=SingleArrayComm::instance()) const | hmap::ScatterField | |
| to_heightmap(glm::ivec2 shape, ScatterShape shape_type=SCATTER_SHAPE_DISK, float height_radius_ratio=1.0f, std::optional< uint32_t > class_id=std::nullopt, Array *p_rock_map=nullptr, uint32_t seed=0, const UvRect &uv_rect=UvRect::unit()) const | hmap::ScatterField | |
| to_img_8bit(glm::ivec2 shape, const Array &background={}, const UvRect &uv_rect=UvRect::unit(), bool flip_y=false) const | hmap::ScatterField | |
| to_ply(const std::string &fname) const | hmap::ScatterField | |
| to_png(const std::string &fname, glm::ivec2 shape, const Array &background={}, const UvRect &uv_rect=UvRect::unit()) const | hmap::ScatterField | |
| to_string() const override | hmap::Forest | virtual |
| ~ScatterField()=default | hmap::ScatterField | virtual |