17#include <vtkPolyDataAlgorithm.h>
48 void PrintSelf(ostream& os, vtkIndent indent)
override;
57 vtkInformationVector** inputVector,
58 vtkInformationVector* outputVector)
override;
61 vtkInformationVector** inputVector,
62 vtkInformationVector* outputVector)
override;
65 const std::vector<GeoLib::Point*>*
_stations{
nullptr};
Definition of the Color class.
Definition of the StationBorehole class.
Definition of the Station class.
Definition of the VtkAlgorithmProperties class.
VtkAlgorithmProperties(QObject *parent=nullptr)
Constructor (sets default values)
std::size_t GetIndexByName(std::string const &name)
std::map< std::string, DataHolderLib::Color > _colorLookupTable
void SetUserProperty(QString name, QVariant value) override
Sets a user property. This should be implemented by subclasses.
static VtkStationSource * New()
Create new objects with New() because of VTKs object reference counting.
std::map< std::string, vtkIdType > _id_map
void setStations(const std::vector< GeoLib::Point * > *stations)
Sets a predefined color lookup table for the colouring of borehole stratigraphies.
const std::vector< GeoLib::Point * > * _stations
The stations to visualize.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Computes the polygonal data object.
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
void PrintSelf(ostream &os, vtkIndent indent) override
Prints its data on a stream.
const std::map< std::string, DataHolderLib::Color > & getColorLookupTable() const
vtkTypeMacro(VtkStationSource, vtkPolyDataAlgorithm)