18#include <vtkPolyDataAlgorithm.h>
21class vtkInformationVector;
36 void PrintSelf(ostream& os, vtkIndent indent)
override;
44 if (name.compare(
"LengthScaleFactor") == 0)
45 SetLengthScaleFactor(value.toDouble());
66 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
67 vtkInformationVector* outputVector)
override;
Definition of the VtkAlgorithmProperties class.
Contains properties for the visualization of objects as VtkVisPipelineItems.
Creates lines that stand on top of the image with the length of the corresponding first sub-pixel val...
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.