VTK
vtkLinkEdgels.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkLinkEdgels.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
50 #ifndef vtkLinkEdgels_h
51 #define vtkLinkEdgels_h
52 
53 #include "vtkFiltersGeneralModule.h" // For export macro
54 #include "vtkPolyDataAlgorithm.h"
55 
56 class vtkCellArray;
57 class vtkDataArray;
58 class vtkDoubleArray;
59 class vtkPoints;
60 
62 {
63 public:
65  void PrintSelf(ostream& os, vtkIndent indent);
66 
70  static vtkLinkEdgels *New();
71 
73 
74  vtkSetMacro(LinkThreshold,double);
75  vtkGetMacro(LinkThreshold,double);
77 
79 
80  vtkSetMacro(PhiThreshold,double);
81  vtkGetMacro(PhiThreshold,double);
83 
85 
86  vtkSetMacro(GradientThreshold,double);
87  vtkGetMacro(GradientThreshold,double);
89 
90 protected:
93 
96 
97  void LinkEdgels(int xdim, int ydim,double *image, vtkDataArray *inVectors,
98  vtkCellArray *newLines, vtkPoints *newPts,
99  vtkDoubleArray *outScalars, vtkDoubleArray *outVectors,
100  int z);
102  double PhiThreshold;
104 private:
105  vtkLinkEdgels(const vtkLinkEdgels&); // Not implemented.
106  void operator=(const vtkLinkEdgels&); // Not implemented.
107 };
108 
109 #endif
vtkPoints
represent and manipulate 3D points
Definition: vtkPoints.h:39
vtkgl::z
GLdouble GLdouble z
Definition: vtkgl.h:11754
vtkLinkEdgels::PhiThreshold
double PhiThreshold
Definition: vtkLinkEdgels.h:102
vtkLinkEdgels::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkLinkEdgels::New
static vtkLinkEdgels * New()
vtkLinkEdgels::vtkLinkEdgels
vtkLinkEdgels()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkDataArray
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:55
vtkLinkEdgels::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkPolyDataAlgorithm.h
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkFiltersGeneralModule.h
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkCellArray
object to represent cell connectivity
Definition: vtkCellArray.h:50
vtkLinkEdgels::LinkEdgels
void LinkEdgels(int xdim, int ydim, double *image, vtkDataArray *inVectors, vtkCellArray *newLines, vtkPoints *newPts, vtkDoubleArray *outScalars, vtkDoubleArray *outVectors, int z)
vtkLinkEdgels
links edgels together to form digital curves.
Definition: vtkLinkEdgels.h:62
VTKFILTERSGENERAL_EXPORT
#define VTKFILTERSGENERAL_EXPORT
Definition: vtkFiltersGeneralModule.h:15
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkLinkEdgels::LinkThreshold
double LinkThreshold
Definition: vtkLinkEdgels.h:103
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkLinkEdgels::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkDoubleArray
dynamic, self-adjusting array of double
Definition: vtkDoubleArray.h:49
vtkLinkEdgels::~vtkLinkEdgels
~vtkLinkEdgels()
Definition: vtkLinkEdgels.h:92
vtkLinkEdgels::GradientThreshold
double GradientThreshold
Definition: vtkLinkEdgels.h:101
vtkgl::image
GLenum GLsizei GLenum GLenum const GLvoid * image
Definition: vtkgl.h:11341
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:44