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
build
buildd
vtk6-6.1.0+dfsg
Charts
Core
vtkPlotFunctionalBag.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPlotFunctionalBag.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
34
#ifndef __vtkPlotFunctionalBag_h
35
#define __vtkPlotFunctionalBag_h
36
37
#include "
vtkChartsCoreModule.h
"
// For export macro
38
#include "
vtkPlot.h
"
39
#include "
vtkNew.h
"
// Needed to hold SP ivars
40
41
class
vtkDataArray
;
42
class
vtkPlotFuntionalBagInternal;
43
class
vtkPlotLine
;
44
class
vtkPoints2D
;
45
class
vtkScalarsToColors
;
46
47
class
VTKCHARTSCORE_EXPORT
vtkPlotFunctionalBag
:
public
vtkPlot
48
{
49
public
:
50
vtkTypeMacro
(
vtkPlotFunctionalBag
,
vtkPlot
);
51
virtual
void
PrintSelf
(ostream &os,
vtkIndent
indent);
52
54
static
vtkPlotFunctionalBag
*
New
();
55
59
virtual
void
Update
();
60
63
virtual
bool
Paint
(
vtkContext2D
*painter);
64
66
71
virtual
bool
PaintLegend
(
vtkContext2D
*painter,
const
vtkRectf
& rect,
72
int
legendIndex);
74
76
virtual
void
GetBounds
(
double
bounds[4]);
77
80
virtual
void
GetUnscaledInputBounds
(
double
bounds[4]);
81
83
84
void
SetLookupTable(
vtkScalarsToColors
*lut);
85
vtkScalarsToColors
*GetLookupTable();
87
90
virtual
void
CreateDefaultLookupTable();
91
92
//BTX
94
97
virtual
vtkIdType
GetNearestPoint
(
const
vtkVector2f
&
point
,
98
const
vtkVector2f
& tolerance,
99
vtkVector2f
*
location
);
100
//ETX
102
103
protected
:
104
vtkPlotFunctionalBag
();
105
~
vtkPlotFunctionalBag
();
106
108
bool
GetDataArrays(
vtkTable
*
table
,
vtkDataArray
*array[2]);
109
111
bool
UpdateTableCache(
vtkTable
*);
112
114
vtkTimeStamp
BuildTime
;
115
117
vtkScalarsToColors
*
LookupTable
;
118
120
vtkNew<vtkPlotLine>
Line
;
121
123
vtkNew<vtkPoints2D>
BagPoints
;
124
125
bool
LogX,
LogY
;
126
127
private
:
128
vtkPlotFunctionalBag
(
const
vtkPlotFunctionalBag
&);
// Not implemented.
129
void
operator=(
const
vtkPlotFunctionalBag
&);
// Not implemented.
130
};
131
132
#endif //__vtkPlotFunctionalBag_h
vtkPlotFunctionalBag
Class for drawing an XY line plot or bag given two columns from a vtkTable.
Definition:
vtkPlotFunctionalBag.h:47
vtkPlot::PaintLegend
virtual bool PaintLegend(vtkContext2D *painter, const vtkRectf &rect, int legendIndex)
vtkAbstractContextItem::Paint
virtual bool Paint(vtkContext2D *painter)
vtkTimeStamp
record modification and/or execution time
Definition:
vtkTimeStamp.h:34
vtkPlot::GetBounds
virtual void GetBounds(double bounds[4])
Definition:
vtkPlot.h:239
vtkPlotFunctionalBag::LookupTable
vtkScalarsToColors * LookupTable
Definition:
vtkPlotFunctionalBag.h:117
vtkIdType
int vtkIdType
Definition:
vtkType.h:268
vtkgl::table
GLenum GLsizei GLenum GLenum const GLvoid * table
Definition:
vtkgl.h:11332
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition:
vtkSetGet.h:619
vtkPlotFunctionalBag::BagPoints
vtkNew< vtkPoints2D > BagPoints
Definition:
vtkPlotFunctionalBag.h:123
vtkPlotFunctionalBag::BuildTime
vtkTimeStamp BuildTime
Definition:
vtkPlotFunctionalBag.h:114
vtkScalarsToColors
Superclass for mapping scalar values to colors.
Definition:
vtkScalarsToColors.h:61
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
vtkDataArray
abstract superclass for arrays of numeric data
Definition:
vtkDataArray.h:53
vtkPlot
Abstract class for 2D plots.
Definition:
vtkPlot.h:51
vtkVector2f
Definition:
vtkVector.h:293
vtkPlot::GetNearestPoint
virtual vtkIdType GetNearestPoint(const vtkVector2f &point, const vtkVector2f &tolerance, vtkVector2f *location)
vtkPlotFunctionalBag::Line
vtkNew< vtkPlotLine > Line
Definition:
vtkPlotFunctionalBag.h:120
vtkNew.h
vtkTable
A table, which contains similar-typed columns of data.
Definition:
vtkTable.h:67
vtkPlot::GetUnscaledInputBounds
virtual void GetUnscaledInputBounds(double bounds[4])
Definition:
vtkPlot.h:258
vtkPlot::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkPlot.h
vtkNew< vtkPlotLine >
vtkX3D::point
Definition:
vtkX3D.h:236
vtkgl::location
GLint location
Definition:
vtkgl.h:12002
vtkObject::New
static vtkObject * New()
vtkPlotLine
Class for drawing an XY line plot given two columns from a vtkTable.
Definition:
vtkPlotLine.h:33
vtkAbstractContextItem::Update
virtual void Update()
VTKCHARTSCORE_EXPORT
#define VTKCHARTSCORE_EXPORT
Definition:
vtkChartsCoreModule.h:15
vtkPlotFunctionalBag::LogY
bool LogY
Definition:
vtkPlotFunctionalBag.h:125
vtkChartsCoreModule.h
Generated on Fri Sep 5 2014 02:49:04 for VTK by
1.8.8