VTK  9.2.6
vtkReebGraphSimplificationMetric.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkReebGraphSimplificationMetric.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=========================================================================*/
49#ifndef vtkReebGraphSimplificationMetric_h
50#define vtkReebGraphSimplificationMetric_h
51
52#include "vtkCommonDataModelModule.h" // For export macro
53#include "vtkObject.h"
54
55class vtkDataSet;
56class vtkDataArray;
58
59class VTKCOMMONDATAMODEL_EXPORT vtkReebGraphSimplificationMetric : public vtkObject
60{
61public:
64 void PrintSelf(ostream& os, vtkIndent indent) override;
65
67
73 vtkSetMacro(LowerBound, double);
74 vtkGetMacro(LowerBound, double);
76
78
84 vtkSetMacro(UpperBound, double);
85 vtkGetMacro(UpperBound, double);
87
95 virtual double ComputeMetric(vtkDataSet* mesh, vtkDataArray* field, vtkIdType startCriticalPoint,
96 vtkAbstractArray* vertexList, vtkIdType endCriticalPoint);
97
98protected:
101
102 double LowerBound, UpperBound;
103
104private:
106 void operator=(const vtkReebGraphSimplificationMetric&) = delete;
107};
108
109#endif
Abstract superclass for all arrays.
abstract superclass for arrays of numeric data
abstract class to specify dataset behavior
Definition vtkDataSet.h:63
a simple class to control print indentation
Definition vtkIndent.h:40
abstract base class for most VTK objects
Definition vtkObject.h:63
abstract class for custom Reeb graph simplification metric design.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual double ComputeMetric(vtkDataSet *mesh, vtkDataArray *field, vtkIdType startCriticalPoint, vtkAbstractArray *vertexList, vtkIdType endCriticalPoint)
Function to implement in your simplification metric algorithm.
static vtkReebGraphSimplificationMetric * New()
int vtkIdType
Definition vtkType.h:332