19#include <vtkPolyDataAlgorithm.h>
39 void PrintSelf(ostream& os, vtkIndent indent)
override;
54 vtkInformationVector** inputVector,
55 vtkInformationVector* outputVector)
override;
58 vtkInformationVector** inputVector,
59 vtkInformationVector* outputVector)
override;
62 const std::vector<GeoLib::Surface*>*
_surfaces{
nullptr};
Definition of the VtkAlgorithmProperties class.
Contains properties for the visualization of objects as VtkVisPipelineItems.
VTK source object for the visualisation of surfaces. Technically, surfaces are displayed as triangula...
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
void PrintSelf(ostream &os, vtkIndent indent) override
Prints its data on a stream.
vtkTypeMacro(VtkSurfacesSource, vtkPolyDataAlgorithm)
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Computes the polygonal data object.
void setSurfaces(const std::vector< GeoLib::Surface * > *surfaces)
Sets the surfaces vector.
const std::vector< GeoLib::Surface * > * _surfaces
The surfaces to visualize.
~VtkSurfacesSource() override=default
static VtkSurfacesSource * New()
Create new objects with New() because of VTKs object reference counting.
void SetUserProperty(QString name, QVariant value) override
Generates random colors for each surface.