7#include <vtkPolyDataAlgorithm.h>
10class vtkInformationVector;
25 void PrintSelf(ostream& os, vtkIndent indent)
override;
33 if (name.compare(
"LengthScaleFactor") == 0)
34 SetLengthScaleFactor(value.toDouble());
55 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
56 vtkInformationVector* outputVector)
override;
VtkAlgorithmProperties(QObject *parent=nullptr)
Constructor (sets default values)
VtkImageDataToLinePolyDataFilter()
Constructor.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Converts the image data to lines.
vtkTypeMacro(VtkImageDataToLinePolyDataFilter, vtkPolyDataAlgorithm)
double ImageSpacing
The spacing of the image.
void PrintSelf(ostream &os, vtkIndent indent) override
Prints information about itself.
static VtkImageDataToLinePolyDataFilter * New()
Create new objects with New() because of VTKs reference counting.
void operator=(const VtkImageDataToLinePolyDataFilter &)=delete
vtkGetMacro(ImageSpacing, double)
Returns the space between two pixels.
int FillInputPortInformation(int port, vtkInformation *info) override
Sets input port to vtkImageData.
VtkImageDataToLinePolyDataFilter(const VtkImageDataToLinePolyDataFilter &)=delete
~VtkImageDataToLinePolyDataFilter() override
Destructor.
void SetUserProperty(QString name, QVariant value) override
Sets a user property.
ogsUserPropertyMacro(LengthScaleFactor, double)
Sets the scaling of the length of the lines.