dox/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
00054
#ifndef __vtkLinkEdgels_h
00055
#define __vtkLinkEdgels_h
00056
00057
#include "vtkStructuredPointsToPolyDataFilter.h"
00058
00059
class vtkCellArray;
00060
class vtkDataArray;
00061
class vtkFloatArray;
00062
class vtkPoints;
00063
00064 class VTK_GRAPHICS_EXPORT vtkLinkEdgels :
public vtkStructuredPointsToPolyDataFilter
00065 {
00066
public:
00067 vtkTypeRevisionMacro(vtkLinkEdgels,
vtkStructuredPointsToPolyDataFilter);
00068
void PrintSelf(ostream& os,
vtkIndent indent);
00069
00073
static vtkLinkEdgels *
New();
00074
00076
00077 vtkSetMacro(LinkThreshold,
float);
00078 vtkGetMacro(LinkThreshold,
float);
00080
00082
00083 vtkSetMacro(PhiThreshold,
float);
00084 vtkGetMacro(PhiThreshold,
float);
00086
00088
00089 vtkSetMacro(GradientThreshold,
float);
00090 vtkGetMacro(GradientThreshold,
float);
00092
00093
protected:
00094 vtkLinkEdgels();
00095 ~vtkLinkEdgels() {};
00096
00097
void Execute();
00098
void LinkEdgels(
int xdim,
int ydim,
float *image,
vtkDataArray *inVectors,
00099
vtkCellArray *newLines,
vtkPoints *newPts,
00100
vtkFloatArray *outScalars,
vtkFloatArray *outVectors,
00101
int z);
00102 float GradientThreshold;
00103 float PhiThreshold;
00104 float LinkThreshold;
00105
private:
00106 vtkLinkEdgels(
const vtkLinkEdgels&);
00107
void operator=(
const vtkLinkEdgels&);
00108 };
00109
00110
#endif