vtkSubPixelPositionEdgels.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00050 #ifndef __vtkSubPixelPositionEdgels_h
00051 #define __vtkSubPixelPositionEdgels_h
00052
00053 #include "vtkPolyDataToPolyDataFilter.h"
00054
00055 class vtkStructuredPoints;
00056 class vtkDataArray;
00057
00058 class VTK_GRAPHICS_EXPORT vtkSubPixelPositionEdgels : public vtkPolyDataToPolyDataFilter
00059 {
00060 public:
00061 static vtkSubPixelPositionEdgels *New();
00062 vtkTypeRevisionMacro(vtkSubPixelPositionEdgels,vtkPolyDataToPolyDataFilter);
00063 void PrintSelf(ostream& os, vtkIndent indent);
00064
00066
00067 void SetGradMaps(vtkStructuredPoints *gm);
00068 vtkStructuredPoints *GetGradMaps();
00070
00072
00074 vtkSetMacro(TargetFlag, int);
00075 vtkGetMacro(TargetFlag, int);
00076 vtkBooleanMacro(TargetFlag, int);
00077 vtkSetMacro(TargetValue, double);
00078 vtkGetMacro(TargetValue, double);
00080
00081 protected:
00082 vtkSubPixelPositionEdgels();
00083 ~vtkSubPixelPositionEdgels();
00084
00085
00086 void Execute();
00087 void Move(int xdim, int ydim, int zdim, int x, int y,
00088 float *img, vtkDataArray *inVecs,
00089 double *result, int z, double *aspect, double *resultNormal);
00090 void Move(int xdim, int ydim, int zdim, int x, int y,
00091 double *img, vtkDataArray *inVecs,
00092 double *result, int z, double *aspect, double *resultNormal);
00093
00094 int TargetFlag;
00095 double TargetValue;
00096 private:
00097 vtkSubPixelPositionEdgels(const vtkSubPixelPositionEdgels&);
00098 void operator=(const vtkSubPixelPositionEdgels&);
00099 };
00100
00101 #endif