VTK
vtkReebGraphSimplificationMetric.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 =========================================================================*/
48 #ifndef vtkReebGraphSimplificationMetric_h
49 #define vtkReebGraphSimplificationMetric_h
50 
51 #include "vtkCommonDataModelModule.h" // For export macro
52 #include "vtkObject.h"
53 
54 class vtkDataSet;
55 class vtkDataArray;
56 class vtkAbstractArray;
57 
59  public vtkObject
60 {
61 public:
64  void PrintSelf(ostream& os, vtkIndent indent);
65 
67 
71  vtkSetMacro(LowerBound, double);
72  vtkGetMacro(LowerBound, double);
74 
76 
80  vtkSetMacro(UpperBound, double);
81  vtkGetMacro(UpperBound, double);
83 
85 
90  virtual double ComputeMetric(vtkDataSet *mesh, vtkDataArray *field,
91  vtkIdType startCriticalPoint, vtkAbstractArray *vertexList,
92  vtkIdType endCriticalPoint);
94 
95 protected:
98 
99  double LowerBound, UpperBound;
100 
101 private:
103  // Not implemented.
104  void operator=(const vtkReebGraphSimplificationMetric&);
105  // Not implemented.
106 };
107 
108 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:61
abstract class to specify dataset behavior
Definition: vtkDataSet.h:61
Abstract superclass for all arrays.
int vtkIdType
Definition: vtkType.h:275
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
abstract class for custom Reeb graph simplification metric design.
static vtkObject * New()
#define VTKCOMMONDATAMODEL_EXPORT