VTK
vtkReebGraphSurfaceSkeletonFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: $RCSfile$
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 =========================================================================*/
45 #ifndef __vtkReebGraphSurfaceSkeletonFilter_h
46 #define __vtkReebGraphSurfaceSkeletonFilter_h
47 
48 #include "vtkDataObjectAlgorithm.h"
49 
50 class vtkReebGraph;
51 class vtkTable;
52 
55 {
56 public:
59  void PrintSelf(ostream& os, vtkIndent indent);
60 
62 
64  vtkSetMacro(NumberOfSamples, int);
65  vtkGetMacro(NumberOfSamples, int);
67 
69 
70  vtkSetMacro(NumberOfSmoothingIterations, int);
71  vtkGetMacro(NumberOfSmoothingIterations, int);
73 
75 
76  vtkSetMacro(FieldId, vtkIdType);
77  vtkGetMacro(FieldId, vtkIdType);
79 
81 
82 protected:
85 
87  int NumberOfSamples, NumberOfSmoothingIterations;
88 
89  int FillInputPortInformation(int portNumber, vtkInformation *);
90  int FillOutputPortInformation(int portNumber, vtkInformation *info);
91 
92  int RequestData(vtkInformation *request,
93  vtkInformationVector **inputVector, vtkInformationVector *outputVector);
94 
95 private:
97  void operator=(const vtkReebGraphSurfaceSkeletonFilter&); // Not implemented.
98 };
99 
100 #endif
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTK_GRAPHICS_EXPORT
vtkDataObject * GetOutput()
Store vtkAlgorithm input/output information.
static vtkDataObjectAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
int vtkIdType
Definition: vtkType.h:255
Reeb graph computation for PL scalar fields.
Definition: vtkReebGraph.h:129
a simple class to control print indentation
Definition: vtkIndent.h:37
compute a skeletal embedding of the Reeb graph of a scalar field defined on a triangulated surface (v...
virtual int FillInputPortInformation(int port, vtkInformation *info)
Superclass for algorithms that produce only data object as output.
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:66
Store zero or more vtkInformation instances.
virtual int FillOutputPortInformation(int port, vtkInformation *info)