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