29 #ifndef vtkScatterPlotMatrix_h 30 #define vtkScatterPlotMatrix_h 32 #include "vtkChartsCoreModule.h" 105 virtual void SetInput(
vtkTable *table);
127 void SetColumnVisibilityAll(
bool visible);
143 virtual void SetNumberOfBins(
int numberOfBins);
159 void SetPlotMarkerStyle(
int plotType,
int style);
164 void SetPlotMarkerSize(
int plotType,
float size);
192 int GetPlotType(
int row,
int column);
217 void SetGridVisibility(
int plotType,
bool visible);
218 bool GetGridVisibility(
int plotType);
226 void SetBackgroundColor(
int plotType,
const vtkColor4ub& color);
235 void SetAxisColor(
int plotType,
const vtkColor4ub& color);
244 void SetGridColor(
int plotType,
const vtkColor4ub& color);
254 void SetAxisLabelVisibility(
int plotType,
bool visible);
255 bool GetAxisLabelVisibility(
int plotType);
272 void SetAxisLabelNotation(
int plotType,
int notation);
273 int GetAxisLabelNotation(
int plotType);
281 void SetAxisLabelPrecision(
int plotType,
int precision);
282 int GetAxisLabelPrecision(
int plotType);
290 void SetTooltipNotation(
int plotType,
int notation);
291 void SetTooltipPrecision(
int plotType,
int precision);
292 int GetTooltipNotation(
int plotType);
293 int GetTooltipPrecision(
int plotType);
320 void SetScatterPlotSelectedRowColumnColor(
const vtkColor4ub& color);
321 vtkColor4ub GetScatterPlotSelectedRowColumnColor();
328 void SetScatterPlotSelectedActiveColor(
const vtkColor4ub& color);
335 void UpdateSettings();
340 void UpdateChartSettings(
int plotType);
348 virtual void SetSelectionMode(
int);
349 vtkGetMacro(SelectionMode,
int);
366 void SetNumberOfFrames(
int frames);
372 int GetNumberOfFrames();
377 void ClearAnimationPath();
389 vtkIdType GetNumberOfAnimationPathElements();
405 virtual void AdvanceAnimation();
424 void ResizeBigChart();
430 void AttachAxisRangeListener(
vtkAxis*);
431 void AxisRangeForwarderCallback(
vtkObject*,
unsigned long,
void*);
438 void BigChartSelectionCallback(
vtkObject*,
unsigned long,
void*);
445 virtual void UpdateAnimationPath(
const vtkVector2i& newActivePos);
456 static void ProcessEvents(
vtkObject *caller,
unsigned long event,
457 void *clientData,
void *callerData);
464 int vtkNotUsed(plotCorner) = 0){}
511 #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.
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
virtual int GetNumberOfBins() const
Get the number of bins the histograms along the central diagonal scatter plot matrix.
An algorithm for linking annotations among objects.