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.
Contains properties for the visualization of objects as VtkVisPipelineItems.
VTK source object for the visualisation of station data (including boreholes)
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.
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.
static VtkStationSource * New()
Create new objects with New() because of VTKs object reference counting.
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
const std::map< std::string, DataHolderLib::Color > & getColorLookupTable() const
void PrintSelf(ostream &os, vtkIndent indent) override
Prints its data on a stream.
vtkTypeMacro(VtkStationSource, vtkPolyDataAlgorithm)