#include <vtkParallelCoordinatesView.h>
This class manages interaction with the vtkParallelCoordinatesRepresentation. There are two inspection modes: axis manipulation and line selection. In axis manipulation mode, PC axes can be dragged and reordered with the LMB, axis ranges can be increased/decreased by dragging up/down with the LMB, and RMB controls zoom and pan.
In line selection mode, there are three subclasses of selections: lasso, angle, and function selection. Lasso selection lets the user brush a line and select all PC lines that pass nearby. Angle selection lets the user draw a representative line between axes and select all lines that have similar orientation. Function selection lets the user draw two representative lines between a pair of axes and select all lines that match the linear interpolation of those lines.
There are several self-explanatory operators for combining selections: ADD, SUBTRACT REPLACE, and INTERSECT.
Definition at line 52 of file vtkParallelCoordinatesView.h.
anonymous enum |
VTK_BRUSH_LASSO | |
VTK_BRUSH_ANGLE | |
VTK_BRUSH_FUNCTION | |
VTK_BRUSH_AXISTHRESHOLD | |
VTK_BRUSH_MODECOUNT |
Definition at line 60 of file vtkParallelCoordinatesView.h.
anonymous enum |
VTK_BRUSHOPERATOR_ADD | |
VTK_BRUSHOPERATOR_SUBTRACT | |
VTK_BRUSHOPERATOR_INTERSECT | |
VTK_BRUSHOPERATOR_REPLACE | |
VTK_BRUSHOPERATOR_MODECOUNT |
Definition at line 61 of file vtkParallelCoordinatesView.h.
anonymous enum |
Definition at line 62 of file vtkParallelCoordinatesView.h.
anonymous enum [protected] |
Definition at line 98 of file vtkParallelCoordinatesView.h.
vtkParallelCoordinatesView::vtkParallelCoordinatesView | ( | ) | [protected] |
virtual vtkParallelCoordinatesView::~vtkParallelCoordinatesView | ( | ) | [protected, virtual] |
virtual const char* vtkParallelCoordinatesView::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkRenderView.
static int vtkParallelCoordinatesView::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkRenderView.
virtual int vtkParallelCoordinatesView::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkRenderView.
static vtkParallelCoordinatesView* vtkParallelCoordinatesView::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkRenderView.
static vtkParallelCoordinatesView* vtkParallelCoordinatesView::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkRenderView.
void vtkParallelCoordinatesView::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkRenderView.
void vtkParallelCoordinatesView::SetBrushMode | ( | int | ) |
void vtkParallelCoordinatesView::SetBrushModeToLasso | ( | ) | [inline] |
Definition at line 66 of file vtkParallelCoordinatesView.h.
void vtkParallelCoordinatesView::SetBrushModeToAngle | ( | ) | [inline] |
Definition at line 67 of file vtkParallelCoordinatesView.h.
void vtkParallelCoordinatesView::SetBrushModeToFunction | ( | ) | [inline] |
Definition at line 68 of file vtkParallelCoordinatesView.h.
void vtkParallelCoordinatesView::SetBrushModeToAxisThreshold | ( | ) | [inline] |
Definition at line 69 of file vtkParallelCoordinatesView.h.
virtual int vtkParallelCoordinatesView::GetBrushMode | ( | ) | [virtual] |
void vtkParallelCoordinatesView::SetBrushOperator | ( | int | ) |
void vtkParallelCoordinatesView::SetBrushOperatorToAdd | ( | ) | [inline] |
Definition at line 73 of file vtkParallelCoordinatesView.h.
void vtkParallelCoordinatesView::SetBrushOperatorToSubtract | ( | ) | [inline] |
Definition at line 74 of file vtkParallelCoordinatesView.h.
void vtkParallelCoordinatesView::SetBrushOperatorToIntersect | ( | ) | [inline] |
Definition at line 75 of file vtkParallelCoordinatesView.h.
void vtkParallelCoordinatesView::SetBrushOperatorToReplace | ( | ) | [inline] |
Definition at line 76 of file vtkParallelCoordinatesView.h.
virtual int vtkParallelCoordinatesView::GetBrushOperator | ( | ) | [virtual] |
void vtkParallelCoordinatesView::SetInspectMode | ( | int | ) |
void vtkParallelCoordinatesView::SetInspectModeToManipulateAxes | ( | ) | [inline] |
Definition at line 80 of file vtkParallelCoordinatesView.h.
void vtkParallelCoordinatesView::SetInpsectModeToSelectData | ( | ) | [inline] |
Definition at line 81 of file vtkParallelCoordinatesView.h.
virtual int vtkParallelCoordinatesView::GetInspectMode | ( | ) | [virtual] |
void vtkParallelCoordinatesView::SetMaximumNumberOfBrushPoints | ( | int | ) |
virtual int vtkParallelCoordinatesView::GetMaximumNumberOfBrushPoints | ( | ) | [virtual] |
virtual void vtkParallelCoordinatesView::SetCurrentBrushClass | ( | int | ) | [virtual] |
virtual int vtkParallelCoordinatesView::GetCurrentBrushClass | ( | ) | [virtual] |
virtual void vtkParallelCoordinatesView::ApplyViewTheme | ( | vtkViewTheme * | theme | ) | [virtual] |
Applies a view theme to this view.
Reimplemented from vtkRenderView.
virtual void vtkParallelCoordinatesView::ProcessEvents | ( | vtkObject * | caller, | |
unsigned long | eventId, | |||
void * | callData | |||
) | [protected, virtual] |
Called to process events. Captures StartEvent events from the renderer and calls Update(). This may be overridden by subclasses to process additional events.
Reimplemented from vtkRenderView.
virtual vtkDataRepresentation* vtkParallelCoordinatesView::CreateDefaultRepresentation | ( | vtkAlgorithmOutput * | conn | ) | [protected, virtual] |
Create a default vtkDataRepresentation for the given vtkAlgorithmOutput. View subclasses may override this method to create custom representations. This method is called by Add/SetRepresentationFromInputConnection. NOTE, the caller must delete the returned vtkDataRepresentation.
Reimplemented from vtkView.
void vtkParallelCoordinatesView::PrepareForRendering | ( | ) | [protected, virtual] |
Called by the view when the renderer is about to render.
Reimplemented from vtkRenderView.
void vtkParallelCoordinatesView::Hover | ( | unsigned long | event | ) | [protected] |
Handle axis manipulation
void vtkParallelCoordinatesView::ManipulateAxes | ( | unsigned long | event | ) | [protected] |
Handle axis manipulation
void vtkParallelCoordinatesView::SelectData | ( | unsigned long | event | ) | [protected] |
Handle axis manipulation
void vtkParallelCoordinatesView::Zoom | ( | unsigned long | event | ) | [protected] |
Handle axis manipulation
void vtkParallelCoordinatesView::Pan | ( | unsigned long | event | ) | [protected] |
Handle axis manipulation
int vtkParallelCoordinatesView::SetAxisHighlightPosition | ( | vtkParallelCoordinatesRepresentation * | rep, | |
int | position | |||
) | [protected] |
Set/Get the position of axis highlights
int vtkParallelCoordinatesView::SetAxisHighlightPosition | ( | vtkParallelCoordinatesRepresentation * | rep, | |
double | position | |||
) | [protected] |
Set the highlight position using normalized viewport coordinates
int vtkParallelCoordinatesView::AddLassoBrushPoint | ( | double * | p | ) | [protected] |
int vtkParallelCoordinatesView::SetBrushLine | ( | int | line, | |
double * | p1, | |||
double * | p2 | |||
) | [protected] |
void vtkParallelCoordinatesView::GetBrushLine | ( | int | line, | |
vtkIdType & | npts, | |||
vtkIdType *& | ptids | |||
) | [protected] |
int vtkParallelCoordinatesView::SetAngleBrushLine | ( | double * | p1, | |
double * | p2 | |||
) | [protected] |
int vtkParallelCoordinatesView::SetFunctionBrushLine1 | ( | double * | p1, | |
double * | p2 | |||
) | [protected] |
int vtkParallelCoordinatesView::SetFunctionBrushLine2 | ( | double * | p1, | |
double * | p2 | |||
) | [protected] |
void vtkParallelCoordinatesView::ClearBrushPoints | ( | ) | [protected] |
int vtkParallelCoordinatesView::SelectedAxisPosition [protected] |
Definition at line 96 of file vtkParallelCoordinatesView.h.
Definition at line 99 of file vtkParallelCoordinatesView.h.
Definition at line 100 of file vtkParallelCoordinatesView.h.
Definition at line 101 of file vtkParallelCoordinatesView.h.
int vtkParallelCoordinatesView::InspectMode [protected] |
Definition at line 104 of file vtkParallelCoordinatesView.h.
int vtkParallelCoordinatesView::BrushMode [protected] |
Definition at line 105 of file vtkParallelCoordinatesView.h.
int vtkParallelCoordinatesView::BrushOperator [protected] |
Definition at line 106 of file vtkParallelCoordinatesView.h.
int vtkParallelCoordinatesView::MaximumNumberOfBrushPoints [protected] |
Definition at line 107 of file vtkParallelCoordinatesView.h.
int vtkParallelCoordinatesView::NumberOfBrushPoints [protected] |
Definition at line 108 of file vtkParallelCoordinatesView.h.
int vtkParallelCoordinatesView::CurrentBrushClass [protected] |
Definition at line 109 of file vtkParallelCoordinatesView.h.
Definition at line 111 of file vtkParallelCoordinatesView.h.
Definition at line 112 of file vtkParallelCoordinatesView.h.
Definition at line 113 of file vtkParallelCoordinatesView.h.
int vtkParallelCoordinatesView::FirstFunctionBrushLineDrawn [protected] |
Definition at line 116 of file vtkParallelCoordinatesView.h.
int vtkParallelCoordinatesView::AxisHighlightPosition [protected] |
Definition at line 117 of file vtkParallelCoordinatesView.h.
Definition at line 119 of file vtkParallelCoordinatesView.h.
bool vtkParallelCoordinatesView::RebuildNeeded [protected] |
Definition at line 120 of file vtkParallelCoordinatesView.h.