Data representation that takes generic multivariate data and produces a parallel coordinates plot. This plot optionally can draw a histogram-based plot summary. More...
#include <vtkParallelCoordinatesHistogramRepresentation.h>
Public Types | |
| typedef vtkParallelCoordinatesRepresentation | Superclass |
Public Types inherited from vtkParallelCoordinatesRepresentation | |
| enum | InputPorts { INPUT_DATA =0, INPUT_TITLES, NUM_INPUT_PORTS } |
| typedef vtkRenderedRepresentation | Superclass |
Public Types inherited from vtkRenderedRepresentation | |
| typedef vtkDataRepresentation | Superclass |
Public Types inherited from vtkDataRepresentation | |
| typedef vtkPassInputTypeAlgorithm | Superclass |
Public Member Functions | |
| virtual int | IsA (const char *type) |
| vtkParallelCoordinatesHistogramRepresentation * | NewInstance () const |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual void | ApplyViewTheme (vtkViewTheme *theme) |
| virtual int | SwapAxisPositions (int position1, int position2) |
| virtual int | SetRangeAtPosition (int position, double range[2]) |
| virtual void | SetUseHistograms (int) |
| virtual int | GetUseHistograms () |
| virtual void | UseHistogramsOn () |
| virtual void | UseHistogramsOff () |
| virtual void | SetShowOutliers (int) |
| virtual int | GetShowOutliers () |
| virtual void | ShowOutliersOn () |
| virtual void | ShowOutliersOff () |
| virtual void | SetHistogramLookupTableRange (double, double) |
| void | SetHistogramLookupTableRange (double[2]) |
| virtual double * | GetHistogramLookupTableRange () |
| virtual void | GetHistogramLookupTableRange (double &, double &) |
| virtual void | GetHistogramLookupTableRange (double[2]) |
| void | SetNumberOfHistogramBins (int, int) |
| void | SetNumberOfHistogramBins (int *) |
| virtual int * | GetNumberOfHistogramBins () |
| virtual void | GetNumberOfHistogramBins (int &, int &) |
| virtual void | GetNumberOfHistogramBins (int[2]) |
| void | SetPreferredNumberOfOutliers (int) |
| virtual int | GetPreferredNumberOfOutliers () |
Public Member Functions inherited from vtkParallelCoordinatesRepresentation | |
| vtkParallelCoordinatesRepresentation * | NewInstance () const |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual const char * | GetHoverText (vtkView *view, int x, int y) |
| void | SetPlotTitle (const char *) |
| void | ResetAxes () |
| int | SetPositionAndSize (double *position, double *size) |
| int | GetPositionAndSize (double *position, double *size) |
| void | SetAxisTitles (vtkStringArray *) |
| void | SetAxisTitles (vtkAlgorithmOutput *) |
| virtual int | GetNumberOfAxes () |
| virtual int | GetNumberOfSamples () |
| void | SetNumberOfAxisLabels (int num) |
| virtual int | GetNumberOfAxisLabels () |
| int | SetXCoordinateOfPosition (int position, double xcoord) |
| double | GetXCoordinateOfPosition (int axis) |
| void | GetXCoordinatesOfPositions (double *coords) |
| int | GetPositionNearXCoordinate (double xcoord) |
| virtual void | SetUseCurves (int) |
| virtual int | GetUseCurves () |
| virtual void | UseCurvesOn () |
| virtual void | UseCurvesOff () |
| virtual void | SetCurveResolution (int) |
| virtual int | GetCurveResolution () |
| virtual double | GetLineOpacity () |
| virtual double | GetFontSize () |
| virtual double * | GetLineColor () |
| virtual void | GetLineColor (double &, double &, double &) |
| virtual void | GetLineColor (double[3]) |
| virtual double * | GetAxisColor () |
| virtual void | GetAxisColor (double &, double &, double &) |
| virtual void | GetAxisColor (double[3]) |
| virtual double * | GetAxisLabelColor () |
| virtual void | GetAxisLabelColor (double &, double &, double &) |
| virtual void | GetAxisLabelColor (double[3]) |
| virtual void | SetLineOpacity (double) |
| virtual void | SetFontSize (double) |
| virtual void | SetLineColor (double, double, double) |
| virtual void | SetLineColor (double[3]) |
| virtual void | SetAxisColor (double, double, double) |
| virtual void | SetAxisColor (double[3]) |
| virtual void | SetAxisLabelColor (double, double, double) |
| virtual void | SetAxisLabelColor (double[3]) |
| virtual void | SetAngleBrushThreshold (double) |
| virtual double | GetAngleBrushThreshold () |
| virtual void | SetFunctionBrushThreshold (double) |
| virtual double | GetFunctionBrushThreshold () |
| int | GetRangeAtPosition (int position, double range[2]) |
| virtual void | LassoSelect (int brushClass, int brushOperator, vtkPoints *brushPoints) |
| virtual void | AngleSelect (int brushClass, int brushOperator, double *p1, double *p2) |
| virtual void | FunctionSelect (int brushClass, int brushOperator, double *p1, double *p2, double *q1, double *q2) |
| virtual void | RangeSelect (int brushClass, int brushOperator, double *p1, double *p2) |
Public Member Functions inherited from vtkRenderedRepresentation | |
| vtkRenderedRepresentation * | NewInstance () const |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual void | SetLabelRenderMode (int) |
| virtual int | GetLabelRenderMode () |
Public Member Functions inherited from vtkDataRepresentation | |
| vtkDataRepresentation * | NewInstance () const |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual void | ApplyViewTheme (vtkViewTheme *vtkNotUsed(theme)) |
| vtkAlgorithmOutput * | GetInputConnection (int port=0, int index=0) |
| vtkAnnotationLink * | GetAnnotationLink () |
| void | SetAnnotationLink (vtkAnnotationLink *link) |
| void | Select (vtkView *view, vtkSelection *selection) |
| void | Select (vtkView *view, vtkSelection *selection, bool extend) |
| void | Annotate (vtkView *view, vtkAnnotationLayers *annotations) |
| void | Annotate (vtkView *view, vtkAnnotationLayers *annotations, bool extend) |
| virtual void | SetSelectable (bool) |
| virtual bool | GetSelectable () |
| virtual void | SelectableOn () |
| virtual void | SelectableOff () |
| void | UpdateSelection (vtkSelection *selection) |
| void | UpdateSelection (vtkSelection *selection, bool extend) |
| void | UpdateAnnotations (vtkAnnotationLayers *annotations) |
| void | UpdateAnnotations (vtkAnnotationLayers *annotations, bool extend) |
| virtual vtkAlgorithmOutput * | GetInternalAnnotationOutputPort () |
| virtual vtkAlgorithmOutput * | GetInternalAnnotationOutputPort (int port) |
| virtual vtkAlgorithmOutput * | GetInternalAnnotationOutputPort (int port, int conn) |
| virtual vtkAlgorithmOutput * | GetInternalSelectionOutputPort () |
| virtual vtkAlgorithmOutput * | GetInternalSelectionOutputPort (int port) |
| virtual vtkAlgorithmOutput * | GetInternalSelectionOutputPort (int port, int conn) |
| virtual vtkAlgorithmOutput * | GetInternalOutputPort () |
| virtual vtkAlgorithmOutput * | GetInternalOutputPort (int port) |
| virtual vtkAlgorithmOutput * | GetInternalOutputPort (int port, int conn) |
| virtual void | SetSelectionType (int) |
| virtual int | GetSelectionType () |
| virtual void | SetSelectionArrayNames (vtkStringArray *names) |
| virtual vtkStringArray * | GetSelectionArrayNames () |
| virtual void | SetSelectionArrayName (const char *name) |
| virtual const char * | GetSelectionArrayName () |
Static Public Member Functions | |
| static vtkParallelCoordinatesHistogramRepresentation * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkParallelCoordinatesHistogramRepresentation * | SafeDownCast (vtkObjectBase *o) |
Static Public Member Functions inherited from vtkParallelCoordinatesRepresentation | |
| static vtkParallelCoordinatesRepresentation * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkParallelCoordinatesRepresentation * | SafeDownCast (vtkObjectBase *o) |
Static Public Member Functions inherited from vtkRenderedRepresentation | |
| static vtkRenderedRepresentation * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkRenderedRepresentation * | SafeDownCast (vtkObjectBase *o) |
Static Public Member Functions inherited from vtkDataRepresentation | |
| static vtkDataRepresentation * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkDataRepresentation * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkParallelCoordinatesHistogramRepresentation () | |
| virtual | ~vtkParallelCoordinatesHistogramRepresentation () |
| virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
| virtual bool | AddToView (vtkView *view) |
| virtual bool | RemoveFromView (vtkView *view) |
| virtual int | PlaceLines (vtkPolyData *polyData, vtkTable *data, vtkIdTypeArray *idsToPlot) |
| virtual int | PlaceCurves (vtkPolyData *polyData, vtkTable *data, vtkIdTypeArray *idsToPlot) |
| virtual int | PlaceSelection (vtkPolyData *polyData, vtkTable *data, vtkSelectionNode *selectionNode) |
| virtual int | PlaceHistogramLineQuads (vtkPolyData *polyData) |
| virtual int | PlaceHistogramCurveQuads (vtkPolyData *polyData) |
| virtual vtkImageData * | GetHistogramImage (int idx) |
| virtual int | ComputeDataProperties () |
| virtual int | UpdatePlotProperties (vtkStringArray *) |
Protected Member Functions inherited from vtkParallelCoordinatesRepresentation | |
| vtkParallelCoordinatesRepresentation () | |
| virtual | ~vtkParallelCoordinatesRepresentation () |
| virtual int | FillInputPortInformation (int port, vtkInformation *info) |
| void | UpdateHoverHighlight (vtkView *view, int x, int y) |
| int | PlaceAxes () |
| virtual int | ReallocateInternals () |
| void | BuildDefaultSCurve (vtkDoubleArray *array, int numValues) |
| virtual void | LassoSelectInternal (vtkPoints *brushPoints, vtkIdTypeArray *outIds) |
| virtual void | UpdateSelectionActors () |
| vtkPolyDataMapper2D * | GetSelectionMapper (int idx) |
| int | GetNumberOfSelections () |
| virtual char * | GetInternalHoverText () |
| virtual void | SetInternalHoverText (const char *) |
| virtual void | PrepareForRendering (vtkRenderView *view) |
| virtual int | AllocatePolyData (vtkPolyData *polyData, int numLines, int numPointsPerLine, int numStrips, int numPointsPerStrip, int numQuads, int numPoints, int numCellScalars, int numPointScalars) |
| int | ComputePointPosition (double *p) |
| int | ComputeLinePosition (double *p1, double *p2) |
| virtual void | SelectRows (vtkIdType brushClass, vtkIdType brushOperator, vtkIdTypeArray *rowIds) |
| virtual vtkSelection * | ConvertSelection (vtkView *view, vtkSelection *selection) |
| virtual void | BuildInverseSelection () |
| virtual vtkPolyDataMapper2D * | InitializePlotMapper (vtkPolyData *input, vtkActor2D *actor, bool forceStandard=false) |
Protected Member Functions inherited from vtkRenderedRepresentation | |
| vtkRenderedRepresentation () | |
| ~vtkRenderedRepresentation () | |
| vtkUnicodeString | GetHoverText (vtkView *view, vtkProp *prop, vtkIdType cell) |
| void | AddPropOnNextRender (vtkProp *p) |
| void | RemovePropOnNextRender (vtkProp *p) |
| virtual vtkUnicodeString | GetHoverTextInternal (vtkSelection *) |
Protected Member Functions inherited from vtkDataRepresentation | |
| vtkDataRepresentation () | |
| ~vtkDataRepresentation () | |
| virtual void | ProcessEvents (vtkObject *caller, unsigned long eventId, void *callData) |
| virtual bool | AddToView (vtkView *vtkNotUsed(view)) |
| virtual bool | RemoveFromView (vtkView *vtkNotUsed(view)) |
| virtual vtkAnnotationLayers * | ConvertAnnotations (vtkView *view, vtkAnnotationLayers *annotations) |
| vtkTrivialProducer * | GetInternalInput (int port, int conn) |
| void | SetInternalInput (int port, int conn, vtkTrivialProducer *producer) |
| virtual void | SetAnnotationLinkInternal (vtkAnnotationLink *link) |
Protected Attributes | |
| int | UseHistograms |
| double | HistogramLookupTableRange [2] |
| int | NumberOfHistogramBins [2] |
| vtkSmartPointer < vtkPairwiseExtractHistogram2D > | HistogramFilter |
| vtkSmartPointer< vtkLookupTable > | HistogramLookupTable |
| int | ShowOutliers |
| int | PreferredNumberOfOutliers |
| vtkSmartPointer < vtkComputeHistogram2DOutliers > | OutlierFilter |
| vtkSmartPointer< vtkPolyData > | OutlierData |
| vtkSmartPointer < vtkPolyDataMapper2D > | OutlierMapper |
| vtkSmartPointer< vtkActor2D > | OutlierActor |
Protected Attributes inherited from vtkParallelCoordinatesRepresentation | |
| vtkSmartPointer< vtkPolyData > | PlotData |
| vtkSmartPointer < vtkPolyDataMapper2D > | PlotMapper |
| vtkSmartPointer< vtkActor2D > | PlotActor |
| vtkSmartPointer< vtkTextMapper > | PlotTitleMapper |
| vtkSmartPointer< vtkActor2D > | PlotTitleActor |
| vtkSmartPointer< vtkTextMapper > | FunctionTextMapper |
| vtkSmartPointer< vtkActor2D > | FunctionTextActor |
| vtkSmartPointer< vtkSelection > | InverseSelection |
| vtkSmartPointer < vtkBivariateLinearTableThreshold > | LinearThreshold |
| Internals * | I |
| int | NumberOfAxes |
| int | NumberOfAxisLabels |
| int | NumberOfSamples |
| double | YMin |
| double | YMax |
| int | CurveResolution |
| int | UseCurves |
| double | AngleBrushThreshold |
| double | FunctionBrushThreshold |
| double | SwapThreshold |
| double * | Xs |
| double * | Mins |
| double * | Maxs |
| double * | MinOffsets |
| double * | MaxOffsets |
| vtkSmartPointer< vtkAxisActor2D > * | Axes |
| vtkSmartPointer< vtkTable > | InputArrayTable |
| vtkSmartPointer< vtkStringArray > | AxisTitles |
| vtkTimeStamp | BuildTime |
| double | LineOpacity |
| double | FontSize |
| double | LineColor [3] |
| double | AxisColor [3] |
| double | AxisLabelColor [3] |
| char * | InternalHoverText |
Protected Attributes inherited from vtkRenderedRepresentation | |
| Internals * | Implementation |
| int | LabelRenderMode |
Protected Attributes inherited from vtkDataRepresentation | |
| bool | Selectable |
| int | SelectionType |
| vtkStringArray * | SelectionArrayNames |
| Command * | Observer |
| vtkAnnotationLink * | AnnotationLinkInternal |
| virtual vtkTable * | GetOutlierData () |
Data representation that takes generic multivariate data and produces a parallel coordinates plot. This plot optionally can draw a histogram-based plot summary.
A parallel coordinates plot represents each variable in a multivariate data set as a separate axis. Individual samples of that data set are represented as a polyline that pass through each variable axis at positions that correspond to data values. This class can generate parallel coordinates plots identical to its superclass (vtkParallelCoordinatesRepresentation) and has the same interaction styles.
In addition to the standard parallel coordinates plot, this class also can draw a histogram summary of the parallel coordinates plot. Rather than draw every row in an input data set, first it computes a 2D histogram for all neighboring variable axes, then it draws bar (thickness corresponds to bin size) for each bin the histogram with opacity weighted by the number of rows contained in the bin. The result is essentially a density map.
Because this emphasizes dense regions over sparse outliers, this class also uses a vtkComputeHistogram2DOutliers instance to identify outlier table rows and draws those as standard parallel coordinates lines.
Definition at line 66 of file vtkParallelCoordinatesHistogramRepresentation.h.
| typedef vtkParallelCoordinatesRepresentation vtkParallelCoordinatesHistogramRepresentation::Superclass |
Definition at line 70 of file vtkParallelCoordinatesHistogramRepresentation.h.
|
protected |
|
protectedvirtual |
|
static |
|
static |
|
virtual |
Reimplemented from vtkParallelCoordinatesRepresentation.
|
static |
|
protectedvirtual |
Reimplemented from vtkParallelCoordinatesRepresentation.
| vtkParallelCoordinatesHistogramRepresentation* vtkParallelCoordinatesHistogramRepresentation::NewInstance | ( | ) | const |
| void vtkParallelCoordinatesHistogramRepresentation::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) |
|
virtual |
Apply the theme to this view.
Reimplemented from vtkParallelCoordinatesRepresentation.
|
virtual |
Whether to use the histogram rendering mode or the superclass's line rendering mode
|
virtual |
Whether to use the histogram rendering mode or the superclass's line rendering mode
|
virtual |
Whether to use the histogram rendering mode or the superclass's line rendering mode
|
virtual |
Whether to use the histogram rendering mode or the superclass's line rendering mode
|
virtual |
Whether to compute and show outlier lines
|
virtual |
Whether to compute and show outlier lines
|
virtual |
Whether to compute and show outlier lines
|
virtual |
Whether to compute and show outlier lines
|
virtual |
Control over the range of the lookup table used to draw the histogram quads.
| void vtkParallelCoordinatesHistogramRepresentation::SetHistogramLookupTableRange | ( | double | [2] | ) |
Control over the range of the lookup table used to draw the histogram quads.
|
virtual |
Control over the range of the lookup table used to draw the histogram quads.
|
virtual |
Control over the range of the lookup table used to draw the histogram quads.
|
virtual |
Control over the range of the lookup table used to draw the histogram quads.
| void vtkParallelCoordinatesHistogramRepresentation::SetNumberOfHistogramBins | ( | int | , |
| int | |||
| ) |
The number of histogram bins on either side of each pair of axes.
| void vtkParallelCoordinatesHistogramRepresentation::SetNumberOfHistogramBins | ( | int * | ) |
The number of histogram bins on either side of each pair of axes.
|
virtual |
The number of histogram bins on either side of each pair of axes.
|
virtual |
The number of histogram bins on either side of each pair of axes.
|
virtual |
The number of histogram bins on either side of each pair of axes.
| void vtkParallelCoordinatesHistogramRepresentation::SetPreferredNumberOfOutliers | ( | int | ) |
Target maximum number of outliers to be drawn, although not guaranteed.
|
virtual |
Target maximum number of outliers to be drawn, although not guaranteed.
|
virtual |
Calls superclass swap, and assures that only histograms affected by the swap get recomputed.
Reimplemented from vtkParallelCoordinatesRepresentation.
|
virtual |
Calls the superclass method, and assures that only the two histograms affect by this call get recomputed.
Reimplemented from vtkParallelCoordinatesRepresentation.
|
protectedvirtual |
Subclasses should override this to connect inputs to the internal pipeline as necessary. Since most representations are "meta-filters" (i.e. filters containing other filters), you should create shallow copies of your input before connecting to the internal pipeline. The convenience method GetInternalOutputPort will create a cached shallow copy of a specified input for you. The related helper functions GetInternalAnnotationOutputPort, GetInternalSelectionOutputPort should be used to obtain a selection or annotation port whose selections are localized for a particular input data object.
Reimplemented from vtkParallelCoordinatesRepresentation.
|
protectedvirtual |
Add/remove the props and actors to/from a view
Reimplemented from vtkParallelCoordinatesRepresentation.
|
protectedvirtual |
Add/remove the props and actors to/from a view
Reimplemented from vtkParallelCoordinatesRepresentation.
|
protectedvirtual |
Correctly forwards the superclass call to draw lines to the internal PlaceHistogramLineQuads call.
Reimplemented from vtkParallelCoordinatesRepresentation.
|
protectedvirtual |
Correctly forwards the superclass call to draw curves to the internal PlaceHistogramLineCurves call.
Reimplemented from vtkParallelCoordinatesRepresentation.
|
protectedvirtual |
Draw a selection node referencing the row ids of a table into a poly data object.
Reimplemented from vtkParallelCoordinatesRepresentation.
|
protectedvirtual |
Take the input 2D histogram images and draw one quad for each bin
|
protectedvirtual |
Take the input 2D histogram images and draw one triangle strip that is the curved version of the regular quad drawn via PlaceHistogramLineQuads
|
protectedvirtual |
Compute the number of axes and their individual ranges, as well as histograms if requested.
Reimplemented from vtkParallelCoordinatesRepresentation.
|
protectedvirtual |
Compute the number of axes and their individual ranges, as well as histograms if requested.
Reimplemented from vtkParallelCoordinatesRepresentation.
|
protectedvirtual |
Access the input data object containing the histograms and pull out the image data for the idx'th histogram.
|
protectedvirtual |
get the table containing just the outlier rows from the input table.
|
protected |
Flag deciding if histograms will be drawn.
Definition at line 136 of file vtkParallelCoordinatesHistogramRepresentation.h.
|
protected |
The range applied to the lookup table used to draw histogram quads
Definition at line 139 of file vtkParallelCoordinatesHistogramRepresentation.h.
|
protected |
How many bins are used during the 2D histogram computation
Definition at line 142 of file vtkParallelCoordinatesHistogramRepresentation.h.
|
protected |
Definition at line 145 of file vtkParallelCoordinatesHistogramRepresentation.h.
|
protected |
Definition at line 146 of file vtkParallelCoordinatesHistogramRepresentation.h.
|
protected |
Whether or not to draw outlier lines
Definition at line 150 of file vtkParallelCoordinatesHistogramRepresentation.h.
|
protected |
How many outlier lines to draw, approximately.
Definition at line 153 of file vtkParallelCoordinatesHistogramRepresentation.h.
|
protected |
Definition at line 156 of file vtkParallelCoordinatesHistogramRepresentation.h.
|
protected |
Definition at line 157 of file vtkParallelCoordinatesHistogramRepresentation.h.
|
protected |
Definition at line 158 of file vtkParallelCoordinatesHistogramRepresentation.h.
|
protected |
Definition at line 159 of file vtkParallelCoordinatesHistogramRepresentation.h.
1.8.6