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
00065 #ifndef __vtkLinkEdgels_h
00066 #define __vtkLinkEdgels_h
00067
00068 #include "vtkStructuredPointsToPolyDataFilter.h"
00069
00070 class vtkCellArray;
00071 class vtkDataArray;
00072 class vtkFloatArray;
00073 class vtkPoints;
00074
00075 class VTK_GRAPHICS_EXPORT vtkLinkEdgels : public vtkStructuredPointsToPolyDataFilter
00076 {
00077 public:
00078 vtkTypeRevisionMacro(vtkLinkEdgels,vtkStructuredPointsToPolyDataFilter);
00079 void PrintSelf(ostream& os, vtkIndent indent);
00080
00084 static vtkLinkEdgels *New();
00085
00087
00088 vtkSetMacro(LinkThreshold,float);
00089 vtkGetMacro(LinkThreshold,float);
00091
00093
00094 vtkSetMacro(PhiThreshold,float);
00095 vtkGetMacro(PhiThreshold,float);
00097
00099
00100 vtkSetMacro(GradientThreshold,float);
00101 vtkGetMacro(GradientThreshold,float);
00103
00104 protected:
00105 vtkLinkEdgels();
00106 ~vtkLinkEdgels() {};
00107
00108 void Execute();
00109 void LinkEdgels(int xdim, int ydim,float *image, vtkDataArray *inVectors,
00110 vtkCellArray *newLines, vtkPoints *newPts,
00111 vtkFloatArray *outScalars, vtkFloatArray *outVectors,
00112 int z);
00113 float GradientThreshold;
00114 float PhiThreshold;
00115 float LinkThreshold;
00116 private:
00117 vtkLinkEdgels(const vtkLinkEdgels&);
00118 void operator=(const vtkLinkEdgels&);
00119 };
00120
00121 #endif