VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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
=========================================================================*/
26
#ifndef __vtkContourValues_h
27
#define __vtkContourValues_h
28
29
#include "vtkCommonMiscModule.h"
// For export macro
30
#include "vtkObject.h"
31
32
class
vtkDoubleArray;
33
34
class
VTKCOMMONMISC_EXPORT
vtkContourValues
:
public
vtkObject
35
{
36
public
:
38
static
vtkContourValues
*New();
39
40
vtkTypeMacro(
vtkContourValues
,vtkObject);
41
void
PrintSelf(ostream& os, vtkIndent indent);
42
44
void
SetValue(
int
i,
double
value);
45
48
double
GetValue(
int
i);
49
52
double
*GetValues();
53
56
void
GetValues(
double
*contourValues);
57
61
void
SetNumberOfContours(
const
int
number);
62
64
int
GetNumberOfContours();
65
68
void
GenerateValues(
int
numContours,
double
range[2]);
69
72
void
GenerateValues(
int
numContours,
double
rangeStart,
double
rangeEnd);
73
74
75
protected
:
76
vtkContourValues
();
77
~
vtkContourValues
();
78
79
vtkDoubleArray *
Contours
;
80
81
private
:
82
vtkContourValues
(
const
vtkContourValues
&);
// Not implemented.
83
void
operator=(
const
vtkContourValues
&);
// Not implemented.
84
};
85
86
#endif
vtkContourValues
helper object to manage setting and generating contour values
Definition:
vtkContourValues.h:34
vtkContourValues::Contours
vtkDoubleArray * Contours
Definition:
vtkContourValues.h:79
Generated on Sat Apr 12 2014 01:07:48 for VTK by
1.8.6