49 #ifndef __vtkParallelCoordinatesRepresentation_h
50 #define __vtkParallelCoordinatesRepresentation_h
52 #include "vtkViewsInfovisModule.h"
74 class vtkPolyDataMapper2D;
75 class vtkPropCollection;
77 class vtkSelectionNode;
80 class vtkUnsignedIntArray;
89 void PrintSelf(ostream& os, vtkIndent indent);
101 int SetPositionAndSize(
double* position,
double* size);
102 int GetPositionAndSize(
double* position,
double* size);
107 void SetAxisTitles(vtkStringArray*);
108 void SetAxisTitles(vtkAlgorithmOutput*);
112 void SetPlotTitle(
const char*);
116 vtkGetMacro(NumberOfAxes,
int);
121 vtkGetMacro(NumberOfSamples,
int);
126 void SetNumberOfAxisLabels(
int num);
127 vtkGetMacro(NumberOfAxisLabels,
int);
133 virtual int SwapAxisPositions(
int position1,
int position2);
134 int SetXCoordinateOfPosition(
int position,
double xcoord);
135 double GetXCoordinateOfPosition(
int axis);
136 void GetXCoordinatesOfPositions(
double* coords);
137 int GetPositionNearXCoordinate(
double xcoord);
142 vtkSetMacro(UseCurves,
int);
143 vtkGetMacro(UseCurves,
int);
144 vtkBooleanMacro(UseCurves,
int);
149 vtkSetMacro(CurveResolution,
int);
150 vtkGetMacro(CurveResolution,
int);
155 vtkGetMacro(LineOpacity,
double)
156 vtkGetMacro(FontSize,
double);
157 vtkGetVector3Macro(LineColor,
double);
158 vtkGetVector3Macro(AxisColor,
double);
159 vtkGetVector3Macro(AxisLabelColor,
double);
160 vtkSetMacro(LineOpacity,
double);
161 vtkSetMacro(FontSize,
double);
162 vtkSetVector3Macro(LineColor,
double);
163 vtkSetVector3Macro(AxisColor,
double);
164 vtkSetVector3Macro(AxisLabelColor,
double);
170 vtkSetMacro(AngleBrushThreshold,
double);
171 vtkGetMacro(AngleBrushThreshold,
double);
177 vtkSetMacro(FunctionBrushThreshold,
double);
178 vtkGetMacro(FunctionBrushThreshold,
double);
183 int GetRangeAtPosition(
int position,
double range[2]);
184 virtual
int SetRangeAtPosition(
int position,
double range[2]);
193 virtual
void LassoSelect(
int brushClass,
int brushOperator, vtkPoints* brushPoints);
194 virtual
void AngleSelect(
int brushClass,
int brushOperator,
double *p1,
double *p2);
195 virtual
void FunctionSelect(
int brushClass,
int brushOperator,
double *p1,
double *p2,
double *q1,
double *q2);
196 virtual
void RangeSelect(
int brushClass,
int brushOperator,
double *p1,
double *p2);
212 virtual int FillInputPortInformation(
int port, vtkInformation* info);
216 vtkInformationVector**,
217 vtkInformationVector*);
228 void UpdateHoverHighlight(
vtkView* view,
int x,
int y);
232 virtual int AllocatePolyData(vtkPolyData* polyData,
234 int numPointsPerLine,
236 int numPointsPerStrip,
240 int numPointScalars);
250 virtual int PlaceLines(vtkPolyData* polyData, vtkTable* data, vtkIdTypeArray* idsToPlot);
251 virtual int PlaceCurves(vtkPolyData* polyData, vtkTable* data, vtkIdTypeArray* idsToPlot);
257 virtual int PlaceSelection(vtkPolyData* polyData, vtkTable* data, vtkSelectionNode* selectionNode);
260 virtual int ComputeDataProperties();
263 virtual int UpdatePlotProperties(vtkStringArray* inputTitles);
266 virtual int ReallocateInternals();
271 int ComputePointPosition(
double* p);
272 int ComputeLinePosition(
double* p1,
double* p2);
278 virtual void SelectRows(vtkIdType brushClass, vtkIdType brushOperator, vtkIdTypeArray* rowIds);
280 virtual void BuildInverseSelection();
281 virtual vtkPolyDataMapper2D* InitializePlotMapper(vtkPolyData* input, vtkActor2D* actor,
bool forceStandard=
false);
287 void BuildDefaultSCurve(vtkDoubleArray* array,
int numValues);
291 virtual void LassoSelectInternal(vtkPoints* brushPoints, vtkIdTypeArray* outIds);
294 virtual void UpdateSelectionActors();
296 vtkPolyDataMapper2D* GetSelectionMapper(
int idx);
297 int GetNumberOfSelections();
336 vtkSmartPointer<vtkAxisActor2D>*
Axes;
347 double AxisLabelColor[3];
349 vtkGetStringMacro(InternalHoverText);
350 vtkSetStringMacro(InternalHoverText);
vtkSmartPointer< vtkTextMapper > FunctionTextMapper
virtual void ApplyViewTheme(vtkViewTheme *vtkNotUsed(theme))
virtual vtkSelection * ConvertSelection(vtkView *view, vtkSelection *selection)
double AngleBrushThreshold
create wireframe outline corners around bounding box
void PrintSelf(ostream &os, vtkIndent indent)
virtual bool AddToView(vtkView *vtkNotUsed(view))
vtkSmartPointer< vtkTextMapper > PlotTitleMapper
static vtkRenderedRepresentation * New()
Sets theme colors for a graphical view.
The superclass for all views.
vtkSmartPointer< vtkAxisActor2D > * Axes
virtual bool RemoveFromView(vtkView *vtkNotUsed(view))
vtkUnicodeString GetHoverText(vtkView *view, vtkProp *prop, vtkIdType cell)
virtual void PrepareForRendering(vtkRenderView *view)
vtkSmartPointer< vtkSelection > InverseSelection
vtkSmartPointer< vtkActor2D > FunctionTextActor
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkSmartPointer< vtkBivariateLinearTableThreshold > LinearThreshold
double FunctionBrushThreshold
vtkSmartPointer< vtkActor2D > PlotActor
vtkSmartPointer< vtkActor2D > PlotTitleActor
vtkSmartPointer< vtkPolyDataMapper2D > PlotMapper
A view containing a renderer.
vtkSmartPointer< vtkPolyData > PlotData
vtkSmartPointer< vtkTable > InputArrayTable
performs line-based thresholding for vtkTable data.
Data representation that takes generic multivariate data and produces a parallel coordinates plot...
vtkSmartPointer< vtkStringArray > AxisTitles