26 #ifndef vtkScatterPlotMatrix_h 27 #define vtkScatterPlotMatrix_h 29 #include "vtkChartsCoreModule.h" 102 virtual void SetInput(
vtkTable *table);
124 void SetColumnVisibilityAll(
bool visible);
140 virtual void SetNumberOfBins(
int numberOfBins);
156 void SetPlotMarkerStyle(
int plotType,
int style);
161 void SetPlotMarkerSize(
int plotType,
float size);
189 int GetPlotType(
int row,
int column);
214 void SetGridVisibility(
int plotType,
bool visible);
215 bool GetGridVisibility(
int plotType);
251 void SetAxisLabelVisibility(
int plotType,
bool visible);
252 bool GetAxisLabelVisibility(
int plotType);
269 void SetAxisLabelNotation(
int plotType,
int notation);
270 int GetAxisLabelNotation(
int plotType);
278 void SetAxisLabelPrecision(
int plotType,
int precision);
279 int GetAxisLabelPrecision(
int plotType);
287 void SetTooltipNotation(
int plotType,
int notation);
288 void SetTooltipPrecision(
int plotType,
int precision);
289 int GetTooltipNotation(
int plotType);
290 int GetTooltipPrecision(
int plotType);
318 vtkColor4ub GetScatterPlotSelectedRowColumnColor();
332 void UpdateSettings();
337 void UpdateChartSettings(
int plotType);
345 virtual void SetSelectionMode(
int);
346 vtkGetMacro(SelectionMode,
int);
363 void SetNumberOfFrames(
int frames);
369 int GetNumberOfFrames();
374 void ClearAnimationPath();
386 vtkIdType GetNumberOfAnimationPathElements();
402 virtual void AdvanceAnimation();
421 void ResizeBigChart();
427 void AttachAxisRangeListener(
vtkAxis*);
428 void AxisRangeForwarderCallback(
vtkObject*,
unsigned long,
void*);
435 void BigChartSelectionCallback(
vtkObject*,
unsigned long,
void*);
442 virtual void UpdateAnimationPath(
const vtkVector2i& newActivePos);
453 static void ProcessEvents(
vtkObject *caller,
unsigned long event,
454 void *clientData,
void *callerData);
461 int vtkNotUsed(plotCorner) = 0){}
508 #endif //vtkScatterPlotMatrix_h
Wrapper around std::string to keep symbols short.
bool Paint(vtkContext2D *painter) override
Paint event for the chart matrix.
abstract base class for most VTK objects
vtkTypeUInt32 vtkMTimeType
container for a matrix of charts.
virtual bool MouseButtonPressEvent(const vtkContextMouseEvent &mouse)
Mouse button down event Return true if the item holds the event, false if the event can be propagated...
a vtkAbstractArray subclass for strings
vtkSmartPointer< vtkTextProperty > TitleProperties
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.
void Update() override
Perform any updates to the item that may be necessary before rendering.
platform-independent render window interaction including picking and frame rate control.
Class for drawing 2D primitives to a graphical context.
Factory class for drawing 2D charts.
virtual void SetScene(vtkContextScene *scene)
Set the vtkContextScene for the item, always set for an item in a scene.
takes care of drawing 2D axes
Provides a 2D scene for vtkContextItem objects.
data structure to represent mouse events.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Some derived classes for the different vectors commonly used.
virtual bool MouseButtonReleaseEvent(const vtkContextMouseEvent &mouse)
Mouse button release event.
virtual void SetSize(const vtkVector2i &size)
Set the width and height of the chart matrix.
virtual int GetNumberOfBins() const
Get the number of bins the histograms along the central diagonal scatter plot matrix.
represent text properties.
container for a matrix of charts.
A table, which contains similar-typed columns of data.
static vtkChartMatrix * New()
Creates a new object.
virtual bool MouseMoveEvent(const vtkContextMouseEvent &mouse)
Mouse move event.
vtkSmartPointer< vtkTable > Input
virtual bool Hit(const vtkContextMouseEvent &mouse)
Return true if the supplied x, y coordinate is inside the item.
vtkNew< vtkStringArray > VisibleColumns
An algorithm for linking annotations among objects.