Go to the documentation of this file.
53 #ifndef vtkParallelCoordinatesRepresentation_h
54 #define vtkParallelCoordinatesRepresentation_h
56 #include "vtkViewsInfovisModule.h"
132 vtkGetMacro(NumberOfAxes,
int);
139 vtkGetMacro(NumberOfSamples,
int);
147 vtkGetMacro(NumberOfAxisLabels,
int);
167 vtkGetMacro(UseCurves,
int);
176 vtkGetMacro(CurveResolution,
int);
183 vtkGetMacro(LineOpacity,
double)
184 vtkGetMacro(FontSize,
double);
185 vtkGetVector3Macro(LineColor,
double);
186 vtkGetVector3Macro(AxisColor,
double);
187 vtkGetVector3Macro(AxisLabelColor,
double);
190 vtkSetVector3Macro(LineColor,
double);
191 vtkSetVector3Macro(AxisColor,
double);
192 vtkSetVector3Macro(AxisLabelColor,
double);
200 vtkGetMacro(AngleBrushThreshold,
double);
208 vtkGetMacro(FunctionBrushThreshold,
double);
229 virtual
void LassoSelect(
int brushClass,
int brushOperator,
vtkPoints* brushPoints);
230 virtual
void AngleSelect(
int brushClass,
int brushOperator,
double *p1,
double *p2);
231 virtual
void FunctionSelect(
int brushClass,
int brushOperator,
double *p1,
double *p2,
double *q1,
double *q2);
232 virtual
void RangeSelect(
int brushClass,
int brushOperator,
double *p1,
double *p2);
273 int numPointsPerLine,
275 int numPointsPerStrip,
279 int numPointScalars);
398 double AxisLabelColor[3];
401 vtkSetStringMacro(InternalHoverText);
represent and manipulate 3D points
virtual vtkPolyDataMapper2D * InitializePlotMapper(vtkPolyData *input, vtkActor2D *actor, bool forceStandard=false)
double GetXCoordinateOfPosition(int axis)
void BuildDefaultSCurve(vtkDoubleArray *array, int numValues)
Build an s-curve passing through (0,0) and (1,1) with a specified number of values.
Data representation that takes generic multivariate data and produces a parallel coordinates plot.
draw vtkPolyData onto the image plane
int GetPositionNearXCoordinate(double xcoord)
A view containing a renderer.
void SetAxisTitles(vtkAlgorithmOutput *)
A node in a selection tree.
vtkSmartPointer< vtkTable > InputArrayTable
void SetAxisTitles(vtkStringArray *)
Set/Get the axis titles.
virtual void UpdateSelectionActors()
todo
dynamic, self-adjusting array of unsigned int
A table, which contains similar-typed columns of data.
int ComputePointPosition(double *p)
Compute which screen position a point belongs to (returns the left position)
record modification and/or execution time
vtkSmartPointer< vtkStringArray > AxisTitles
virtual int SwapAxisPositions(int position1, int position2)
Move an axis to a particular screen position.
virtual int AllocatePolyData(vtkPolyData *polyData, int numLines, int numPointsPerLine, int numStrips, int numPointsPerStrip, int numQuads, int numPoints, int numCellScalars, int numPointScalars)
Allocate the cells/points/scalars for a vtkPolyData.
int GetNumberOfSelections()
abstract superclass for arrays of numeric data
A node in a selection tree.
vtkSmartPointer< vtkActor2D > FunctionTextActor
vtkSmartPointer< vtkTextMapper > FunctionTextMapper
Pipeline data object that contains multiple vtkArray objects.
void GetXCoordinatesOfPositions(double *coords)
void SetPlotTitle(const char *)
Set the title for the entire plot.
int SetXCoordinateOfPosition(int position, double xcoord)
virtual void LassoSelectInternal(vtkPoints *brushPoints, vtkIdTypeArray *outIds)
same as public version, but assumes that the brushpoints coming in are all within two neighboring axe...
window superclass for vtkRenderWindow
represent and manipulate fields of data
The superclass for all views.
vtkSmartPointer< vtkTextMapper > PlotTitleMapper
virtual int PlaceCurves(vtkPolyData *polyData, vtkTable *data, vtkIdTypeArray *idsToPlot)
virtual void SelectRows(vtkIdType brushClass, vtkIdType brushOperator, vtkIdTypeArray *rowIds)
Select a set of points using the prescribed operator (add, subtract, etc.) and class.
Sets theme colors for a graphical view.
vtkSmartPointer< vtkBivariateLinearTableThreshold > LinearThreshold
virtual void ApplyViewTheme(vtkViewTheme *theme)
Apply the theme to this view.
vtkSmartPointer< vtkPolyDataMapper2D > PlotMapper
create and manipulate unsorted lists of objects
virtual int ReallocateInternals()
Delete and reallocate the internals, resetting to default values.
virtual ~vtkParallelCoordinatesRepresentation()
static vtkParallelCoordinatesRepresentation * New()
represents an object (geometry & properties) in a rendered scene
virtual bool AddToView(vtkView *view)
Add/remove the props and actors to/from a view.
a simple class to control print indentation
vtkPolyDataMapper2D * GetSelectionMapper(int idx)
virtual const char * GetHoverText(vtkView *view, int x, int y)
Returns the hover text at an x,y location.
dynamic, self-adjusting array of int
performs line-based thresholding for vtkTable data.
virtual int ComputeDataProperties()
Compute the number of axes and their individual ranges.
virtual int UpdatePlotProperties(vtkStringArray *inputTitles)
Set plot actor properties (line thickness, opacity, etc)
list of point or cell ids
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems
vtkSmartPointer< vtkPolyData > PlotData
create wireframe outline corners around bounding box
virtual void PrepareForRendering(vtkRenderView *view)
The view will call this method before every render.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkSmartPointer< vtkActor2D > PlotActor
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
virtual bool RemoveFromView(vtkView *view)
int SetPositionAndSize(double *position, double *size)
Change the position of the plot.
abstract specification for Viewports
vtkSmartPointer< vtkActor2D > PlotTitleActor
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses should override this to connect inputs to the internal pipeline as necessary.
map scalar values into colors via a lookup table
int GetPositionAndSize(double *position, double *size)
a actor that draws 2D data
void SetNumberOfAxisLabels(int num)
Set/Get the number of labels to display on each axis.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
dynamic, self-adjusting array of vtkIdType
vtkSmartPointer< vtkAxisActor2D > * Axes
Proxy object to connect input/output ports.
concrete dataset represents vertices, lines, polygons, and triangle strips
Create an axis with tick marks and labels.
double FunctionBrushThreshold
a vtkAbstractArray subclass for strings
virtual void BuildInverseSelection()
virtual int PlaceSelection(vtkPolyData *polyData, vtkTable *data, vtkSelectionNode *selectionNode)
Takes the selection list (assumed to be a vtkIdTypeArray) from a vtkSelectionNode and plots lines/cur...
dynamic, self-adjusting array of double
virtual int PlaceLines(vtkPolyData *polyData, vtkTable *data, vtkIdTypeArray *idsToPlot)
Place line primitives into a vtkPolyData from the input data.
vtkSmartPointer< vtkSelection > InverseSelection
int PlaceAxes()
Put the axis actors in their correct positions.
general representation of visualization data
vtkParallelCoordinatesRepresentation()
double AngleBrushThreshold
virtual vtkSelection * ConvertSelection(vtkView *view, vtkSelection *selection)
Convert the selection to a type appropriate for sharing with other representations through vtkAnnotat...
int ComputeLinePosition(double *p1, double *p2)
void UpdateHoverHighlight(vtkView *view, int x, int y)
This function is not actually used, but as left as a stub in case it becomes useful at some point.