62#ifndef vtkPlotRadViz_h
63#define vtkPlotRadViz_h
65#include "vtkChartsCoreModule.h"
78VTK_ABI_NAMESPACE_BEGIN
583 vtkInternals* Internals;
Class for drawing 2D primitives to a graphical context.
general representation of visualization data
represent and manipulate attribute data in a dataset
abstract class to specify dataset behavior
dynamic, self-adjusting array of double
a simple class to control print indentation
Maps multivariate data to color and opacity.
Allocate and hold a VTK object.
provides a pen that draws the outlines of shapes drawn by vtkContext2D.
const double * GetSceneCenter() const
Center of the plot in scene coordinates.
double MarkerOutlineWidth
Width of the black outline of the markers.
bool GetVariableVisibility(int index)
Variable visibility, by name or index.
void UpdateCenterAndRadius(vtkContext2D *painter)
Recomputes the plot circle's center and radius from Dimensions, shrinking the radius so that there is...
void SetVariablesVisibleByDefault(bool visible)
Variable visibility, by name or index.
vtkSmartPointer< vtkUnsignedCharArray > TransformColors(vtkDataArray *rgba)
vtkNew< vtkMultiVariateToRGBA > ComputeGBC
Persistent filter used to compute the GBC/RGBA values, and that also owns the variable visibility con...
virtual void SetSceneLensRadius(double radius)
Radius of the lens in scene coordinates, see SetSceneLensCenter, including why these functions are ex...
static vtkDataArray * GetArray(vtkDataSetAttributes *attributes, const char *name)
Returns the array 'name' of 'attributes' or throws std::runtime_error if the array is not found.
void DrawLabels(vtkContext2D *painter, vtkDataArray *vertices, vtkPen *pen)
void SetVariableVisibility(const std::string &name, bool visible)
Variable visibility, by name or index.
bool Paint(vtkContext2D *painter) override
Paint event for the item.
vtkSmartPointer< vtkDoubleArray > ApplyPenColor(vtkPen *pen, vtkDataArray *rgba)
Returns a per-point RGBA array using 'pen' color for RGB and 'rgba's A component for alpha.
bool ColorWheelVisibility
vtkSmartPointer< vtkStringArray > VisibleLabels
The label of each vertex: the labels set with SetLabels for the visible variables,...
void AddVisibleVariableIndex(int index)
Variable visibility, by name or index.
std::vector< std::string > GetNameVisibilityExceptions() VTK_FUTURE_CONST
Variable visibility, by name or index.
double SceneLensCenter[2]
Storage for GetSceneLensCenter().
std::vector< int > GetVisibleVariableIndices()
Variable visibility, by name or index.
void ResetVisibleVariableIndices()
Variable visibility, by name or index.
vtkSmartPointer< vtkPen > LensPen
Controls how the lens circle outline is drawn.
void UpdateFilterInput()
Updates the producer of the plot input, then passes the input and the array selection of the plot to ...
void SetVariableVisibilityAll(bool visible)
Variable visibility, by name or index.
void SetVisibleVariableIndices(const std::vector< int > &indices)
Variable visibility, by name or index.
int ColorWheelSegmentCount
void SetVariableVisibility(int index, bool visible)
Variable visibility, by name or index.
bool ActiveLensOutline
Set to true when the mouse is over the lens outline or when the lens is resized and set to false othe...
bool GetVariableVisibility(const std::string &name)
Variable visibility, by name or index.
std::vector< int > GetPartitionIndices() VTK_FUTURE_CONST
Variables can be partitioned into several groups.
bool GetVariablesVisibleByDefault() VTK_FUTURE_CONST
Variable visibility, by name or index.
static vtkPlotRadViz * New()
void ComputeVisibleLabels()
Computes VisibleLabels from the visible variables.
void SetCustomRange(const std::vector< double > &customRange)
Custom ranges used as the global min/max when normalizing scalars, instead of the range computed from...
vtkSmartPointer< vtkPen > VerticesPen
Controls how the vertices are drawn.
void ShiftLabelByPenWidth(double width, double transformedXy[2])
void SetDimensions(int arg1, int arg2, int arg3, int arg4)
Set/Get the bounding box of the plot.
void SetPartitionOffsets(const std::vector< int > &partitionOffsets)
Variables can be partitioned into several groups.
vtkStringArray * GetLabels() override
Returns the labels set with SetLabels(), or nullptr.
double GetSceneLensRadius()
Center and radius of the lens in GBC space (the unit circle centered at the origin,...
double LensCenter[2]
The lens in GBC space.
void SetVisibleVariables(vtkStringArray *names)
Variable visibility, by name or index.
int ActiveVertexIndex
The index of the active vertex (mouse over it or rotating the vertices by dragging that vertex),...
static int GetColorWheelStartAngle()
Angle in degrees at which the starting color (red) is placed on the color wheel.
bool LensVisibility
Show the lens if true.
std::tuple< vtkDataArray *, vtkDataArray *, vtkDataArray * > GetVerticesGbcRgba(vtkDataObject *output)
Returns the arrays named 'vertices', 'gbc' and 'rgba' from a table or dataset, or throws std::runtime...
void AddPartitionOffset(int offset)
Element-wise, ClientServer-wrappable equivalents of SetPartitionIndices() and SetPartitionOffsets().
vtkColor4ub ActiveColor
Pen used for active vertex, active lens circle or active lens center.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
std::vector< int > GetIndexVisibilityExceptions() VTK_FUTURE_CONST
Variable visibility, by name or index.
static bool GetColorWheelClockwiseOrdering()
Colors are laid out in clockwise order if true, counter-clockwise otherwise.
void SetInputArray(int index, const vtkStdString &name) override
Selects the array 'name' of a dataset input for index 0, searching the point data then the cell data,...
std::vector< int > GetPartitionOffsets() VTK_FUTURE_CONST
Variables can be partitioned into several groups.
void SetPartitionIndices(const std::vector< int > &partitionIndices)
Variables can be partitioned into several groups.
bool VerticesClockwiseOrdering
void AddPartitionIndex(int index)
Element-wise, ClientServer-wrappable equivalents of SetPartitionIndices() and SetPartitionOffsets().
void SetNameVisibilityExceptions(const std::vector< std::string > &names)
Variable visibility, by name or index.
vtkStringArray * GetVisibleVariables()
Variable visibility, by name or index.
void ClearPartitionOffsets()
Element-wise, ClientServer-wrappable equivalents of SetPartitionIndices() and SetPartitionOffsets().
vtkSmartPointer< vtkPoints2D > Vertices
vtkSmartPointer< vtkPoints2D > DrawColoredMarkers(vtkContext2D *painter, vtkDataArray *points, vtkPen *pen, vtkDataArray *color=nullptr)
Draw the points using the 'pen' attributes and 'color' instead of the 'pen' color.
void SetIndexVisibilityExceptions(const std::vector< int > &indices)
Variable visibility, by name or index.
vtkSmartPointer< vtkPoints2D > TransformPoints(vtkDataArray *points)
void ClearPartitionIndices()
Element-wise, ClientServer-wrappable equivalents of SetPartitionIndices() and SetPartitionOffsets().
void DrawColorWheel(vtkContext2D *painter)
virtual void SetVerticesRotation(double rotation)
Angle in degrees to rotate the vertices encoding the multivariate attributes.
double GetSceneRadius() const
Radius of the plot in scene coordinates.
double * GetSceneLensCenter()
Center and radius of the lens in GBC space (the unit circle centered at the origin,...
vtkSmartPointer< vtkTextProperty > LabelsProperties
The text properties associated with the vertex labels.
vtkSmartPointer< vtkPoints2D > DrawMarkers(vtkContext2D *painter, vtkDataArray *points, vtkPen *pen, int activeIndex=-1)
Draw the points using the 'pen' attributes.
std::vector< double > GetCustomRange() VTK_FUTURE_CONST
Custom ranges used as the global min/max when normalizing scalars, instead of the range computed from...
static std::pair< int, int > GetJustification(double xy[2])
Returns the horizontal and vertical text justification for xy coordinates.
void DrawLens(vtkContext2D *painter)
virtual void SetLensRadius(double radius)
Center and radius of the lens in GBC space (the unit circle centered at the origin,...
virtual void SetSceneLensCenter(const double *center)
Center of the lens in scene coordinates.
double OutsideLensAlpha
Alpha cap for points outside the lens.
virtual void SetInputDataSet(vtkDataSet *dataset)
bool ActiveLensInterior
Set to true when the mouse is over the lens interior or when the lens is dragged and set to false oth...
represent and manipulate 2D points
Hold a reference to a vtkObjectBase instance.
static vtkSmartPointer< T > New()
Create an instance of a VTK object.
Wrapper around std::string to keep symbols short.
a vtkAbstractArray subclass for strings
represent text properties.
dynamic, self-adjusting array of unsigned char
std::pair< boost::graph_traits< vtkGraph * >::vertex_iterator, boost::graph_traits< vtkGraph * >::vertex_iterator > vertices(vtkGraph *g)
#define VTK_MARSHAL_EXCLUDE_REASON_IS_REDUNDANT
#define VTK_SIZEHINT(...)
#define VTK_MARSHALEXCLUDE(reason)