VTK: Charts/Core/vtkScatterPlotMatrix.h Source File

| VTK 9.3.1

vtkScatterPlotMatrix.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
3
17 #ifndef vtkScatterPlotMatrix_h
18 #define vtkScatterPlotMatrix_h
19
20 #include "vtkChartMatrix.h"
21 #include "vtkChartsCoreModule.h" // For export macro
22 #include "vtkColor.h" // For member function return
23 #include "vtkNew.h" // For ivars
24 #include "vtkSmartPointer.h" // For ivars
25 #include "vtkStdString.h" // For ivars
26 #include "vtkWeakPointer.h" // For currentPainter
27
28 VTK_ABI_NAMESPACE_BEGIN
29 class vtkStringArray;
30 class vtkTable;
31 class vtkAxis;
32 class vtkAnnotationLink;
33 class vtkTextProperty;
34 class vtkTooltipItem;
35 class vtkRenderWindowInteractor;
36
37 class VTKCHARTSCORE_EXPORT vtkScatterPlotMatrix : public vtkChartMatrix
38 {
39 public:
40 enum
41 {
42 SCATTERPLOT,
43 HISTOGRAM,
44 ACTIVEPLOT,
45 NOPLOT
46 };
47
48 vtkTypeMacro(vtkScatterPlotMatrix, vtkChartMatrix);
49 void PrintSelf(ostream& os, vtkIndent indent) override;
50
54 static vtkScatterPlotMatrix* New();
55
59 void Update() override;
60
64 bool Paint(vtkContext2D* painter) override;
65
66 void SetScene(vtkContextScene* scene) override;
67
73 virtual bool SetActivePlot(const vtkVector2i& position);
74
78 void SetSize(const vtkVector2i& size) override;
79
83 virtual vtkVector2i GetActivePlot();
84
89 vtkAnnotationLink* GetAnnotationLink();
90
95 virtual void SetInput(vtkTable* table);
96
100 void SetColumnVisibility(const vtkStdString& name, bool visible);
101
106 void InsertVisibleColumn(const vtkStdString& name, int index);
107
111 bool GetColumnVisibility(const vtkStdString& name);
112
117 void SetColumnVisibilityAll(bool visible);
118
122 virtual vtkStringArray* GetVisibleColumns();
123
127 virtual void SetVisibleColumns(vtkStringArray* visColumns);
128
133 virtual void SetNumberOfBins(int numberOfBins);
134
139 virtual int GetNumberOfBins() const { return this->NumberOfBins; }
140
144 void SetPlotColor(int plotType, const vtkColor4ub& color);
145
149 void SetPlotMarkerStyle(int plotType, int style);
150
154 void SetPlotMarkerSize(int plotType, float size);
155
159 bool Hit(const vtkContextMouseEvent& mouse) override;
160
164 bool MouseMoveEvent(const vtkContextMouseEvent& mouse) override;
165
169 bool MouseButtonPressEvent(const vtkContextMouseEvent& mouse) override;
170
174 bool MouseButtonReleaseEvent(const vtkContextMouseEvent& mouse) override;
175
177
181 int GetPlotType(const vtkVector2i& pos);
182 int GetPlotType(int row, int column);
184
186
189 void SetTitle(const vtkStdString& title);
190 vtkStdString GetTitle();
192
194
197 void SetTitleProperties(vtkTextProperty* prop);
198 vtkTextProperty* GetTitleProperties();
200
202
207 void SetGridVisibility(int plotType, bool visible);
208 bool GetGridVisibility(int plotType);
210
212
216 void SetBackgroundColor(int plotType, const vtkColor4ub& color);
217 vtkColor4ub GetBackgroundColor(int plotType);
219
221
225 void SetAxisColor(int plotType, const vtkColor4ub& color);
226 vtkColor4ub GetAxisColor(int plotType);
228
230
234 void SetGridColor(int plotType, const vtkColor4ub& color);
235 vtkColor4ub GetGridColor(int plotType);
237
239
244 void SetAxisLabelVisibility(int plotType, bool visible);
245 bool GetAxisLabelVisibility(int plotType);
247
249
253 void SetAxisLabelProperties(int plotType, vtkTextProperty* prop);
254 vtkTextProperty* GetAxisLabelProperties(int plotType);
256
258
262 void SetAxisLabelNotation(int plotType, int notation);
263 int GetAxisLabelNotation(int plotType);
265
267
271 void SetAxisLabelPrecision(int plotType, int precision);
272 int GetAxisLabelPrecision(int plotType);
274
276
280 void SetTooltipNotation(int plotType, int notation);
281 void SetTooltipPrecision(int plotType, int precision);
282 int GetTooltipNotation(int plotType);
283 int GetTooltipPrecision(int plotType);
285
289 void SetTooltip(vtkTooltipItem* tooltip);
290
294 vtkTooltipItem* GetTooltip() const;
295
299 void SetIndexedLabels(vtkStringArray* labels);
300
304 vtkStringArray* GetIndexedLabels() const;
305
307
310 void SetScatterPlotSelectedRowColumnColor(const vtkColor4ub& color);
311 vtkColor4ub GetScatterPlotSelectedRowColumnColor();
313
315
318 void SetScatterPlotSelectedActiveColor(const vtkColor4ub& color);
319 vtkColor4ub GetScatterPlotSelectedActiveColor();
321
325 void UpdateSettings();
326
330 void UpdateChartSettings(int plotType);
331
333
338 virtual void SetSelectionMode(int);
339 vtkGetMacro(SelectionMode, int);
341
345 vtkStdString GetColumnName(int column);
346
350 vtkStdString GetRowName(int row);
351
356 void SetNumberOfFrames(int frames);
357
362 int GetNumberOfFrames();
363
367 void ClearAnimationPath();
368
374 bool AddAnimationPath(const vtkVector2i& move);
375
379 vtkIdType GetNumberOfAnimationPathElements();
380
384 vtkVector2i GetAnimationPathElement(vtkIdType i);
385
389 bool BeginAnimationPath(vtkRenderWindowInteractor* interactor);
390
395 virtual void AdvanceAnimation();
396
400 virtual vtkChart* GetMainChart();
401
402 protected:
403 vtkScatterPlotMatrix();
404 ~vtkScatterPlotMatrix() override;
405
409 void UpdateLayout();
410
414 void ResizeBigChart();
415
417
420 void AttachAxisRangeListener(vtkAxis*);
421 void AxisRangeForwarderCallback(vtkObject*, unsigned long, void*);
423
428 void BigChartSelectionCallback(vtkObject*, unsigned long, void*);
429
435 virtual void UpdateAnimationPath(const vtkVector2i& newActivePos);
436
441 virtual void StartAnimation(vtkRenderWindowInteractor* interactor);
442
446 static void ProcessEvents(
447 vtkObject* caller, unsigned long event, void* clientData, void* callerData);
448
452 virtual void AddSupplementaryPlot(vtkChart* vtkNotUsed(chart), int vtkNotUsed(plotType),
453 vtkStdString vtkNotUsed(row), vtkStdString vtkNotUsed(column), int vtkNotUsed(plotCorner) = 0)
454 {
455 }
456
457 // The position of the active plot (defaults to 0, 1).
458 vtkVector2i ActivePlot;
459
460 // A flag to show if the ActivePlot vector is valid or not
461 bool ActivePlotValid;
462
463 // Weakly owned input data for the scatter plot matrix.
464 vtkSmartPointer<vtkTable> Input;
465
466 // Strongly owned internal data for the column visibility.
467 vtkNew<vtkStringArray> VisibleColumns;
468
469 // The number of bins in the histograms.
470 int NumberOfBins;
471
472 // The title of the scatter plot matrix.
473 vtkStdString Title;
474 vtkSmartPointer<vtkTextProperty> TitleProperties;
475
476 // The mode when the chart is doing selection.
477 int SelectionMode;
478
479 // How many frames should animations consist of, 0 means no transitions.
480 int NumberOfFrames;
481
482 // A flag to know if we are animating the scatter plot along an animation path
483 bool Animating;
484
485 private:
486 vtkScatterPlotMatrix(const vtkScatterPlotMatrix&) = delete;
487 void operator=(const vtkScatterPlotMatrix&) = delete;
488
489 class PIMPL;
490 PIMPL* Private;
491 friend class PIMPL;
492
493 vtkWeakPointer<vtkContext2D> CurrentPainter;
494 vtkMTimeType LayoutUpdatedTime;
495
496 // Go through the process of calculating axis ranges, etc...
497 void UpdateAxes();
498 void ApplyAxisSetting(vtkChart* chart, const vtkStdString& x, const vtkStdString& y);
499 };
500
501 VTK_ABI_NAMESPACE_END
502 #endif // vtkScatterPlotMatrix_h
vtkAnnotationLink
An algorithm for linking annotations among objects.
Definition: vtkAnnotationLink.h:65
vtkAxis
takes care of drawing 2D axes
Definition: vtkAxis.h:70
vtkChartMatrix
container for a matrix of charts.
Definition: vtkChartMatrix.h:41
vtkChart
Factory class for drawing 2D charts.
Definition: vtkChart.h:50
vtkColor4ub
Definition: vtkColor.h:263
vtkContext2D
Class for drawing 2D primitives to a graphical context.
Definition: vtkContext2D.h:59
vtkContextMouseEvent
data structure to represent mouse events.
Definition: vtkContextMouseEvent.h:39
vtkContextScene
Provides a 2D scene for vtkContextItem objects.
Definition: vtkContextScene.h:52
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkNew< vtkStringArray >
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:61
vtkRenderWindowInteractor
platform-independent render window interaction including picking and frame rate control.
Definition: vtkRenderWindowInteractor.h:82
vtkScatterPlotMatrix
container for a matrix of charts.
Definition: vtkScatterPlotMatrix.h:38
vtkScatterPlotMatrix::AxisRangeForwarderCallback
void AxisRangeForwarderCallback(vtkObject *, unsigned long, void *)
Attach axis range listener so we can forward to dependent axes in matrix.
vtkScatterPlotMatrix::SetGridVisibility
void SetGridVisibility(int plotType, bool visible)
Sets whether or not the grid for the given axis is visible given a plot type, which refers to vtkScat...
vtkScatterPlotMatrix::UpdateChartSettings
void UpdateChartSettings(int plotType)
Update charts based on settings given the plot type.
vtkScatterPlotMatrix::GetAxisLabelNotation
int GetAxisLabelNotation(int plotType)
Sets the axis label notation for the axes given a plot type, which refers to vtkScatterPlotMatrix::{S...
vtkScatterPlotMatrix::GetScatterPlotSelectedActiveColor
vtkColor4ub GetScatterPlotSelectedActiveColor()
Set the scatter plot selected active chart background color.
vtkScatterPlotMatrix::SetInput
virtual void SetInput(vtkTable *table)
Set the input table for the scatter plot matrix.
vtkScatterPlotMatrix::SetActivePlot
virtual bool SetActivePlot(const vtkVector2i &position)
Set the active plot, the one that will be displayed in the top-right.
vtkScatterPlotMatrix::UpdateLayout
void UpdateLayout()
Internal helper to do the layout of the charts in the scatter plot matrix.
vtkScatterPlotMatrix::SetAxisLabelProperties
void SetAxisLabelProperties(int plotType, vtkTextProperty *prop)
Set/get the text property for the axis labels of the given plot type, possible types are vtkScatterPl...
vtkScatterPlotMatrix::GetColumnVisibility
bool GetColumnVisibility(const vtkStdString &name)
Get the visibility of the specified column.
vtkScatterPlotMatrix::Hit
bool Hit(const vtkContextMouseEvent &mouse) override
Return true if the supplied x, y coordinate is inside the item.
vtkScatterPlotMatrix::GetAxisLabelPrecision
int GetAxisLabelPrecision(int plotType)
Sets the axis label precision for the axes given a plot type, which refers to vtkScatterPlotMatrix::{...
vtkScatterPlotMatrix::SetPlotMarkerStyle
void SetPlotMarkerStyle(int plotType, int style)
Sets the marker style for the specified plotType.
vtkScatterPlotMatrix::GetAxisLabelProperties
vtkTextProperty * GetAxisLabelProperties(int plotType)
Set/get the text property for the axis labels of the given plot type, possible types are vtkScatterPl...
vtkScatterPlotMatrix::Update
void Update() override
Perform any updates to the item that may be necessary before rendering.
vtkScatterPlotMatrix::NumberOfFrames
int NumberOfFrames
Definition: vtkScatterPlotMatrix.h:480
vtkScatterPlotMatrix::AdvanceAnimation
virtual void AdvanceAnimation()
Advance the animation in response to the timer events.
vtkScatterPlotMatrix::SetScene
void SetScene(vtkContextScene *scene) override
Set the vtkContextScene for the item, always set for an item in a scene.
vtkScatterPlotMatrix::SetTitleProperties
void SetTitleProperties(vtkTextProperty *prop)
Set/get the text properties for the chart title, i.e.
vtkScatterPlotMatrix::GetTooltip
vtkTooltipItem * GetTooltip() const
Get the vtkTooltipItem object that will be displayed by the active chart.
vtkScatterPlotMatrix::GetMainChart
virtual vtkChart * GetMainChart()
Get the main plot (the one in the top-right of the matrix.
vtkScatterPlotMatrix::SetScatterPlotSelectedRowColumnColor
void SetScatterPlotSelectedRowColumnColor(const vtkColor4ub &color)
Set the scatter plot selected row/column charts' background color.
vtkScatterPlotMatrix::GetBackgroundColor
vtkColor4ub GetBackgroundColor(int plotType)
Sets the background color for the chart given a plot type, which refers to vtkScatterPlotMatrix::{SCA...
vtkScatterPlotMatrix::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkScatterPlotMatrix::SetNumberOfBins
virtual void SetNumberOfBins(int numberOfBins)
Set the number of bins in the histograms along the central diagonal of the scatter plot matrix.
vtkScatterPlotMatrix::UpdateAnimationPath
virtual void UpdateAnimationPath(const vtkVector2i &newActivePos)
Given a new position for the active plot, calculate a an animation path from the old active plot to t...
vtkScatterPlotMatrix::ProcessEvents
static void ProcessEvents(vtkObject *caller, unsigned long event, void *clientData, void *callerData)
Process events and dispatch to the appropriate member functions.
vtkScatterPlotMatrix::New
static vtkScatterPlotMatrix * New()
Creates a new object.
vtkScatterPlotMatrix::NumberOfBins
int NumberOfBins
Definition: vtkScatterPlotMatrix.h:470
vtkScatterPlotMatrix::SetAxisLabelVisibility
void SetAxisLabelVisibility(int plotType, bool visible)
Sets whether or not the labels for the axes are visible, given a plot type, which refers to vtkScatte...
vtkScatterPlotMatrix::GetColumnName
vtkStdString GetColumnName(int column)
Get the column name for the supplied index.
vtkScatterPlotMatrix::Paint
bool Paint(vtkContext2D *painter) override
Paint event for the chart matrix.
vtkScatterPlotMatrix::InsertVisibleColumn
void InsertVisibleColumn(const vtkStdString &name, int index)
Insert the specified column at the index position of the visible columns.
vtkScatterPlotMatrix::SetBackgroundColor
void SetBackgroundColor(int plotType, const vtkColor4ub &color)
Sets the background color for the chart given a plot type, which refers to vtkScatterPlotMatrix::{SCA...
vtkScatterPlotMatrix::GetVisibleColumns
virtual vtkStringArray * GetVisibleColumns()
Get a list of the columns, and the order in which they are displayed.
vtkScatterPlotMatrix::SetAxisColor
void SetAxisColor(int plotType, const vtkColor4ub &color)
Sets the color for the axes given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT,...
vtkScatterPlotMatrix::GetGridVisibility
bool GetGridVisibility(int plotType)
Sets whether or not the grid for the given axis is visible given a plot type, which refers to vtkScat...
vtkScatterPlotMatrix::SetAxisLabelPrecision
void SetAxisLabelPrecision(int plotType, int precision)
Sets the axis label precision for the axes given a plot type, which refers to vtkScatterPlotMatrix::{...
vtkScatterPlotMatrix::SetSize
void SetSize(const vtkVector2i &size) override
Reset ActivePlotSet flag and call superclass method.
vtkScatterPlotMatrix::GetTitleProperties
vtkTextProperty * GetTitleProperties()
Set/get the text properties for the chart title, i.e.
vtkScatterPlotMatrix::ClearAnimationPath
void ClearAnimationPath()
Clear the animation path.
vtkScatterPlotMatrix::GetNumberOfFrames
int GetNumberOfFrames()
Get the number of animation frames in each transition.
vtkScatterPlotMatrix::BeginAnimationPath
bool BeginAnimationPath(vtkRenderWindowInteractor *interactor)
Trigger the animation of the scatter plot matrix to begin.
vtkScatterPlotMatrix::MouseButtonPressEvent
bool MouseButtonPressEvent(const vtkContextMouseEvent &mouse) override
Mouse button down event.
vtkScatterPlotMatrix::SetVisibleColumns
virtual void SetVisibleColumns(vtkStringArray *visColumns)
Set the list of visible columns, and the order in which they will be displayed.
vtkScatterPlotMatrix::UpdateSettings
void UpdateSettings()
Convenient method to update all the chart settings.
vtkScatterPlotMatrix::SetPlotMarkerSize
void SetPlotMarkerSize(int plotType, float size)
Sets the marker size for the specified plotType.
vtkScatterPlotMatrix::StartAnimation
virtual void StartAnimation(vtkRenderWindowInteractor *interactor)
Given the render window interactor, start animation of the animation path calculated above.
vtkScatterPlotMatrix::ActivePlotValid
bool ActivePlotValid
Definition: vtkScatterPlotMatrix.h:461
vtkScatterPlotMatrix::GetNumberOfAnimationPathElements
vtkIdType GetNumberOfAnimationPathElements()
Get the number of elements (transitions) in the animation path.
vtkScatterPlotMatrix::SetScatterPlotSelectedActiveColor
void SetScatterPlotSelectedActiveColor(const vtkColor4ub &color)
Set the scatter plot selected active chart background color.
vtkScatterPlotMatrix::Input
vtkSmartPointer< vtkTable > Input
Definition: vtkScatterPlotMatrix.h:464
vtkScatterPlotMatrix::vtkScatterPlotMatrix
vtkScatterPlotMatrix()
vtkScatterPlotMatrix::ResizeBigChart
void ResizeBigChart()
Compute and set big chart resize.
vtkScatterPlotMatrix::SetTooltipNotation
void SetTooltipNotation(int plotType, int notation)
Set chart's tooltip notation and precision, given a plot type, which refers to vtkScatterPlotMatrix::...
vtkScatterPlotMatrix::GetPlotType
int GetPlotType(int row, int column)
Returns the type of the plot at the given position.
vtkScatterPlotMatrix::Title
vtkStdString Title
Definition: vtkScatterPlotMatrix.h:473
vtkScatterPlotMatrix::SetIndexedLabels
void SetIndexedLabels(vtkStringArray *labels)
Set indexed labels array.
vtkScatterPlotMatrix::GetTitle
vtkStdString GetTitle()
Set/get the scatter plot title.
vtkScatterPlotMatrix::SetPlotColor
void SetPlotColor(int plotType, const vtkColor4ub &color)
Set the color for the specified plotType.
vtkScatterPlotMatrix::GetScatterPlotSelectedRowColumnColor
vtkColor4ub GetScatterPlotSelectedRowColumnColor()
Set the scatter plot selected row/column charts' background color.
vtkScatterPlotMatrix::GetIndexedLabels
vtkStringArray * GetIndexedLabels() const
Get the indexed labels array.
vtkScatterPlotMatrix::GetNumberOfBins
virtual int GetNumberOfBins() const
Get the number of bins the histograms along the central diagonal scatter plot matrix.
Definition: vtkScatterPlotMatrix.h:139
vtkScatterPlotMatrix::ACTIVEPLOT
@ ACTIVEPLOT
Definition: vtkScatterPlotMatrix.h:44
vtkScatterPlotMatrix::SCATTERPLOT
@ SCATTERPLOT
Definition: vtkScatterPlotMatrix.h:42
vtkScatterPlotMatrix::HISTOGRAM
@ HISTOGRAM
Definition: vtkScatterPlotMatrix.h:43
vtkScatterPlotMatrix::SetTooltip
void SetTooltip(vtkTooltipItem *tooltip)
Set the vtkTooltipItem object that will be displayed by the active chart.
vtkScatterPlotMatrix::~vtkScatterPlotMatrix
~vtkScatterPlotMatrix() override
vtkScatterPlotMatrix::MouseMoveEvent
bool MouseMoveEvent(const vtkContextMouseEvent &mouse) override
Mouse move event.
vtkScatterPlotMatrix::BigChartSelectionCallback
void BigChartSelectionCallback(vtkObject *, unsigned long, void *)
The callback function when SelectionChangedEvent is invoked from the Big chart.
vtkScatterPlotMatrix::SetColumnVisibility
void SetColumnVisibility(const vtkStdString &name, bool visible)
Set the visibility of the specified column.
vtkScatterPlotMatrix::GetAxisColor
vtkColor4ub GetAxisColor(int plotType)
Sets the color for the axes given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT,...
vtkScatterPlotMatrix::GetPlotType
int GetPlotType(const vtkVector2i &pos)
Returns the type of the plot at the given position.
vtkScatterPlotMatrix::SelectionMode
int SelectionMode
Definition: vtkScatterPlotMatrix.h:477
vtkScatterPlotMatrix::SetGridColor
void SetGridColor(int plotType, const vtkColor4ub &color)
Sets the color for the axes given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT,...
vtkScatterPlotMatrix::SetColumnVisibilityAll
void SetColumnVisibilityAll(bool visible)
Set the visibility of all columns (true will make them all visible, false will remove all visible col...
vtkScatterPlotMatrix::Animating
bool Animating
Definition: vtkScatterPlotMatrix.h:483
vtkScatterPlotMatrix::AddAnimationPath
bool AddAnimationPath(const vtkVector2i &move)
Add a move to the animation path.
vtkScatterPlotMatrix::ActivePlot
vtkVector2i ActivePlot
Definition: vtkScatterPlotMatrix.h:458
vtkScatterPlotMatrix::SetTitle
void SetTitle(const vtkStdString &title)
Set/get the scatter plot title.
vtkScatterPlotMatrix::GetAnimationPathElement
vtkVector2i GetAnimationPathElement(vtkIdType i)
Get the element specified from the animation path.
vtkScatterPlotMatrix::GetActivePlot
virtual vtkVector2i GetActivePlot()
Get the position of the active plot.
vtkScatterPlotMatrix::AttachAxisRangeListener
void AttachAxisRangeListener(vtkAxis *)
Attach axis range listener so we can forward to dependent axes in matrix.
vtkScatterPlotMatrix::AddSupplementaryPlot
virtual void AddSupplementaryPlot(vtkChart *vtkNotUsed(chart), int vtkNotUsed(plotType), vtkStdString vtkNotUsed(row), vtkStdString vtkNotUsed(column), int vtkNotUsed(plotCorner)=0)
Called when drawing a chart, does nothing at this level.
Definition: vtkScatterPlotMatrix.h:452
vtkScatterPlotMatrix::SetNumberOfFrames
void SetNumberOfFrames(int frames)
Set the number of animation frames in each transition.
vtkScatterPlotMatrix::SetAxisLabelNotation
void SetAxisLabelNotation(int plotType, int notation)
Sets the axis label notation for the axes given a plot type, which refers to vtkScatterPlotMatrix::{S...
vtkScatterPlotMatrix::TitleProperties
vtkSmartPointer< vtkTextProperty > TitleProperties
Definition: vtkScatterPlotMatrix.h:474
vtkScatterPlotMatrix::MouseButtonReleaseEvent
bool MouseButtonReleaseEvent(const vtkContextMouseEvent &mouse) override
Mouse button release event.
vtkScatterPlotMatrix::SetTooltipPrecision
void SetTooltipPrecision(int plotType, int precision)
Set chart's tooltip notation and precision, given a plot type, which refers to vtkScatterPlotMatrix::...
vtkScatterPlotMatrix::GetAxisLabelVisibility
bool GetAxisLabelVisibility(int plotType)
Sets whether or not the labels for the axes are visible, given a plot type, which refers to vtkScatte...
vtkScatterPlotMatrix::GetTooltipNotation
int GetTooltipNotation(int plotType)
Set chart's tooltip notation and precision, given a plot type, which refers to vtkScatterPlotMatrix::...
vtkScatterPlotMatrix::GetAnnotationLink
vtkAnnotationLink * GetAnnotationLink()
Get the AnnotationLink for the scatter plot matrix, this gives you access to the currently selected p...
vtkScatterPlotMatrix::GetRowName
vtkStdString GetRowName(int row)
Get the column name for the supplied index.
vtkScatterPlotMatrix::GetTooltipPrecision
int GetTooltipPrecision(int plotType)
Set chart's tooltip notation and precision, given a plot type, which refers to vtkScatterPlotMatrix::...
vtkScatterPlotMatrix::VisibleColumns
vtkNew< vtkStringArray > VisibleColumns
Definition: vtkScatterPlotMatrix.h:467
vtkScatterPlotMatrix::SetSelectionMode
virtual void SetSelectionMode(int)
Set/get the Selection Mode that will be used by the chart while doing selection.
vtkScatterPlotMatrix::GetGridColor
vtkColor4ub GetGridColor(int plotType)
Sets the color for the axes given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT,...
vtkSmartPointer< vtkTable >
vtkStdString
Wrapper around std::string to keep symbols short.
Definition: vtkStdString.h:38
vtkStringArray
a vtkAbstractArray subclass for strings
Definition: vtkStringArray.h:41
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:68
vtkTextProperty
represent text properties.
Definition: vtkTextProperty.h:35
vtkTooltipItem
takes care of drawing 2D axes
Definition: vtkTooltipItem.h:29
vtkVector2i
Some derived classes for the different vectors commonly used.
Definition: vtkVector.h:450
vtkWeakPointer< vtkContext2D >
vtkX3D::color
@ color
Definition: vtkX3D.h:221
vtkX3D::style
@ style
Definition: vtkX3D.h:492
vtkX3D::name
@ name
Definition: vtkX3D.h:219
vtkX3D::position
@ position
Definition: vtkX3D.h:261
vtkX3D::size
@ size
Definition: vtkX3D.h:253
vtkX3D::index
@ index
Definition: vtkX3D.h:246
vtkX3D::title
@ title
Definition: vtkX3D.h:500
vtkChartMatrix.h
vtkColor.h
vtkNew.h
vtkSmartPointer.h
vtkStdString.h
vtkIdType
int vtkIdType
Definition: vtkType.h:315
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:270
vtkWeakPointer.h