37#ifndef vtkChartRadViz_h
38#define vtkChartRadViz_h
41#include "vtkChartsCoreModule.h"
47VTK_ABI_NAMESPACE_BEGIN
203 bool& activeLensInterior);
213 std::unique_ptr<vtkInternals> Internals;
bool MouseButtonPressEvent(const vtkContextMouseEvent &mouse) override
Mouse button down event.
vtkPlot * GetPlot(vtkIdType index) override
Get the plot at the specified index, returns null if the index is invalid.
void SetScene(vtkContextScene *scene) override
Set the vtkContextScene for the item, always set for an item in a scene.
bool Hit(const vtkContextMouseEvent &mouse) override
Return true if the supplied x, y coordinates are inside the item.
bool GetVariableVisibility(int index)
Variable visibility, by name or index.
bool Paint(vtkContext2D *painter) override
Paint event for the chart, called whenever the chart needs to be drawn.
void SetVariableVisibility(const std::string &name, bool visible)
Variable visibility, by name or index.
void Update() override
Perform any updates to the item that may be necessary before rendering.
bool MouseEnterEvent(const vtkContextMouseEvent &mouse) override
Mouse enter event.
virtual void SetVisibleVariables(vtkStringArray *names)
Variable visibility, by name or index.
bool MouseLeaveEvent(const vtkContextMouseEvent &mouse) override
Mouse leave event.
virtual vtkStringArray * GetVisibleVariables()
Variable visibility, by name or index.
void ClearPlots() override
Add a plot to the chart.
void GetActiveElement(const vtkVector2f &pos, int &activeVertexIndex, bool &activeLensOutline, bool &activeLensInterior)
Gets the active element (vertex, lens outline or lens interior) based on the mouse position.
vtkIdType GetNumberOfPlots() override
Get the number of plots the chart contains.
bool RemovePlot(vtkIdType index) override
Remove the plot, the same as SetPlot(nullptr).
bool MouseMoveEvent(const vtkContextMouseEvent &mouse) override
Mouse move event.
void SetVariableVisibilityAll(bool visible)
Variable visibility, by name or index.
std::vector< int > GetVisibleVariableIndices()
Variable visibility, by name or index.
void SetVariableVisibility(int index, bool visible)
Variable visibility, by name or index.
virtual void SetPlot(vtkPlotRadViz *plot)
Set the plot to use for the chart.
bool MouseWheelEvent(const vtkContextMouseEvent &mouse, int delta) override
Mouse wheel event, positive delta indicates forward movement of the wheel.
static vtkChartRadViz * New()
Creates a RadViz chart object.
vtkPlot * AddPlot(int type) override
Add a plot to the chart.
bool GetVariableVisibility(const std::string &name)
Variable visibility, by name or index.
bool MouseButtonReleaseEvent(const vtkContextMouseEvent &mouse) override
Mouse button release event.
void SetVisibleVariableIndices(const std::vector< int > &indices)
Variable visibility, by name or index.
vtkIdType AddPlot(vtkPlot *plot) override
Set 'plot', a vtkPlotRadViz, as the plot of the chart, the same as SetPlot(), and return 0.
void AddVisibleVariableIndex(int index)
Variable visibility, by name or index.
void ResetVisibleVariableIndices()
Variable visibility, by name or index.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Class for drawing 2D primitives to a graphical context.
data structure to represent mouse events.
Provides a 2D scene for vtkContextItem objects.
a simple class to control print indentation
Radial plot of multivariate data that shows the relations among these variables.
Abstract class for 2D plots.
a vtkAbstractArray subclass for strings
#define VTK_MARSHAL_EXCLUDE_REASON_IS_REDUNDANT
#define VTK_MARSHALEXCLUDE(reason)