Go to the documentation of this file.
55 #ifndef vtkParallelCoordinatesHistogramRepresentation_h
56 #define vtkParallelCoordinatesHistogramRepresentation_h
58 #include "vtkViewsInfovisModule.h"
84 vtkGetMacro(UseHistograms,
int);
93 vtkGetMacro(ShowOutliers,
int);
101 vtkSetVector2Macro(HistogramLookupTableRange,
double);
102 vtkGetVector2Macro(HistogramLookupTableRange,
double);
111 vtkGetVector2Macro(NumberOfHistogramBins,
int);
119 vtkGetMacro(PreferredNumberOfOutliers,
int);
155 double HistogramLookupTableRange[2];
160 int NumberOfHistogramBins[2];
Data representation that takes generic multivariate data and produces a parallel coordinates plot.
virtual int PlaceSelection(vtkPolyData *polyData, vtkTable *data, vtkSelectionNode *selectionNode)
Draw a selection node referencing the row ids of a table into a poly data object.
A node in a selection tree.
vtkSmartPointer< vtkActor2D > OutlierActor
compute the outliers in a set of 2D histograms and extract the corresponding row data.
A table, which contains similar-typed columns of data.
virtual int UpdatePlotProperties(vtkStringArray *)
Set plot actor properties (line thickness, opacity, etc)
virtual void SetUseHistograms(int)
Whether to use the histogram rendering mode or the superclass's line rendering mode.
int UseHistograms
Flag deciding if histograms will be drawn.
virtual int SetRangeAtPosition(int position, double range[2])
Calls the superclass method, and assures that only the two histograms affect by this call get recompu...
The superclass for all views.
Sets theme colors for a graphical view.
vtkParallelCoordinatesHistogramRepresentation()
virtual void SetShowOutliers(int)
Whether to compute and show outlier lines.
void SetPreferredNumberOfOutliers(int)
Target maximum number of outliers to be drawn, although not guaranteed.
virtual int PlaceHistogramCurveQuads(vtkPolyData *polyData)
Take the input 2D histogram images and draw one triangle strip that is the curved version of the regu...
vtkSmartPointer< vtkPairwiseExtractHistogram2D > HistogramFilter
static vtkParallelCoordinatesHistogramRepresentation * New()
topologically and geometrically regular array of data
a simple class to control print indentation
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses should override this to connect inputs to the internal pipeline as necessary.
virtual int PlaceHistogramLineQuads(vtkPolyData *polyData)
Take the input 2D histogram images and draw one quad for each bin.
virtual vtkImageData * GetHistogramImage(int idx)
Access the input data object containing the histograms and pull out the image data for the idx'th his...
vtkSmartPointer< vtkPolyData > OutlierData
virtual bool RemoveFromView(vtkView *view)
vtkSmartPointer< vtkComputeHistogram2DOutliers > OutlierFilter
virtual int ComputeDataProperties()
Compute the number of axes and their individual ranges, as well as histograms if requested.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
map scalar values into colors via a lookup table
void SetNumberOfHistogramBins(int, int)
The number of histogram bins on either side of each pair of axes.
dynamic, self-adjusting array of vtkIdType
int ShowOutliers
Whether or not to draw outlier lines.
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkSmartPointer< vtkLookupTable > HistogramLookupTable
a vtkAbstractArray subclass for strings
virtual void ApplyViewTheme(vtkViewTheme *theme)
Apply the theme to this view.
Data representation that takes generic multivariate data and produces a parallel coordinates plot.
virtual ~vtkParallelCoordinatesHistogramRepresentation()
vtkSmartPointer< vtkPolyDataMapper2D > OutlierMapper
virtual vtkTable * GetOutlierData()
get the table containing just the outlier rows from the input table.
virtual int PlaceLines(vtkPolyData *polyData, vtkTable *data, vtkIdTypeArray *idsToPlot)
Correctly forwards the superclass call to draw lines to the internal PlaceHistogramLineQuads call.
virtual int SwapAxisPositions(int position1, int position2)
Calls superclass swap, and assures that only histograms affected by the swap get recomputed.
virtual bool AddToView(vtkView *view)
Add/remove the props and actors to/from a view.
void SetNumberOfHistogramBins(int *)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int PlaceCurves(vtkPolyData *polyData, vtkTable *data, vtkIdTypeArray *idsToPlot)
Correctly forwards the superclass call to draw curves to the internal PlaceHistogramLineCurves call.
int PreferredNumberOfOutliers
How many outlier lines to draw, approximately.