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 "vtkObject.h"
52 
53 class vtkDataSet;
54 class vtkDataArray;
55 class vtkAbstractArray;
56 
58  public vtkObject
59 {
60 public:
63  void PrintSelf(ostream& os, vtkIndent indent);
64 
66 
70  vtkSetMacro(LowerBound, double);
71  vtkGetMacro(LowerBound, double);
73 
75 
79  vtkSetMacro(UpperBound, double);
80  vtkGetMacro(UpperBound, double);
82 
84 
89  virtual double ComputeMetric(vtkDataSet *mesh, vtkDataArray *field,
90  vtkIdType startCriticalPoint, vtkAbstractArray *vertexList,
91  vtkIdType endCriticalPoint);
93 
94 protected:
97 
98  double LowerBound, UpperBound;
99 
100 private:
102  // Not implemented.
103  void operator=(const vtkReebGraphSimplificationMetric&);
104  // Not implemented.
105 };
106 
107 #endif