Go to the documentation of this file.
29 #ifndef vtkScatterPlotMatrix_h
30 #define vtkScatterPlotMatrix_h
32 #include "vtkChartsCoreModule.h"
344 vtkGetMacro(SelectionMode,
int);
452 void *clientData,
void *callerData);
493 #endif //vtkScatterPlotMatrix_h
Factory class for drawing 2D charts.
void SetIndexedLabels(vtkStringArray *labels)
Set indexed labels array.
virtual void SetInput(vtkTable *table)
Set the input table for the scatter plot matrix.
data structure to represent mouse events.
virtual vtkVector2i GetActivePlot()
Get the position of the active plot.
bool GetColumnVisibility(const vtkStdString &name)
Get the visibility of the specified column.
vtkTooltipItem * GetTooltip() const
Get the vtkTooltipItem object that will be displayed by the active chart.
virtual bool Paint(vtkContext2D *painter)
Paint event for the chart matrix.
void UpdateChartSettings(int plotType)
Update charts based on settings given the plot type.
bool GetGridVisibility(int plotType)
void ResizeBigChart()
Compute and set big chart resize.
bool GetAxisLabelVisibility(int plotType)
static vtkScatterPlotMatrix * New()
Creates a new object.
virtual void SetSelectionMode(int)
Set/get the Selection Mode that will be used by the chart while doing selection.
void SetScatterPlotSelectedRowColumnColor(const vtkColor4ub &color)
Set the scatter plot selected row/column charts' background color.
void SetTitleProperties(vtkTextProperty *prop)
Set/get the text properties for the chart title, i.e.
void SetColumnVisibility(const vtkStdString &name, bool visible)
Set the visibility of the specified column.
bool MouseButtonPressEvent(const vtkContextMouseEvent &mouse)
Mouse button down event.
A table, which contains similar-typed columns of data.
virtual void SetScene(vtkContextScene *scene)
Set the vtkContextScene for the item, always set for an item in a scene.
void ClearAnimationPath()
Clear the animation path.
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...
container for a matrix of charts.
void UpdateLayout()
Internal helper to do the layout of the charts in the scatter plot matrix.
abstract base class for most VTK objects
void SetBackgroundColor(int plotType, const vtkColor4ub &color)
Sets the background color for the chart given a plot type, which refers to vtkScatterPlotMatrix::{SCA...
vtkColor4ub GetScatterPlotSelectedActiveColor()
An algorithm for linking annotations among objects.
int GetNumberOfFrames()
Get the number of animation frames in each transition.
void UpdateSettings()
Convenient method to update all the chart settings.
vtkNew< vtkStringArray > VisibleColumns
Class for drawing 2D primitives to a graphical context.
bool AddAnimationPath(const vtkVector2i &move)
Add a move to the animation path.
void SetGridColor(int plotType, const vtkColor4ub &color)
Sets the color for the axes given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT,...
vtkColor4ub GetScatterPlotSelectedRowColumnColor()
vtkStringArray * GetIndexedLabels() const
Get the indexed labels array.
virtual vtkChart * GetMainChart()
Get the main plot (the one in the top-right of the matrix.
virtual void AdvanceAnimation()
Advance the animation in response to the timer events.
void SetPlotColor(int plotType, const vtkColor4ub &color)
Set the color for the specified plotType.
void SetNumberOfFrames(int frames)
Set the number of animation frames in each transition.
virtual vtkStringArray * GetVisibleColumns()
Get a list of the columns, and the order in which they are displayed.
vtkTypeUInt64 vtkMTimeType
vtkIdType GetNumberOfAnimationPathElements()
Get the number of elements (transitions) in the animation path.
void SetTooltipNotation(int plotType, int notation)
Set chart's tooltip notation and precision, given a plot type, which refers to vtkScatterPlotMatrix::...
vtkSmartPointer< vtkTextProperty > TitleProperties
bool Hit(const vtkContextMouseEvent &mouse)
Return true if the supplied x, y coordinate is inside the item.
void SetAxisColor(int plotType, const vtkColor4ub &color)
Sets the color for the axes given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT,...
vtkColor4ub GetAxisColor(int plotType)
void BigChartSelectionCallback(vtkObject *, unsigned long, void *)
The callback function when SelectionChangedEvent is invoked from the Big chart.
void SetTooltip(vtkTooltipItem *tooltip)
Set the vtkTooltipItem object that will be displayed by the active chart.
Provides a 2D scene for vtkContextItem objects.
int GetAxisLabelNotation(int plotType)
static void ProcessEvents(vtkObject *caller, unsigned long event, void *clientData, void *callerData)
Process events and dispatch to the appropriate member functions.
int GetTooltipPrecision(int plotType)
void SetPlotMarkerStyle(int plotType, int style)
Sets the marker style for the specified plotType.
bool BeginAnimationPath(vtkRenderWindowInteractor *interactor)
Trigger the animation of the scatter plot matrix to begin.
void SetColumnVisibilityAll(bool visible)
Set the visibility of all columns (true will make them all visible, false will remove all visible col...
virtual void Update()
Perform any updates to the item that may be necessary before rendering.
a simple class to control print indentation
void SetAxisLabelPrecision(int plotType, int precision)
Sets the axis label precision for the axes given a plot type, which refers to vtkScatterPlotMatrix::{...
int GetPlotType(int row, int column)
void SetScatterPlotSelectedActiveColor(const vtkColor4ub &color)
Set the scatter plot selected active chart background color.
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...
virtual void SetNumberOfBins(int numberOfBins)
Set the number of bins in the histograms along the central diagonal of the scatter plot matrix.
virtual bool SetActivePlot(const vtkVector2i &position)
Set the active plot, the one that will be displayed in the top-right.
void AxisRangeForwarderCallback(vtkObject *, unsigned long, void *)
vtkColor4ub GetGridColor(int plotType)
container for a matrix of charts.
vtkStdString GetColumnName(int column)
Get the column name for the supplied index.
void SetTooltipPrecision(int plotType, int precision)
bool MouseMoveEvent(const vtkContextMouseEvent &mouse)
Mouse move event.
virtual void StartAnimation(vtkRenderWindowInteractor *interactor)
Given the render window interactor, start animation of the animation path calculated above.
platform-independent render window interaction including picking and frame rate control.
void SetTitle(const vtkStdString &title)
Set/get the scatter plot title.
vtkTextProperty * GetAxisLabelProperties(int plotType)
vtkSmartPointer< vtkTable > Input
represent text properties.
vtkAnnotationLink * GetAnnotationLink()
Get the AnnotationLink for the scatter plot matrix, this gives you access to the currently selected p...
vtkTextProperty * GetTitleProperties()
int GetTooltipNotation(int plotType)
takes care of drawing 2D axes
vtkColor4ub GetBackgroundColor(int plotType)
virtual int GetNumberOfBins() const
Get the number of bins the histograms along the central diagonal scatter plot matrix.
virtual void SetVisibleColumns(vtkStringArray *visColumns)
Set the list of visible columns, and the order in which they will be displayed.
int GetPlotType(const vtkVector2i &pos)
Returns the type of the plot at the given position.
vtkStdString GetRowName(int row)
Get the column name for the supplied index.
a vtkAbstractArray subclass for strings
void SetPlotMarkerSize(int plotType, float size)
Sets the marker size for the specified plotType.
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...
void SetAxisLabelNotation(int plotType, int notation)
Sets the axis label notation for the axes given a plot type, which refers to vtkScatterPlotMatrix::{S...
Some derived classes for the different vectors commonly used.
vtkVector2i GetAnimationPathElement(vtkIdType i)
Get the element specified from the animation path.
Wrapper around std::string to keep symbols short.
bool MouseButtonReleaseEvent(const vtkContextMouseEvent &mouse)
Mouse button release event.
void AttachAxisRangeListener(vtkAxis *)
Attach axis range listener so we can forward to dependent axes in matrix.
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
int GetAxisLabelPrecision(int plotType)
void InsertVisibleColumn(const vtkStdString &name, int index)
Insert the specified column at the index position of the visible columns.
void SetAxisLabelProperties(int plotType, vtkTextProperty *prop)
Set/get the text property for the axis labels of the given plot type, possible types are vtkScatterPl...