VTK
dox
Common
Misc
vtkContourValues.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkContourValues.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
=========================================================================*/
27
#ifndef vtkContourValues_h
28
#define vtkContourValues_h
29
30
#include "vtkCommonMiscModule.h"
// For export macro
31
#include "
vtkObject.h
"
32
33
class
vtkDoubleArray
;
34
35
class
VTKCOMMONMISC_EXPORT
vtkContourValues
:
public
vtkObject
36
{
37
public
:
41
static
vtkContourValues
*
New
();
42
43
vtkTypeMacro(
vtkContourValues
,
vtkObject
);
44
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
45
49
void
SetValue(
int
i,
double
value
);
50
55
double
GetValue(
int
i);
56
61
double
*GetValues();
62
67
void
GetValues(
double
*contourValues);
68
74
void
SetNumberOfContours(
const
int
number);
75
79
int
GetNumberOfContours();
80
85
void
GenerateValues(
int
numContours,
double
range
[2]);
86
91
void
GenerateValues(
int
numContours,
double
rangeStart,
double
rangeEnd);
92
96
void
DeepCopy(
vtkContourValues
* other);
97
98
99
protected
:
100
vtkContourValues
();
101
~
vtkContourValues
()
override
;
102
103
vtkDoubleArray
*
Contours
;
104
105
private
:
106
vtkContourValues
(
const
vtkContourValues
&) =
delete
;
107
void
operator=(
const
vtkContourValues
&) =
delete
;
108
};
109
110
#endif
vtkX3D::value
Definition:
vtkX3D.h:220
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkX3D::range
Definition:
vtkX3D.h:238
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:59
vtkContourValues
helper object to manage setting and generating contour values
Definition:
vtkContourValues.h:35
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkObject.h
vtkContourValues::Contours
vtkDoubleArray * Contours
Definition:
vtkContourValues.h:103
vtkDoubleArray
dynamic, self-adjusting array of double
Definition:
vtkDoubleArray.h:41
Generated by
1.8.16