VTK
vtkParallelCoordinatesHistogramRepresentation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkParallelCoordinatesHistogramRepresentation.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2009 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
54 #ifndef vtkParallelCoordinatesHistogramRepresentation_h
55 #define vtkParallelCoordinatesHistogramRepresentation_h
56 
57 #include "vtkViewsInfovisModule.h" // For export macro
59 
64 class vtkLookupTable;
65 
67 {
68 public:
71  void PrintSelf(ostream& os, vtkIndent indent);
72 
74  virtual void ApplyViewTheme(vtkViewTheme* theme);
75 
77 
79  virtual void SetUseHistograms(int);
80  vtkGetMacro(UseHistograms,int);
81  vtkBooleanMacro(UseHistograms,int);
83 
85 
86  virtual void SetShowOutliers(int);
87  vtkGetMacro(ShowOutliers,int);
88  vtkBooleanMacro(ShowOutliers,int);
90 
92 
94  vtkSetVector2Macro(HistogramLookupTableRange,double);
95  vtkGetVector2Macro(HistogramLookupTableRange,double);
97 
98  //BTX
100 
103  vtkGetVector2Macro(NumberOfHistogramBins,int);
104  //ETX
106 
108 
111  vtkGetMacro(PreferredNumberOfOutliers,int);
113 
116  virtual int SwapAxisPositions(int position1, int position2);
117 
120  virtual int SetRangeAtPosition(int position, double range[2]);
121 
122 protected:
125 
126  virtual int RequestData(
130 
131  virtual bool AddToView(vtkView* view);
132 
133  virtual bool RemoveFromView(vtkView* view);
134 
137 
139  double HistogramLookupTableRange[2];
140 
142  int NumberOfHistogramBins[2];
143 
144  //BTX
147  //ETX
148 
151 
154 
155  //BTX
160  //ETX
161 
164  virtual int PlaceLines(vtkPolyData* polyData, vtkTable* data, vtkIdTypeArray* idsToPlot);
165 
168  virtual int PlaceCurves(vtkPolyData* polyData, vtkTable* data, vtkIdTypeArray* idsToPlot);
169 
172  virtual int PlaceSelection(vtkPolyData* polyData, vtkTable* data, vtkSelectionNode* selectionNode);
173 
175  virtual int PlaceHistogramLineQuads(vtkPolyData* polyData);
176 
180  virtual int PlaceHistogramCurveQuads(vtkPolyData* polyData);
181 
183 
185  virtual int ComputeDataProperties();
188 
191  virtual vtkImageData* GetHistogramImage(int idx);
192 
194 
196 private:
198  void operator=(const vtkParallelCoordinatesHistogramRepresentation&); // Not implemented
199 };
201 
202 #endif
vtkgl::data
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: vtkgl.h:11339
vtkParallelCoordinatesRepresentation
Data representation that takes generic multivariate data and produces a parallel coordinates plot.
Definition: vtkParallelCoordinatesRepresentation.h:88
vtkViewsInfovisModule.h
vtkParallelCoordinatesHistogramRepresentation::PlaceSelection
virtual int PlaceSelection(vtkPolyData *polyData, vtkTable *data, vtkSelectionNode *selectionNode)
vtkSetVector2Macro
#define vtkSetVector2Macro(name, type)
Definition: vtkSetGet.h:254
vtkSelectionNode
A node in a selection tree. Used to store selection results.
Definition: vtkSelectionNode.h:69
vtkGetVector2Macro
#define vtkGetVector2Macro(name, type)
Definition: vtkSetGet.h:270
vtkParallelCoordinatesHistogramRepresentation::OutlierActor
vtkSmartPointer< vtkActor2D > OutlierActor
Definition: vtkParallelCoordinatesHistogramRepresentation.h:159
vtkComputeHistogram2DOutliers
compute the outliers in a set of 2D histograms and extract the corresponding row data.
Definition: vtkComputeHistogram2DOutliers.h:62
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:68
VTKVIEWSINFOVIS_EXPORT
#define VTKVIEWSINFOVIS_EXPORT
Definition: vtkViewsInfovisModule.h:15
vtkParallelCoordinatesHistogramRepresentation::UpdatePlotProperties
virtual int UpdatePlotProperties(vtkStringArray *)
vtkPairwiseExtractHistogram2D
compute a 2D histogram between all adjacent columns of an input vtkTable.
Definition: vtkPairwiseExtractHistogram2D.h:57
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkParallelCoordinatesHistogramRepresentation::SetUseHistograms
virtual void SetUseHistograms(int)
vtkSmartPointer< vtkPairwiseExtractHistogram2D >
vtkParallelCoordinatesHistogramRepresentation::UseHistograms
int UseHistograms
Definition: vtkParallelCoordinatesHistogramRepresentation.h:136
vtkParallelCoordinatesHistogramRepresentation::SetRangeAtPosition
virtual int SetRangeAtPosition(int position, double range[2])
vtkgl::range
GLenum GLint * range
Definition: vtkgl.h:14180
vtkParallelCoordinatesRepresentation.h
vtkView
The superclass for all views.
Definition: vtkView.h:63
vtkViewTheme
Sets theme colors for a graphical view.
Definition: vtkViewTheme.h:48
vtkParallelCoordinatesHistogramRepresentation::vtkParallelCoordinatesHistogramRepresentation
vtkParallelCoordinatesHistogramRepresentation()
vtkX3D::position
@ position
Definition: vtkX3D.h:261
vtkParallelCoordinatesHistogramRepresentation::SetShowOutliers
virtual void SetShowOutliers(int)
vtkExtractHistogram2D
compute a 2D histogram between two columns of an input vtkTable.
Definition: vtkExtractHistogram2D.h:58
vtkParallelCoordinatesHistogramRepresentation::SetPreferredNumberOfOutliers
void SetPreferredNumberOfOutliers(int)
vtkParallelCoordinatesHistogramRepresentation::PlaceHistogramCurveQuads
virtual int PlaceHistogramCurveQuads(vtkPolyData *polyData)
vtkParallelCoordinatesHistogramRepresentation::HistogramFilter
vtkSmartPointer< vtkPairwiseExtractHistogram2D > HistogramFilter
Definition: vtkParallelCoordinatesHistogramRepresentation.h:145
vtkParallelCoordinatesHistogramRepresentation::New
static vtkParallelCoordinatesHistogramRepresentation * New()
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkParallelCoordinatesHistogramRepresentation::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkParallelCoordinatesHistogramRepresentation::PlaceHistogramLineQuads
virtual int PlaceHistogramLineQuads(vtkPolyData *polyData)
vtkParallelCoordinatesHistogramRepresentation::GetHistogramImage
virtual vtkImageData * GetHistogramImage(int idx)
vtkParallelCoordinatesHistogramRepresentation::OutlierData
vtkSmartPointer< vtkPolyData > OutlierData
Definition: vtkParallelCoordinatesHistogramRepresentation.h:157
vtkParallelCoordinatesHistogramRepresentation::RemoveFromView
virtual bool RemoveFromView(vtkView *view)
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkParallelCoordinatesHistogramRepresentation::OutlierFilter
vtkSmartPointer< vtkComputeHistogram2DOutliers > OutlierFilter
Definition: vtkParallelCoordinatesHistogramRepresentation.h:156
vtkParallelCoordinatesHistogramRepresentation::ComputeDataProperties
virtual int ComputeDataProperties()
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkLookupTable
map scalar values into colors via a lookup table
Definition: vtkLookupTable.h:74
vtkParallelCoordinatesHistogramRepresentation::SetNumberOfHistogramBins
void SetNumberOfHistogramBins(int, int)
vtkIdTypeArray
dynamic, self-adjusting array of vtkIdType
Definition: vtkIdTypeArray.h:49
vtkParallelCoordinatesHistogramRepresentation::ShowOutliers
int ShowOutliers
Definition: vtkParallelCoordinatesHistogramRepresentation.h:150
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:84
vtkParallelCoordinatesHistogramRepresentation::HistogramLookupTable
vtkSmartPointer< vtkLookupTable > HistogramLookupTable
Definition: vtkParallelCoordinatesHistogramRepresentation.h:146
vtkStringArray
a vtkAbstractArray subclass for strings
Definition: vtkStringArray.h:45
vtkParallelCoordinatesHistogramRepresentation::ApplyViewTheme
virtual void ApplyViewTheme(vtkViewTheme *theme)
vtkParallelCoordinatesHistogramRepresentation
Data representation that takes generic multivariate data and produces a parallel coordinates plot....
Definition: vtkParallelCoordinatesHistogramRepresentation.h:67
vtkParallelCoordinatesHistogramRepresentation::~vtkParallelCoordinatesHistogramRepresentation
virtual ~vtkParallelCoordinatesHistogramRepresentation()
vtkParallelCoordinatesHistogramRepresentation::OutlierMapper
vtkSmartPointer< vtkPolyDataMapper2D > OutlierMapper
Definition: vtkParallelCoordinatesHistogramRepresentation.h:158
vtkParallelCoordinatesHistogramRepresentation::GetOutlierData
virtual vtkTable * GetOutlierData()
vtkParallelCoordinatesHistogramRepresentation::PlaceLines
virtual int PlaceLines(vtkPolyData *polyData, vtkTable *data, vtkIdTypeArray *idsToPlot)
vtkParallelCoordinatesHistogramRepresentation::SwapAxisPositions
virtual int SwapAxisPositions(int position1, int position2)
vtkParallelCoordinatesHistogramRepresentation::AddToView
virtual bool AddToView(vtkView *view)
vtkParallelCoordinatesHistogramRepresentation::SetNumberOfHistogramBins
void SetNumberOfHistogramBins(int *)
vtkParallelCoordinatesHistogramRepresentation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkParallelCoordinatesHistogramRepresentation::PlaceCurves
virtual int PlaceCurves(vtkPolyData *polyData, vtkTable *data, vtkIdTypeArray *idsToPlot)
vtkParallelCoordinatesHistogramRepresentation::PreferredNumberOfOutliers
int PreferredNumberOfOutliers
Definition: vtkParallelCoordinatesHistogramRepresentation.h:153