19#include <vtkPolyDataAlgorithm.h>
43 void PrintSelf(ostream& os, vtkIndent indent)
override;
53 vtkInformationVector** inputVector,
54 vtkInformationVector* outputVector)
override;
57 vtkInformationVector** inputVector,
58 vtkInformationVector* outputVector)
override;
61 const std::vector<GeoLib::Polyline*>*
_polylines{
nullptr};
Definition of the VtkAlgorithmProperties class.
Contains properties for the visualization of objects as VtkVisPipelineItems.
VtkPolylinesSource is a VTK source object for the visualisation of polyline data. As a vtkPolyDataAlg...
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
void setPolylines(const std::vector< GeoLib::Polyline * > *polylines)
Sets the polyline vector.
~VtkPolylinesSource() override
static VtkPolylinesSource * New()
Create new objects with New() because of VTKs object reference counting.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Computes the polygonal data object.
vtkTypeMacro(VtkPolylinesSource, vtkPolyDataAlgorithm)
const std::vector< GeoLib::Polyline * > * _polylines
The polylines to visualize.
void SetUserProperty(QString name, QVariant value) override
Sets a user property. This should be implemented by subclasses.
void PrintSelf(ostream &os, vtkIndent indent) override
Prints its data on a stream.