VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Charts
vtkChartHistogram2D.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkChart2DHistogram.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
=========================================================================*/
15
23
#ifndef __vtkChart2DHistogram_h
24
#define __vtkChart2DHistogram_h
25
26
#include "
vtkChartXY.h
"
27
#include "
vtkSmartPointer.h
"
// For SP ivars
28
29
class
vtkColorLegend
;
30
class
vtkPlotHistogram2D
;
31
class
vtkImageData
;
32
class
vtkScalarsToColors
;
33
34
class
VTK_CHARTS_EXPORT
vtkChartHistogram2D
:
public
vtkChartXY
35
{
36
public
:
37
vtkTypeMacro(
vtkChartHistogram2D
,
vtkChartXY
);
38
virtual
void
PrintSelf
(ostream &os,
vtkIndent
indent);
39
41
static
vtkChartHistogram2D
*
New
();
42
46
virtual
void
Update
();
47
48
virtual
void
SetInput(
vtkImageData
*
data
,
vtkIdType
z = 0);
49
virtual
void
SetTransferFunction(
vtkScalarsToColors
*
function
);
50
52
virtual
bool
Hit
(
const
vtkContextMouseEvent
&mouse);
53
56
virtual
vtkPlot
*
GetPlot
(
vtkIdType
index
);
57
58
protected
:
59
vtkChartHistogram2D
();
60
~
vtkChartHistogram2D
();
61
62
vtkSmartPointer<vtkPlotHistogram2D>
Histogram
;
63
65
vtkTimeStamp
BuildTime
;
66
67
class
Private;
68
Private*
Storage
;
69
70
virtual
bool
UpdateLayout
(
vtkContext2D
*painter);
71
72
private
:
73
vtkChartHistogram2D
(
const
vtkChartHistogram2D
&);
// Not implemented.
74
void
operator=(
const
vtkChartHistogram2D
&);
// Not implemented.
75
};
76
77
#endif //__vtkChart2DHistogram_h
Generated on Tue Jan 8 2013 05:45:22 for VTK by
1.8.1.2