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