Go to the documentation of this file.
45 #ifndef vtkParallelCoordinatesView_h
46 #define vtkParallelCoordinatesView_h
48 #include "vtkViewsInfovisModule.h"
64 enum {VTK_BRUSH_LASSO=0,VTK_BRUSH_ANGLE,VTK_BRUSH_FUNCTION,VTK_BRUSH_AXISTHRESHOLD,VTK_BRUSH_MODECOUNT};
65 enum {VTK_BRUSHOPERATOR_ADD=0,
VTK_BRUSHOPERATOR_SUBTRACT,VTK_BRUSHOPERATOR_INTERSECT,VTK_BRUSHOPERATOR_REPLACE,VTK_BRUSHOPERATOR_MODECOUNT};
73 vtkGetMacro(BrushMode,
int);
80 vtkGetMacro(BrushOperator,
int);
85 vtkGetMacro(InspectMode,
int);
88 vtkGetMacro(MaximumNumberOfBrushPoints,
int);
90 vtkSetMacro(CurrentBrushClass,
int);
91 vtkGetMacro(CurrentBrushClass,
int);
135 void Zoom(
unsigned long event);
136 void Pan(
unsigned long event);
void GetBrushLine(int line, vtkIdType &npts, vtkIdType *&ptids)
Data representation that takes generic multivariate data and produces a parallel coordinates plot.
draw vtkPolyData onto the image plane
vtkSmartPointer< vtkPolyDataMapper2D > HighlightMapper
A view containing a renderer.
void ApplyViewTheme(vtkViewTheme *theme) override
create wireframe outline around bounding box
void SetBrushOperatorToReplace()
void SetBrushModeToAngle()
vtkDataRepresentation * CreateDefaultRepresentation(vtkAlgorithmOutput *conn) override
Create a default vtkDataRepresentation for the given vtkAlgorithmOutput.
void SetBrushOperatorToIntersect()
record modification and/or execution time
~vtkParallelCoordinatesView() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract base class for most VTK objects
void SetBrushOperatorToSubtract()
int SetBrushLine(int line, double *p1, double *p2)
int SetFunctionBrushLine1(double *p1, double *p2)
void Zoom(unsigned long event)
void Hover(unsigned long event)
Handle axis manipulation.
void SetBrushOperatorToAdd()
void Pan(unsigned long event)
void PrepareForRendering() override
Called by the view when the renderer is about to render.
int SetAngleBrushLine(double *p1, double *p2)
void SetMaximumNumberOfBrushPoints(int)
Sets theme colors for a graphical view.
int SetFunctionBrushLine2(double *p1, double *p2)
int AddLassoBrushPoint(double *p)
vtkSmartPointer< vtkActor2D > HighlightActor
The superclass for all representations.
void SetInpsectModeToSelectData()
void SetBrushModeToAxisThreshold()
int SetAxisHighlightPosition(vtkParallelCoordinatesRepresentation *rep, double position)
Set the highlight position using normalized viewport coordinates.
void SetBrushModeToFunction()
a simple class to control print indentation
int MaximumNumberOfBrushPoints
@ VTK_INSPECT_SELECT_DATA
void SelectData(unsigned long event)
view to be used with vtkParallelCoordinatesRepresentation
void ProcessEvents(vtkObject *caller, unsigned long event, void *callData) override
Called to process events.
vtkParallelCoordinatesView()
int AxisHighlightPosition
vtkSmartPointer< vtkActor2D > BrushActor
vtkSmartPointer< vtkOutlineSource > HighlightSource
vtkSmartPointer< vtkPolyDataMapper2D > BrushMapper
a actor that draws 2D data
vtkSmartPointer< vtkPolyData > BrushData
Proxy object to connect input/output ports.
@ VTK_BRUSHOPERATOR_SUBTRACT
void ManipulateAxes(unsigned long event)
concrete dataset represents vertices, lines, polygons, and triangle strips
int FirstFunctionBrushLineDrawn
static vtkParallelCoordinatesView * New()
int SetAxisHighlightPosition(vtkParallelCoordinatesRepresentation *rep, int position)
Set/Get the position of axis highlights.
void SetInspectModeToManipulateAxes()
void SetBrushModeToLasso()
void SetBrushOperator(int)
vtkTimeStamp WorldBuildTime