Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkLinkEdgels.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkLinkEdgels.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00061 #ifndef __vtkLinkEdgels_h
00062 #define __vtkLinkEdgels_h
00063 
00064 #include "vtkStructuredPointsToPolyDataFilter.h"
00065 
00066 class vtkCellArray;
00067 class vtkDataArray;
00068 class vtkDoubleArray;
00069 class vtkPoints;
00070 
00071 class VTK_GRAPHICS_EXPORT vtkLinkEdgels : public vtkStructuredPointsToPolyDataFilter
00072 {
00073 public:
00074   vtkTypeRevisionMacro(vtkLinkEdgels,vtkStructuredPointsToPolyDataFilter);
00075   void PrintSelf(ostream& os, vtkIndent indent);
00076 
00080   static vtkLinkEdgels *New();
00081 
00083 
00084   vtkSetMacro(LinkThreshold,double);
00085   vtkGetMacro(LinkThreshold,double);
00087 
00089 
00090   vtkSetMacro(PhiThreshold,double);
00091   vtkGetMacro(PhiThreshold,double);
00093 
00095 
00096   vtkSetMacro(GradientThreshold,double);
00097   vtkGetMacro(GradientThreshold,double);
00099 
00100 protected:
00101   vtkLinkEdgels();
00102   ~vtkLinkEdgels() {};
00103 
00104   void Execute();
00105   void LinkEdgels(int xdim, int ydim,double *image, vtkDataArray *inVectors,
00106                   vtkCellArray *newLines, vtkPoints *newPts,
00107                   vtkDoubleArray *outScalars, vtkDoubleArray *outVectors,
00108                   int z);
00109   double GradientThreshold;
00110   double PhiThreshold;
00111   double LinkThreshold;
00112 private:
00113   vtkLinkEdgels(const vtkLinkEdgels&);  // Not implemented.
00114   void operator=(const vtkLinkEdgels&);  // Not implemented.
00115 };
00116 
00117 #endif