VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Charts
vtkPlotParallelCoordinates.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPlotParallelCoordinates.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
24
#ifndef __vtkPlotParallelCoordinates_h
25
#define __vtkPlotParallelCoordinates_h
26
27
#include "
vtkPlot.h
"
28
#include "
vtkScalarsToColors.h
"
// For VTK_COLOR_MODE_DEFAULT and _MAP_SCALARS
29
#include "
vtkStdString.h
"
// For vtkStdString ivars
30
31
class
vtkChartParallelCoordinates
;
32
class
vtkTable
;
33
class
vtkStdString
;
34
class
vtkScalarsToColors
;
35
class
vtkUnsignedCharArray
;
36
37
class
VTK_CHARTS_EXPORT
vtkPlotParallelCoordinates
:
public
vtkPlot
38
{
39
public
:
40
vtkTypeMacro(
vtkPlotParallelCoordinates
,
vtkPlot
);
41
virtual
void
PrintSelf
(ostream &os,
vtkIndent
indent);
42
44
static
vtkPlotParallelCoordinates
*
New
();
45
49
virtual
void
Update
();
50
53
virtual
bool
Paint
(
vtkContext2D
*painter);
54
56
61
virtual
bool
PaintLegend
(
vtkContext2D
*painter,
const
vtkRectf
& rect,
62
int
legendIndex);
64
66
virtual
void
GetBounds
(
double
bounds[4]);
67
70
bool
SetSelectionRange(
int
Axis,
float
low,
float
high);
71
73
bool
ResetSelectionRange();
74
76
77
virtual
void
SetInput
(
vtkTable
*table);
78
virtual
void
SetInput
(
vtkTable
*table,
const
vtkStdString
&,
79
const
vtkStdString
&)
80
{
81
this->
SetInput
(table);
82
}
84
86
87
void
SetLookupTable(
vtkScalarsToColors
*lut);
88
vtkScalarsToColors
*GetLookupTable();
90
93
virtual
void
CreateDefaultLookupTable();
94
96
98
vtkSetMacro(ScalarVisibility,
int
);
99
vtkGetMacro(ScalarVisibility,
int
);
100
vtkBooleanMacro(ScalarVisibility,
int
);
102
104
107
void
SelectColorArray(
vtkIdType
arrayNum);
108
void
SelectColorArray(
const
vtkStdString
&arrayName);
110
112
vtkStdString
GetColorArrayName();
113
114
//BTX
115
protected
:
116
vtkPlotParallelCoordinates
();
117
~
vtkPlotParallelCoordinates
();
118
120
bool
UpdateTableCache(
vtkTable
*table);
121
123
124
class
Private;
125
Private*
Storage
;
127
129
vtkTimeStamp
BuildTime
;
130
132
133
vtkScalarsToColors
*
LookupTable
;
134
vtkUnsignedCharArray
*
Colors
;
135
int
ScalarVisibility
;
136
vtkStdString
ColorArrayName
;
138
139
private
:
140
vtkPlotParallelCoordinates
(
const
vtkPlotParallelCoordinates
&);
// Not implemented.
141
void
operator=(
const
vtkPlotParallelCoordinates
&);
// Not implemented.
142
143
//ETX
144
};
145
146
#endif //__vtkPlotParallelCoordinates_h
Generated on Wed Nov 21 2012 21:33:39 for VTK by
1.8.2