VTK
dox
Common
DataModel
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
=========================================================================*/
46
#ifndef vtkReebGraphSimplificationMetric_h
47
#define vtkReebGraphSimplificationMetric_h
48
49
#include "vtkCommonDataModelModule.h"
// For export macro
50
#include "
vtkObject.h
"
51
52
class
vtkDataSet
;
53
class
vtkDataArray
;
54
class
vtkAbstractArray
;
55
56
class
VTKCOMMONDATAMODEL_EXPORT
vtkReebGraphSimplificationMetric
:
57
public
vtkObject
58
{
59
public
:
60
static
vtkReebGraphSimplificationMetric
*
New
();
61
vtkTypeMacro(
vtkReebGraphSimplificationMetric
,
vtkObject
);
62
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
63
65
71
vtkSetMacro(LowerBound,
double
);
72
vtkGetMacro(LowerBound,
double
);
74
76
82
vtkSetMacro(UpperBound,
double
);
83
vtkGetMacro(UpperBound,
double
);
85
93
virtual
double
ComputeMetric(
vtkDataSet
*mesh,
vtkDataArray
*
field
,
94
vtkIdType
startCriticalPoint,
vtkAbstractArray
*vertexList,
95
vtkIdType
endCriticalPoint);
96
97
protected
:
98
vtkReebGraphSimplificationMetric
();
99
~
vtkReebGraphSimplificationMetric
()
override
;
100
101
double
LowerBound,
UpperBound
;
102
103
private
:
104
vtkReebGraphSimplificationMetric
(
const
vtkReebGraphSimplificationMetric
&) =
delete
;
105
void
operator=(
const
vtkReebGraphSimplificationMetric
&) =
delete
;
106
};
107
108
#endif
vtkIdType
int vtkIdType
Definition:
vtkType.h:347
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:53
vtkDataArray
abstract superclass for arrays of numeric data
Definition:
vtkDataArray.h:48
vtkReebGraphSimplificationMetric
abstract class for custom Reeb graph simplification metric design.
Definition:
vtkReebGraphSimplificationMetric.h:56
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkX3D::field
Definition:
vtkX3D.h:177
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkObject.h
vtkDataSet
abstract class to specify dataset behavior
Definition:
vtkDataSet.h:56
vtkAbstractArray
Abstract superclass for all arrays.
Definition:
vtkAbstractArray.h:75
vtkReebGraphSimplificationMetric::UpperBound
double UpperBound
Definition:
vtkReebGraphSimplificationMetric.h:101
Generated by
1.8.16