Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
Graphics/vtkLinkEdgels.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00066 #ifndef __vtkLinkEdgels_h
00067 #define __vtkLinkEdgels_h
00068
00069 #include "vtkStructuredPointsToPolyDataFilter.h"
00070
00071 class vtkCellArray;
00072 class vtkDataArray;
00073 class vtkFloatArray;
00074 class vtkPoints;
00075
00076 class VTK_GRAPHICS_EXPORT vtkLinkEdgels : public vtkStructuredPointsToPolyDataFilter
00077 {
00078 public:
00079 vtkTypeRevisionMacro(vtkLinkEdgels,vtkStructuredPointsToPolyDataFilter);
00080 void PrintSelf(ostream& os, vtkIndent indent);
00081
00085 static vtkLinkEdgels *New();
00086
00088
00089 vtkSetMacro(LinkThreshold,float);
00090 vtkGetMacro(LinkThreshold,float);
00092
00094
00095 vtkSetMacro(PhiThreshold,float);
00096 vtkGetMacro(PhiThreshold,float);
00098
00100
00101 vtkSetMacro(GradientThreshold,float);
00102 vtkGetMacro(GradientThreshold,float);
00104
00105 protected:
00106 vtkLinkEdgels();
00107 ~vtkLinkEdgels() {};
00108
00109 void Execute();
00110 void LinkEdgels(int xdim, int ydim,float *image, vtkDataArray *inVectors,
00111 vtkCellArray *newLines, vtkPoints *newPts,
00112 vtkFloatArray *outScalars, vtkFloatArray *outVectors,
00113 int z);
00114 float GradientThreshold;
00115 float PhiThreshold;
00116 float LinkThreshold;
00117 private:
00118 vtkLinkEdgels(const vtkLinkEdgels&);
00119 void operator=(const vtkLinkEdgels&);
00120 };
00121
00122 #endif