![]() |
OGS
|
|
A BaseItem contains additional Information about a subtree in the StationTreeModel.
It is used for list names in the StationTreeModel and it contains the vtkObject for visualisation of the whole list in 3D.
Definition at line 21 of file BaseItem.h.
#include <BaseItem.h>
Public Member Functions | |
| BaseItem (const QString &listName, const std::vector< GeoLib::Point * > *stations=nullptr) | |
| ~BaseItem () | |
| QModelIndex | modelIndex () const |
| Returns the associated QModelIndex which belongs to a Qt model. | |
| void | setModelIndex (QModelIndex index) |
| Sets the model index. | |
| const std::vector< GeoLib::Point * > * | getStations () |
| vtkPolyDataAlgorithm * | vtkSource () const |
| Returns the Vtk polydata source object. | |
Private Attributes | |
| QModelIndex | _modelIndex |
| const std::vector< GeoLib::Point * > * | _stations |
| vtkPolyDataAlgorithm * | _vtkSource |
|
inlineexplicit |
Definition at line 24 of file BaseItem.h.
References _stations, _vtkSource, VtkAlgorithmProperties::SetName(), and VtkStationSource::setStations().
|
inline |
|
inline |
Definition at line 44 of file BaseItem.h.
References _stations.
Referenced by StationTreeView::writeStratigraphiesAsImages().
|
inline |
Returns the associated QModelIndex which belongs to a Qt model.
Definition at line 39 of file BaseItem.h.
References _modelIndex.
|
inline |
Sets the model index.
Definition at line 42 of file BaseItem.h.
References _modelIndex.
Referenced by StationTreeModel::index().
|
inline |
Returns the Vtk polydata source object.
Definition at line 47 of file BaseItem.h.
References _vtkSource.
Referenced by StationTreeModel::vtkSource().
|
private |
Definition at line 50 of file BaseItem.h.
Referenced by modelIndex(), and setModelIndex().
|
private |
Definition at line 51 of file BaseItem.h.
Referenced by BaseItem(), and getStations().
|
private |
The Vtk data source object. This is the starting point for a Vtk data visualization pipeline.
Definition at line 55 of file BaseItem.h.
Referenced by BaseItem(), ~BaseItem(), and vtkSource().