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 "vtkPolyDataAlgorithm.h"
54 
55 class vtkCellArray;
56 class vtkDataArray;
57 class vtkDoubleArray;
58 class vtkPoints;
59 
61 {
62 public:
64  void PrintSelf(ostream& os, vtkIndent indent);
65 
69  static vtkLinkEdgels *New();
70 
72 
73  vtkSetMacro(LinkThreshold,double);
74  vtkGetMacro(LinkThreshold,double);
76 
78 
79  vtkSetMacro(PhiThreshold,double);
80  vtkGetMacro(PhiThreshold,double);
82 
84 
85  vtkSetMacro(GradientThreshold,double);
86  vtkGetMacro(GradientThreshold,double);
88 
89 protected:
90  vtkLinkEdgels();
92 
95 
96  void LinkEdgels(int xdim, int ydim,double *image, vtkDataArray *inVectors,
97  vtkCellArray *newLines, vtkPoints *newPts,
98  vtkDoubleArray *outScalars, vtkDoubleArray *outVectors,
99  int z);
101  double PhiThreshold;
103 private:
104  vtkLinkEdgels(const vtkLinkEdgels&); // Not implemented.
105  void operator=(const vtkLinkEdgels&); // Not implemented.
106 };
107 
108 #endif