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
Charts
Core
vtkPlotBag.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPlotBag.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
35
#ifndef __vtkPlotBag_h
36
#define __vtkPlotBag_h
37
38
#include "
vtkChartsCoreModule.h
"
// For export macro
39
#include "
vtkPlotPoints.h
"
40
41
class
VTKCHARTSCORE_EXPORT
vtkPlotBag
:
public
vtkPlotPoints
42
{
43
public
:
44
vtkTypeMacro(
vtkPlotBag
,
vtkPlotPoints
);
45
virtual
void
PrintSelf
(ostream &os,
vtkIndent
indent);
46
48
static
vtkPlotBag
*
New
();
49
53
virtual
void
Update
();
54
57
virtual
bool
Paint
(
vtkContext2D
*painter);
58
60
65
virtual
bool
PaintLegend
(
vtkContext2D
*painter,
const
vtkRectf
& rect,
66
int
legendIndex);
68
72
virtual
vtkStringArray
*
GetLabels
();
73
75
77
virtual
vtkStdString
GetTooltipLabel
(
const
vtkVector2d
&plotPos,
78
vtkIdType
seriesIndex,
79
vtkIdType
segmentIndex);
81
83
88
virtual
void
SetInputData
(
vtkTable
*
table
);
89
virtual
void
SetInputData
(
vtkTable
*
table
,
const
vtkStdString
&yColumn,
90
const
vtkStdString
&densityColumn);
91
virtual
void
SetInputData
(
vtkTable
*
table
,
const
vtkStdString
&xColumn,
92
const
vtkStdString
&yColumn,
93
const
vtkStdString
&densityColumn);
95
96
virtual
void
SetInputData
(
vtkTable
*
table
,
vtkIdType
xColumn,
97
vtkIdType
yColumn,
98
vtkIdType
densityColumn);
99
100
protected
:
101
vtkPlotBag
();
102
~
vtkPlotBag
();
103
104
void
UpdateTableCache
(
vtkDataArray
*);
105
106
vtkPoints2D
*
MedianPoints
;
107
vtkPoints2D
*
Q3Points
;
108
109
private
:
110
vtkPlotBag
(
const
vtkPlotBag
&);
// Not implemented.
111
void
operator=(
const
vtkPlotBag
&);
// Not implemented.
112
};
113
114
#endif //__vtkPlotBag_h
vtkStdString
Wrapper around std::string to keep symbols short.
Definition:
vtkStdString.h:46
vtkVector2d
Definition:
vtkVector.h:303
vtkPlotPoints::Paint
virtual bool Paint(vtkContext2D *painter)
vtkPlotPoints
Class for drawing an points given two columns from a vtkTable.
Definition:
vtkPlotPoints.h:52
vtkStringArray
a vtkAbstractArray subclass for strings
Definition:
vtkStringArray.h:44
vtkIdType
int vtkIdType
Definition:
vtkType.h:268
vtkgl::table
GLenum GLsizei GLenum GLenum const GLvoid * table
Definition:
vtkgl.h:11332
vtkContext2D
Class for drawing 2D primitives to a graphical context.
Definition:
vtkContext2D.h:56
vtkRectf
Definition:
vtkRect.h:108
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:38
vtkPoints2D
represent and manipulate 2D points
Definition:
vtkPoints2D.h:35
vtkPlot::GetLabels
virtual vtkStringArray * GetLabels()
vtkPlotBag::Q3Points
vtkPoints2D * Q3Points
Definition:
vtkPlotBag.h:107
vtkDataArray
abstract superclass for arrays of numeric data
Definition:
vtkDataArray.h:53
vtkPlotPoints::PaintLegend
virtual bool PaintLegend(vtkContext2D *painter, const vtkRectf &rect, int legendIndex)
vtkPlotBag::MedianPoints
vtkPoints2D * MedianPoints
Definition:
vtkPlotBag.h:106
vtkPlotPoints::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkTable
A table, which contains similar-typed columns of data.
Definition:
vtkTable.h:67
vtkPlot::SetInputData
virtual void SetInputData(vtkTable *table)
vtkPlotPoints::New
static vtkPlotPoints * New()
vtkPlotPoints::UpdateTableCache
bool UpdateTableCache(vtkTable *table)
vtkPlotPoints::Update
virtual void Update()
vtkPlotPoints.h
VTKCHARTSCORE_EXPORT
#define VTKCHARTSCORE_EXPORT
Definition:
vtkChartsCoreModule.h:15
vtkPlot::GetTooltipLabel
virtual vtkStdString GetTooltipLabel(const vtkVector2d &plotPos, vtkIdType seriesIndex, vtkIdType segmentIndex)
vtkPlotBag
Class for drawing an a bagplot.
Definition:
vtkPlotBag.h:41
vtkChartsCoreModule.h
Generated on Thu Mar 12 2015 20:31:27 for VTK by
1.8.8