13#include <vtkPolyDataAlgorithm.h>
19class vtkInformationVector;
32 void PrintSelf(ostream& os, vtkIndent indent)
override;
45 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
46 vtkInformationVector* outputVector)
override;
51 vtkSmartPointer<vtkCellArray>& cells,
Definition of the GeoLib::Raster class.
Definition of the VtkAlgorithmProperties class.
Class Raster is used for managing raster data.
vtkSetMacro(PointsPerPixel, vtkIdType)
VtkImageDataToSurfacePointsFilter()
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Updates the graphical object.
vtkGetMacro(PointsPerPixel, vtkIdType)
void createPointSurface(vtkSmartPointer< vtkPoints > &points, vtkSmartPointer< vtkCellArray > &cells, std::size_t pnt_idx, MathLib::Point3d const &min_pnt, MathLib::Point3d const &max_pnt, GeoLib::Raster const &raster)
Creates the point objects based on the parameters set by the user.
~VtkImageDataToSurfacePointsFilter() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Prints information about itself.
static VtkImageDataToSurfacePointsFilter * New()
Create a new objects (required because of VTKs reference counting)
int FillInputPortInformation(int port, vtkInformation *info) override
Sets input port to vtkImageData.
vtkTypeMacro(VtkImageDataToSurfacePointsFilter, vtkPolyDataAlgorithm)
double getRandomNumber(double const &min, double const &max) const
Returns a random number in [min, max].