6#include <vtkPointData.h>
7#include <vtkSmartPointer.h>
16 vtkAlgorithm* inputAlgorithm)
29 point_cloud_filter->SetInputConnection(
_inputAlgorithm->GetOutputPort());
32 (*_algorithmUserProperties)[
"Points per pixel"] =
33 static_cast<int>(point_cloud_filter->GetPointsPerPixel());
34 point_cloud_filter->Update();
42 if ((name ==
"Points per pixel") && (value.toInt() > 0))
45 ->SetPointsPerPixel(
static_cast<vtkIdType
>(value.toInt()));
50 QString name, QList<QVariant> values)
virtual void SetUserProperty(QString name, QVariant value)
Sets a user property. This should be implemented by subclasses.
vtkAlgorithm * _outputAlgorithm
int _outputDataObjectType
VtkCompositeFilter(vtkAlgorithm *inputAlgorithm)
Constructor.
vtkAlgorithm * _inputAlgorithm
void SetUserProperty(QString name, QVariant value) override
Sets a user property. This should be implemented by subclasses.
VtkCompositeImageToSurfacePointsFilter(vtkAlgorithm *inputAlgorithm)
void SetUserVectorProperty(QString name, QList< QVariant > values) override
Sets a vector user property. This should be implemented by subclasses.
static VtkImageDataToSurfacePointsFilter * New()
Create a new objects (required because of VTKs reference counting)