VTK
9.0.1
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
:
public
vtkObject
57
{
58
public
:
59
static
vtkReebGraphSimplificationMetric
*
New
();
60
vtkTypeMacro(
vtkReebGraphSimplificationMetric
,
vtkObject
);
61
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
62
64
70
vtkSetMacro(LowerBound,
double
);
71
vtkGetMacro(LowerBound,
double
);
73
75
81
vtkSetMacro(UpperBound,
double
);
82
vtkGetMacro(UpperBound,
double
);
84
92
virtual
double
ComputeMetric(
vtkDataSet
* mesh,
vtkDataArray
*
field
,
vtkIdType
startCriticalPoint,
93
vtkAbstractArray
* vertexList,
vtkIdType
endCriticalPoint);
94
95
protected
:
96
vtkReebGraphSimplificationMetric
();
97
~
vtkReebGraphSimplificationMetric
()
override
;
98
99
double
LowerBound,
UpperBound
;
100
101
private
:
102
vtkReebGraphSimplificationMetric
(
const
vtkReebGraphSimplificationMetric
&) =
delete
;
103
void
operator=(
const
vtkReebGraphSimplificationMetric
&) =
delete
;
104
};
105
106
#endif
vtkIdType
int vtkIdType
Definition:
vtkType.h:338
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:62
vtkDataArray
abstract superclass for arrays of numeric data
Definition:
vtkDataArray.h:49
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
@ field
Definition:
vtkX3D.h:183
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:99
Generated on Thu Jun 25 2020 08:30:34 for VTK by
1.8.17