39#ifndef vtkParallelCoordinatesHistogramRepresentation_h 
   40#define vtkParallelCoordinatesHistogramRepresentation_h 
   43#include "vtkViewsInfovisModule.h"  
   45VTK_ABI_NAMESPACE_BEGIN
 
   87  vtkSetVector2Macro(HistogramLookupTableRange, 
double);
 
   88  vtkGetVector2Macro(HistogramLookupTableRange, 
double);
 
   97  vtkGetVector2Macro(NumberOfHistogramBins, 
int);
 
  105  vtkGetMacro(PreferredNumberOfOutliers, 
int);
 
  138  double HistogramLookupTableRange[2];
 
  143  int NumberOfHistogramBins[2];
 
compute the outliers in a set of 2D histograms and extract the corresponding row data.
 
dynamic, self-adjusting array of vtkIdType
 
topologically and geometrically regular array of data
 
a simple class to control print indentation
 
map scalar values into colors via a lookup table
 
Data representation that takes generic multivariate data and produces a parallel coordinates plot.
 
int PlaceCurves(vtkPolyData *polyData, vtkTable *data, vtkIdTypeArray *idsToPlot) override
Correctly forwards the superclass call to draw curves to the internal PlaceHistogramLineCurves call.
 
vtkTypeBool UseHistograms
Flag deciding if histograms will be drawn.
 
int PreferredNumberOfOutliers
How many outlier lines to draw, approximately.
 
vtkSmartPointer< vtkComputeHistogram2DOutliers > OutlierFilter
 
void SetNumberOfHistogramBins(int *)
The number of histogram bins on either side of each pair of axes.
 
int ComputeDataProperties() override
Compute the number of axes and their individual ranges, as well as histograms if requested.
 
void ApplyViewTheme(vtkViewTheme *theme) override
Apply the theme to this view.
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
int SwapAxisPositions(int position1, int position2) override
Calls superclass swap, and assures that only histograms affected by the swap get recomputed.
 
bool AddToView(vtkView *view) override
 
~vtkParallelCoordinatesHistogramRepresentation() override
 
int SetRangeAtPosition(int position, double range[2]) override
Calls the superclass method, and assures that only the two histograms affect by this call get recompu...
 
void SetPreferredNumberOfOutliers(int)
Target maximum number of outliers to be drawn, although not guaranteed.
 
int PlaceLines(vtkPolyData *polyData, vtkTable *data, vtkIdTypeArray *idsToPlot) override
Correctly forwards the superclass call to draw lines to the internal PlaceHistogramLineQuads call.
 
bool RemoveFromView(vtkView *view) override
 
int PlaceSelection(vtkPolyData *polyData, vtkTable *data, vtkSelectionNode *selectionNode) override
Draw a selection node referencing the row ids of a table into a poly data object.
 
static vtkParallelCoordinatesHistogramRepresentation * New()
 
int UpdatePlotProperties(vtkStringArray *) override
Compute the number of axes and their individual ranges, as well as histograms if requested.
 
virtual vtkTable * GetOutlierData()
get the table containing just the outlier rows from the input table.
 
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses should override this to connect inputs to the internal pipeline as necessary.
 
vtkSmartPointer< vtkPolyData > OutlierData
 
vtkSmartPointer< vtkLookupTable > HistogramLookupTable
 
void SetNumberOfHistogramBins(int, int)
The number of histogram bins on either side of each pair of axes.
 
vtkSmartPointer< vtkPairwiseExtractHistogram2D > HistogramFilter
 
vtkSmartPointer< vtkPolyDataMapper2D > OutlierMapper
 
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...
 
virtual void SetUseHistograms(vtkTypeBool)
Whether to use the histogram rendering mode or the superclass's line rendering mode.
 
vtkTypeBool ShowOutliers
Whether or not to draw outlier lines.
 
vtkSmartPointer< vtkActor2D > OutlierActor
 
vtkParallelCoordinatesHistogramRepresentation()
 
virtual void SetShowOutliers(vtkTypeBool)
Whether to compute and show outlier lines.
 
virtual int PlaceHistogramCurveQuads(vtkPolyData *polyData)
Take the input 2D histogram images and draw one triangle strip that is the curved version of the regu...
 
Data representation that takes generic multivariate data and produces a parallel coordinates plot.
 
concrete dataset represents vertices, lines, polygons, and triangle strips
 
a node in a vtkSelection the defines the selection criteria.
 
Hold a reference to a vtkObjectBase instance.
 
a vtkAbstractArray subclass for strings
 
A table, which contains similar-typed columns of data.
 
Sets theme colors for a graphical view.
 
The superclass for all views.