 |
VTK
9.1.0
|
Go to the documentation of this file.
69 #ifndef vtkParallelCoordinatesRepresentation_h
70 #define vtkParallelCoordinatesRepresentation_h
73 #include "vtkViewsInfovisModule.h"
123 virtual const
char* GetHoverText(
vtkView* view,
int x,
int y);
144 void SetPlotTitle(const
char*);
150 vtkGetMacro(NumberOfAxes,
int);
157 vtkGetMacro(NumberOfSamples,
int);
164 void SetNumberOfAxisLabels(
int num);
165 vtkGetMacro(NumberOfAxisLabels,
int);
173 virtual
int SwapAxisPositions(
int position1,
int position2);
174 int SetXCoordinateOfPosition(
int position,
double xcoord);
175 double GetXCoordinateOfPosition(
int axis);
176 void GetXCoordinatesOfPositions(
double* coords);
177 int GetPositionNearXCoordinate(
double xcoord);
193 vtkSetMacro(CurveResolution,
int);
194 vtkGetMacro(CurveResolution,
int);
201 vtkGetMacro(LineOpacity,
double);
202 vtkGetMacro(FontSize,
double);
203 vtkGetVector3Macro(LineColor,
double);
204 vtkGetVector3Macro(AxisColor,
double);
205 vtkGetVector3Macro(AxisLabelColor,
double);
206 vtkSetMacro(LineOpacity,
double);
207 vtkSetMacro(FontSize,
double);
208 vtkSetVector3Macro(LineColor,
double);
209 vtkSetVector3Macro(AxisColor,
double);
210 vtkSetVector3Macro(AxisLabelColor,
double);
217 vtkSetMacro(AngleBrushThreshold,
double);
218 vtkGetMacro(AngleBrushThreshold,
double);
225 vtkSetMacro(FunctionBrushThreshold,
double);
226 vtkGetMacro(FunctionBrushThreshold,
double);
247 virtual
void LassoSelect(
int brushClass,
int brushOperator,
vtkPoints* brushPoints);
248 virtual
void AngleSelect(
int brushClass,
int brushOperator,
double* p1,
double* p2);
249 virtual
void FunctionSelect(
250 int brushClass,
int brushOperator,
double* p1,
double* p2,
double* q1,
double* q2);
251 virtual
void RangeSelect(
int brushClass,
int brushOperator,
double* p1,
double* p2);
288 int numStrips,
int numPointsPerStrip,
int numQuads,
int numPoints,
int numCellScalars,
289 int numPointScalars);
410 double AxisLabelColor[3];
412 vtkGetStringMacro(InternalHoverText);
413 vtkSetStringMacro(InternalHoverText);
represent and manipulate 3D points
virtual vtkPolyDataMapper2D * InitializePlotMapper(vtkPolyData *input, vtkActor2D *actor, bool forceStandard=false)
Select a set of points using the prescribed operator (add, subtract, etc.) and class.
bool AddToView(vtkView *view) override
Add/remove the props and actors to/from a view.
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
A view containing a renderer.
a node in a vtkSelection the defines the selection criteria.
vtkSelection * ConvertSelection(vtkView *view, vtkSelection *selection) override
Select a set of points using the prescribed operator (add, subtract, etc.) and class.
vtkSmartPointer< vtkTable > InputArrayTable
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
void PrepareForRendering(vtkRenderView *view) override
Add/remove the props and actors to/from a view.
vtkSmartPointer< vtkStringArray > AxisTitles
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
#define VTK_DEPRECATED_IN_9_1_0(reason)
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()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses should override this to connect inputs to the internal pipeline as necessary.
abstract superclass for arrays of numeric data
data object that represents a "selection" in VTK.
vtkSmartPointer< vtkActor2D > FunctionTextActor
vtkSmartPointer< vtkTextMapper > FunctionTextMapper
Pipeline data object that contains multiple vtkArray objects.
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)
Place line primitives into a vtkPolyData from the input data.
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
vtkSmartPointer< vtkPolyDataMapper2D > PlotMapper
create and manipulate ordered lists of objects
virtual int ReallocateInternals()
Delete and reallocate the internals, resetting to default values.
static vtkParallelCoordinatesRepresentation * New()
virtual std::string GetHoverString(vtkView *view, int x, int y)
Returns the hover text at an x,y location.
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
vtkPolyDataMapper2D * GetSelectionMapper(int idx)
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
vtkSmartPointer< vtkActor2D > PlotActor
~vtkParallelCoordinatesRepresentation() override
abstract specification for Viewports
void ApplyViewTheme(vtkViewTheme *theme) override
Apply the theme to this view.
vtkSmartPointer< vtkActor2D > PlotTitleActor
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
map scalar values into colors via a lookup table
a actor that draws 2D data
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()
Select a set of points using the prescribed operator (add, subtract, etc.) and class.
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
bool RemoveFromView(vtkView *view) override
Add/remove the props and actors to/from a view.
int ComputeLinePosition(double *p1, double *p2)
Compute which screen position a point belongs to (returns the left position)
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.