42 QObject* parent =
nullptr);
79 const std::vector<GeoLib::Point*>*
getPointVec(
const std::string& name)
const;
85 std::string
const& new_name);
91 std::string
const& new_name);
99 std::vector<std::size_t>
const& indexlist,
100 double const proximity,
101 std::string
const& ply_name,
103 bool const triangulatePly);
178 std::string
const& new_name)
override
Definition of the GEOObjects class.
Definition of the GEOTYPE enumeration.
void appendSurfaceVec(std::string const &name) override
void removeSurfaceVec(std::string const &name) override
void appendPolylineVec(std::string const &name) override
void addSurfaceVec(std::string const &name) override
void removePolylineVec(std::string const &name) override
void addStationVec(std::string const &name) override
void removeStationVec(std::string const &name) override
void addPolylineVec(std::string const &name) override
void removePointVec(std::string const &name) override
GEOModelsCallbacks(GEOModels &geo_models)
void renameGeometry(std::string const &old_name, std::string const &new_name) override
void addPointVec(std::string const &name) override
GEOModels connects the data management class GEOObjects and the GUI. It inherits from GeoLib::GEOObje...
std::vector< std::string > getGeometryNames() const
GeoLib::GEOObjects & _geo_objects
void stationVectorAdded(StationTreeModel *model, std::string name)
void addStationVec(std::string const &name)
void addNameForObjectPoints(const std::string &geometry_name, const GeoLib::GEOTYPE object_type, const std::string &geo_object_name, const std::string &new_name)
Adds a generic name to all points that are part of the specified geo-object.
void appendSurfaceVec(std::string const &name)
StationTreeModel * getStationModel()
void renameGeometry(std::string const &old_name, std::string const &new_name)
void addSurfaceVec(std::string const &name)
void removePointVec(std::string const &name)
void addPointVec(std::string const &name)
StationTreeModel * _stationModel
void stationVectorRemoved(StationTreeModel *model, std::string name)
void geoDataAdded(GeoTreeModel *, std::string, GeoLib::GEOTYPE)
void removeStationVec(std::string const &name)
void geoDataRemoved(GeoTreeModel *, std::string, GeoLib::GEOTYPE)
GeoTreeModel * getGeoModel()
const std::vector< GeoLib::Point * > * getPointVec(const std::string &name) const
void updateGeometry(const std::string &geo_name)
void addNameForElement(std::string const &geometry_name, GeoLib::GEOTYPE const object_type, std::size_t const id, std::string const &new_name)
Adds the name 'new_name' for the geo-object specified by the parameters.
void removePolylineVec(std::string const &name)
GEOModels(GeoLib::GEOObjects &geo_objects, QObject *parent=nullptr)
void connectPolylineSegments(const std::string &geoName, std::vector< std::size_t > const &indexlist, double const proximity, std::string const &ply_name, bool const closePly, bool const triangulatePly)
void appendPolylineVec(std::string const &name)
void removeSurfaceVec(std::string const &name)
virtual void removeGeometry(std::string const &geo_name, GeoLib::GEOTYPE const type)
void addPolylineVec(std::string const &name)
Container class for geometric objects.
A model for the GeoTreeView implementing a tree as a double-linked list.
A model for the StationTreeView implementing a tree as a double-linked list.
A hierarchical model for a tree implemented as a double-linked list.