25#include <vtkPolyDataAlgorithm.h>
39 const std::vector<GeoLib::Point*>* geo_data =
nullptr,
45 QString geo_name = parent->
data(0).toString();
53 const std::vector<GeoLib::Polyline*>* geo_data =
nullptr,
59 QString geo_name = parent->
data(0).toString();
67 const std::vector<GeoLib::Surface*>* geo_data =
nullptr,
73 QString geo_name = parent->
data(0).toString();
Definition of the GEOTYPE enumeration.
Definition of the TreeItem class.
Definition of the VtkPointsSource class.
Definition of the VtkPolylinesSource class.
Definition of the VtkSurfacesSource class.
vtkPolyDataAlgorithm * _vtkSource
vtkPolyDataAlgorithm * vtkSource() const
Returns the Vtk polydata source object.
GeoLib::GEOTYPE getType()
Returns the type of geo-objects contained in the subtree of this item.
GeoObjectListItem(const QList< QVariant > &data, TreeItem *parent, const std::vector< GeoLib::Point * > *geo_data=nullptr, GeoLib::GEOTYPE type=GeoLib::GEOTYPE::POINT)
Constructor for the TreeItem specifying the "Points"-subtree of a geometry.
GeoObjectListItem(const QList< QVariant > &data, TreeItem *parent, const std::vector< GeoLib::Polyline * > *geo_data=nullptr, GeoLib::GEOTYPE type=GeoLib::GEOTYPE::POLYLINE)
Constructor for the TreeItem specifying the "Polylines"-subtree of a geometry.
~GeoObjectListItem() override
GeoObjectListItem(const QList< QVariant > &data, TreeItem *parent, const std::vector< GeoLib::Surface * > *geo_data=nullptr, GeoLib::GEOTYPE type=GeoLib::GEOTYPE::SURFACE)
Constructor for the TreeItem specifying the "Surfaces"-subtree of a geometry.
Objects nodes for the TreeModel.
virtual QVariant data(int column) const
VtkPointsSource is a VTK source object for the visualization of point data. As a vtkPolyDataAlgorithm...
VtkPolylinesSource is a VTK source object for the visualisation of polyline data. As a vtkPolyDataAlg...
VTK source object for the visualisation of surfaces. Technically, surfaces are displayed as triangula...