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);
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.
create wireframe outline around bounding box
void SetBrushOperatorToReplace()
void SetBrushModeToAngle()
void SetBrushOperatorToIntersect()
record modification and/or execution time
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
@ VTK_BRUSHOPERATOR_SUBTRACT
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.
virtual ~vtkParallelCoordinatesView()
void SetBrushOperatorToAdd()
virtual void ApplyViewTheme(vtkViewTheme *theme)
Applies a view theme to this view.
void Pan(unsigned long event)
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)
virtual vtkDataRepresentation * CreateDefaultRepresentation(vtkAlgorithmOutput *conn)
Create a default vtkDataRepresentation for the given vtkAlgorithmOutput.
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
void SelectData(unsigned long event)
view to be used with vtkParallelCoordinatesRepresentation
vtkParallelCoordinatesView()
int AxisHighlightPosition
virtual void ProcessEvents(vtkObject *caller, unsigned long event, void *callData)
Called to process events.
vtkSmartPointer< vtkActor2D > BrushActor
vtkSmartPointer< vtkOutlineSource > HighlightSource
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSmartPointer< vtkPolyDataMapper2D > BrushMapper
a actor that draws 2D data
vtkSmartPointer< vtkPolyData > BrushData
Proxy object to connect input/output ports.
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()
@ VTK_INSPECT_SELECT_DATA
void SetBrushOperator(int)
void PrepareForRendering()
Called by the view when the renderer is about to render.
vtkTimeStamp WorldBuildTime