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
=========================================================================*/
49
#ifndef vtkReebGraphSimplificationMetric_h
50
#define vtkReebGraphSimplificationMetric_h
51
52
#include "vtkCommonDataModelModule.h"
// For export macro
53
#include "
vtkObject.h
"
54
55
class
vtkDataSet
;
56
class
vtkDataArray
;
57
class
vtkAbstractArray
;
58
59
class
VTKCOMMONDATAMODEL_EXPORT
vtkReebGraphSimplificationMetric
:
60
public
vtkObject
61
{
62
public
:
63
static
vtkReebGraphSimplificationMetric
*
New
();
64
vtkTypeMacro(
vtkReebGraphSimplificationMetric
,
vtkObject
);
65
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
66
68
74
vtkSetMacro(LowerBound,
double
);
75
vtkGetMacro(LowerBound,
double
);
77
79
85
vtkSetMacro(UpperBound,
double
);
86
vtkGetMacro(UpperBound,
double
);
88
96
virtual
double
ComputeMetric(
vtkDataSet
*mesh,
vtkDataArray
*
field
,
97
vtkIdType
startCriticalPoint,
vtkAbstractArray
*vertexList,
98
vtkIdType
endCriticalPoint);
99
100
protected
:
101
vtkReebGraphSimplificationMetric
();
102
~
vtkReebGraphSimplificationMetric
()
override
;
103
104
double
LowerBound,
UpperBound
;
105
106
private
:
107
vtkReebGraphSimplificationMetric
(
const
vtkReebGraphSimplificationMetric
&) =
delete
;
108
void
operator=(
const
vtkReebGraphSimplificationMetric
&) =
delete
;
109
};
110
111
#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:59
vtkDataArray
abstract superclass for arrays of numeric data
Definition:
vtkDataArray.h:54
vtkReebGraphSimplificationMetric
abstract class for custom Reeb graph simplification metric design.
Definition:
vtkReebGraphSimplificationMetric.h:59
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
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:62
vtkAbstractArray
Abstract superclass for all arrays.
Definition:
vtkAbstractArray.h:78
vtkReebGraphSimplificationMetric::UpperBound
double UpperBound
Definition:
vtkReebGraphSimplificationMetric.h:104
Generated by
1.8.16