SMILX  1.01
vtkAreaSimplificationMetric.h
1 /*=========================================================================
2 
3  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
4  All rights reserved.
5  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE. See the above copyright notice for more information.
10 
11 =========================================================================*/
12 /*=========================================================================
13  The Software is copyright (c) Commonwealth Scientific and Industrial Research Organisation (CSIRO)
14  ABN 41 687 119 230.
15  All rights reserved.
16 
17  Licensed under the CSIRO BSD 3-Clause License
18  You may not use this file except in compliance with the License.
19  You may obtain a copy of the License in the file LICENSE.md or at
20 
21  https://stash.csiro.au/projects/SMILI/repos/smili/browse/license.txt
22 
23  Unless required by applicable law or agreed to in writing, software
24  distributed under the License is distributed on an "AS IS" BASIS,
25  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
26  See the License for the specific language governing permissions and
27  limitations under the License.
28 =========================================================================*/
29 #ifndef __vtkAreaSimplificationMetric_h
30 #define __vtkAreaSimplificationMetric_h
31 
32 #include <vtkObjectFactory.h>
33 #include <vtkPolyData.h>
34 #include <vtkReebGraphSimplificationMetric.h>
35 
36 class VTK_RENDERING_EXPORT vtkAreaSimplificationMetric : public vtkReebGraphSimplificationMetric
37 {
38 
39 public:
40  vtkTypeMacro(vtkAreaSimplificationMetric, vtkReebGraphSimplificationMetric);
41 
42  static vtkAreaSimplificationMetric* New();
43 
44  double ComputeMetric(vtkDataSet *mesh, vtkDataArray *scalarField,
45  vtkIdType startCriticalPoint, vtkAbstractArray *vertexList,
46  vtkIdType endCriticalPoint);
47 
48 };
49 
50 #endif