Graphics/vtkLinkEdgels.h Source File

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   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkLinkEdgels.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    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&);  // Not implemented.
    00119   void operator=(const vtkLinkEdgels&);  // Not implemented.
    00120 };
    00121
    00122 #endif