VTK
vtkLinkEdgels.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkLinkEdgels.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 =========================================================================*/
50 #ifndef vtkLinkEdgels_h
51 #define vtkLinkEdgels_h
52 
53 #include "vtkFiltersGeneralModule.h" // For export macro
54 #include "vtkPolyDataAlgorithm.h"
55 
56 class vtkCellArray;
57 class vtkDataArray;
58 class vtkDoubleArray;
59 class vtkPoints;
60 
62 {
63 public:
65  void PrintSelf(ostream& os, vtkIndent indent);
66 
70  static vtkLinkEdgels *New();
71 
73 
74  vtkSetMacro(LinkThreshold,double);
75  vtkGetMacro(LinkThreshold,double);
77 
79 
80  vtkSetMacro(PhiThreshold,double);
81  vtkGetMacro(PhiThreshold,double);
83 
85 
86  vtkSetMacro(GradientThreshold,double);
87  vtkGetMacro(GradientThreshold,double);
89 
90 protected:
91  vtkLinkEdgels();
93 
96 
97  void LinkEdgels(int xdim, int ydim,double *image, vtkDataArray *inVectors,
98  vtkCellArray *newLines, vtkPoints *newPts,
99  vtkDoubleArray *outScalars, vtkDoubleArray *outVectors,
100  int z);
102  double PhiThreshold;
104 private:
105  vtkLinkEdgels(const vtkLinkEdgels&); // Not implemented.
106  void operator=(const vtkLinkEdgels&); // Not implemented.
107 };
108 
109 #endif
virtual int FillInputPortInformation(int port, vtkInformation *info)
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
double LinkThreshold
double GradientThreshold
dynamic, self-adjusting array of double
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:38
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
double PhiThreshold
#define VTKFILTERSGENERAL_EXPORT
object to represent cell connectivity
Definition: vtkCellArray.h:49
Store zero or more vtkInformation instances.
links edgels together to form digital curves.
Definition: vtkLinkEdgels.h:61
represent and manipulate 3D points
Definition: vtkPoints.h:38