VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
dox
Charts
Core
vtkPlotArea.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPlotArea.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
=========================================================================*/
28
#ifndef vtkPlotArea_h
29
#define vtkPlotArea_h
30
31
#include "
vtkPlot.h
"
32
33
class
VTKCHARTSCORE_EXPORT
vtkPlotArea
:
public
vtkPlot
34
{
35
public
:
36
static
vtkPlotArea
*
New
();
37
vtkTypeMacro(
vtkPlotArea
,
vtkPlot
);
38
void
PrintSelf
(ostream& os,
vtkIndent
indent);
39
42
using
Superclass::SetInputArray;
43
45
46
virtual
void
SetColor
(
unsigned
char
r,
unsigned
char
g,
unsigned
char
b,
47
unsigned
char
a);
48
virtual
void
SetColor
(
double
r,
double
g,
double
b);
50
52
53
vtkGetMacro(ValidPointMaskName,
vtkStdString
)
54
vtkSetMacro(ValidPointMaskName,
vtkStdString
)
56
59
virtual
void
Update
();
60
62
virtual
void
GetBounds(
double
bounds[4]);
63
68
virtual
void
UpdateCache();
69
72
virtual
bool
Paint(
vtkContext2D
*painter);
73
75
80
virtual
bool
PaintLegend(
vtkContext2D
*painter, const
vtkRectf
& rect,
81
int
legendIndex);
83
84
//BTX
85
87
90
virtual
vtkIdType
GetNearestPoint(const
vtkVector2f
&
point
,
91
const
vtkVector2f
& tolerance,
92
vtkVector2f
*
location
);
94
96
98
virtual
vtkStdString
GetTooltipLabel(const
vtkVector2d
&plotPos,
99
vtkIdType
seriesIndex,
100
vtkIdType
segmentIndex);
101
protected:
102
vtkPlotArea
();
103
~vtkPlotArea();
105
107
vtkStdString
ValidPointMaskName;
108
109
private:
110
vtkPlotArea(const vtkPlotArea&);
// Not implemented.
111
void
operator=(const vtkPlotArea&);
// Not implemented.
112
113
class vtkTableCache;
114
vtkTableCache* TableCache;
115
116
vtkTimeStamp
UpdateTime;
117
//ETX
118
};
119
120
#endif
vtkStdString
Wrapper around std::string to keep symbols short.
Definition:
vtkStdString.h:46
vtkX3D::location
Definition:
vtkX3D.h:406
vtkVector2d
Definition:
vtkVector.h:288
vtkTimeStamp
record modification and/or execution time
Definition:
vtkTimeStamp.h:34
Update
virtual void Update()
vtkIdType
int vtkIdType
Definition:
vtkType.h:247
vtkPlot::SetColor
virtual void SetColor(unsigned char r, unsigned char g, unsigned char b, unsigned char a)
vtkContext2D
Class for drawing 2D primitives to a graphical context.
Definition:
vtkContext2D.h:56
vtkRectf
Definition:
vtkRect.h:263
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:38
vtkPlot
Abstract class for 2D plots.
Definition:
vtkPlot.h:51
vtkVector2f
Definition:
vtkVector.h:279
vtkPlotArea
draws an area plot.
Definition:
vtkPlotArea.h:33
vtkPlot::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkPlot.h
vtkX3D::point
Definition:
vtkX3D.h:236
vtkObject::New
static vtkObject * New()
VTKCHARTSCORE_EXPORT
#define VTKCHARTSCORE_EXPORT
Definition:
vtkChartsCoreModule.h:15
Generated on Wed Dec 16 2015 17:14:46 for VTK by
1.8.9.1