TTK
Loading...
Searching...
No Matches
ttkGaussianPointCloud.h
Go to the documentation of this file.
1
12
13#pragma once
14
15// VTK Module
16#include <ttkGaussianPointCloudModule.h>
17
18// TTK includes
19#include <GaussianPointCloud.h>
20#include <ttkAlgorithm.h>
21
22class TTKGAUSSIANPOINTCLOUD_EXPORT ttkGaussianPointCloud
23 : public ttkAlgorithm,
24 protected ttk::GaussianPointCloud {
25
26public:
29
30 vtkSetMacro(Dimension, int);
31 vtkGetMacro(Dimension, int);
32
33 vtkSetMacro(NumberOfSamples, int);
34 vtkGetMacro(NumberOfSamples, int);
35
36 vtkSetMacro(RandomSeed, int);
37 vtkGetMacro(RandomSeed, int);
38
39protected:
41
42 int FillOutputPortInformation(int port, vtkInformation *info) override;
43 int RequestData(vtkInformation *request,
44 vtkInformationVector **inputVector,
45 vtkInformationVector *outputVector) override;
46
47private:
48 int Dimension{2};
49 int NumberOfSamples{1000};
50 int RandomSeed{0};
51};
Baseclass of all VTK filters that wrap ttk modules.
virtual int RequestData(vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
int FillOutputPortInformation(int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override
TTK VTK-filter that generates a 1D, 2D or 3D point cloud by randomly casting samples from a Gaussian ...
static ttkGaussianPointCloud * New()
TTK gaussianPointCloud processing package that generates a 1D, 2D or 3D point cloud by randomly casti...