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
vtkPlotParallelCoordinates::SetInput
virtual void SetInput(vtkTable *table, const vtkStdString &, const vtkStdString &)
Definition:
vtkPlotParallelCoordinates.h:78
VTK_CHARTS_EXPORT
#define VTK_CHARTS_EXPORT
Definition:
vtkWin32Header.h:285
vtkStdString
Wrapper around vtkstd::string to keep symbols short.
Definition:
vtkStdString.h:45
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:33
vtkPlot::GetBounds
virtual void GetBounds(double bounds[4])
Definition:
vtkPlot.h:213
vtkPlotParallelCoordinates
Class for drawing a parallel coordinate plot given columns from a vtkTable.
Definition:
vtkPlotParallelCoordinates.h:37
vtkIdType
int vtkIdType
Definition:
vtkType.h:255
vtkPlotParallelCoordinates::Colors
vtkUnsignedCharArray * Colors
Definition:
vtkPlotParallelCoordinates.h:134
vtkPlotParallelCoordinates::Storage
Private * Storage
Definition:
vtkPlotParallelCoordinates.h:124
vtkScalarsToColors
Superclass for mapping scalar values into colors.
Definition:
vtkScalarsToColors.h:42
vtkContext2D
Class for drawing 2D primitives to a graphical context.
Definition:
vtkContext2D.h:54
vtkPlotParallelCoordinates::LookupTable
vtkScalarsToColors * LookupTable
Definition:
vtkPlotParallelCoordinates.h:133
vtkRectf
Definition:
vtkRect.h:103
vtkScalarsToColors.h
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:37
vtkPlotParallelCoordinates::ScalarVisibility
int ScalarVisibility
Definition:
vtkPlotParallelCoordinates.h:135
vtkPlotParallelCoordinates::ColorArrayName
vtkStdString ColorArrayName
Definition:
vtkPlotParallelCoordinates.h:136
vtkPlot
Abstract class for 2D plots.
Definition:
vtkPlot.h:50
vtkPlot::SetInput
virtual void SetInput(vtkTable *table)
vtkUnsignedCharArray
dynamic, self-adjusting array of unsigned char
Definition:
vtkUnsignedCharArray.h:42
vtkStdString.h
vtkPlot::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkPlot.h
vtkPlotParallelCoordinates::BuildTime
vtkTimeStamp BuildTime
Definition:
vtkPlotParallelCoordinates.h:129
vtkObject::New
static vtkObject * New()
vtkAbstractContextItem::Update
virtual void Update()
vtkChartParallelCoordinates
Factory class for drawing 2D charts.
Definition:
vtkChartParallelCoordinates.h:36
Generated on Thu Oct 24 2019 21:14:24 for VTK by
1.8.6