VTK
vtkSubPixelPositionEdgels.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkSubPixelPositionEdgels.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
40#ifndef vtkSubPixelPositionEdgels_h
41#define vtkSubPixelPositionEdgels_h
42
43#include "vtkFiltersGeneralModule.h" // For export macro
45
47class vtkDataArray;
48
49class VTKFILTERSGENERAL_EXPORT vtkSubPixelPositionEdgels : public vtkPolyDataAlgorithm
50{
51public:
54 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
55
57
63
65
69 vtkSetMacro(TargetFlag, int);
70 vtkGetMacro(TargetFlag, int);
71 vtkBooleanMacro(TargetFlag, int);
72 vtkSetMacro(TargetValue, double);
73 vtkGetMacro(TargetValue, double);
75
76protected:
79
80 // Usual data generation method
81 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
82 int FillInputPortInformation(int port, vtkInformation *info) VTK_OVERRIDE;
83
84 void Move(int xdim, int ydim, int zdim, int x, int y,
85 float *img, vtkDataArray *inVecs,
86 double *result, int z, double *aspect, double *resultNormal);
87 void Move(int xdim, int ydim, int zdim, int x, int y,
88 double *img, vtkDataArray *inVecs,
89 double *result, int z, double *aspect, double *resultNormal);
90 // extension for target instead of maximum
91 int TargetFlag;
92 double TargetValue;
93private:
94 vtkSubPixelPositionEdgels(const vtkSubPixelPositionEdgels&) VTK_DELETE_FUNCTION;
95 void operator=(const vtkSubPixelPositionEdgels&) VTK_DELETE_FUNCTION;
96};
97
98#endif
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:55
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
A subclass of ImageData.
adjust edgel locations based on gradients.
vtkStructuredPoints * GetGradMaps()
static vtkSubPixelPositionEdgels * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkSubPixelPositionEdgels() override
void SetGradMapsData(vtkStructuredPoints *gm)
Set/Get the gradient data for doing the position adjustments.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.