|
VTK
|
view to be used with vtkParallelCoordinatesRepresentation More...
#include <vtkParallelCoordinatesView.h>
Public Types | |
| enum | { VTK_BRUSH_LASSO =0, VTK_BRUSH_ANGLE, VTK_BRUSH_FUNCTION, VTK_BRUSH_AXISTHRESHOLD, VTK_BRUSH_MODECOUNT } |
| enum | { VTK_BRUSHOPERATOR_ADD =0, VTK_BRUSHOPERATOR_SUBTRACT, VTK_BRUSHOPERATOR_INTERSECT, VTK_BRUSHOPERATOR_REPLACE, VTK_BRUSHOPERATOR_MODECOUNT } |
| enum | { VTK_INSPECT_MANIPULATE_AXES =0, VTK_INSPECT_SELECT_DATA, VTK_INSPECT_MODECOUNT } |
| typedef vtkRenderView | Superclass |
Public Types inherited from vtkRenderView | |
| enum | { INTERACTION_MODE_2D, INTERACTION_MODE_3D, INTERACTION_MODE_UNKNOWN } |
| enum | { SURFACE = 0, FRUSTUM = 1 } |
| enum | { NO_OVERLAP, ALL } |
| enum | { FREETYPE, QT } |
| typedef vtkRenderViewBase | Superclass |
Public Types inherited from vtkRenderViewBase | |
| typedef vtkView | Superclass |
Public Types inherited from vtkView | |
| typedef vtkObject | Superclass |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkParallelCoordinatesView * | SafeDownCast (vtkObjectBase *o) |
| static vtkParallelCoordinatesView * | New () |
Static Public Member Functions inherited from vtkRenderView | |
| static vtkRenderView * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkRenderView * | SafeDownCast (vtkObjectBase *o) |
Static Public Member Functions inherited from vtkRenderViewBase | |
| static vtkRenderViewBase * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkRenderViewBase * | SafeDownCast (vtkObjectBase *o) |
Static Public Member Functions inherited from vtkView | |
| static vtkView * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkView * | SafeDownCast (vtkObjectBase *o) |
Protected Types | |
| enum | { VTK_HIGHLIGHT_CENTER =0, VTK_HIGHLIGHT_MIN, VTK_HIGHLIGHT_MAX } |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkParallelCoordinatesView () | |
| virtual | ~vtkParallelCoordinatesView () |
| virtual void | ProcessEvents (vtkObject *caller, unsigned long event, void *callData) |
| virtual vtkDataRepresentation * | CreateDefaultRepresentation (vtkAlgorithmOutput *conn) |
| void | PrepareForRendering () |
| int | SetAxisHighlightPosition (vtkParallelCoordinatesRepresentation *rep, int position) |
| int | SetAxisHighlightPosition (vtkParallelCoordinatesRepresentation *rep, double position) |
| int | AddLassoBrushPoint (double *p) |
| int | SetBrushLine (int line, double *p1, double *p2) |
| void | GetBrushLine (int line, vtkIdType &npts, vtkIdType *&ptids) |
| int | SetAngleBrushLine (double *p1, double *p2) |
| int | SetFunctionBrushLine1 (double *p1, double *p2) |
| int | SetFunctionBrushLine2 (double *p1, double *p2) |
| void | ClearBrushPoints () |
| void | Hover (unsigned long event) |
| void | ManipulateAxes (unsigned long event) |
| void | SelectData (unsigned long event) |
| void | Zoom (unsigned long event) |
| void | Pan (unsigned long event) |
Protected Member Functions inherited from vtkRenderView | |
| virtual void | UpdateHoverText () |
| virtual void | UpdateHoverWidgetState () |
| void | UpdatePickRender () |
| virtual void | GenerateSelection (void *callData, vtkSelection *selection) |
| vtkRenderView () | |
| ~vtkRenderView () | |
Protected Member Functions inherited from vtkRenderViewBase | |
| vtkRenderViewBase () | |
| ~vtkRenderViewBase () | |
Protected Member Functions inherited from vtkView | |
| vtkView () | |
| ~vtkView () | |
| virtual void | AddRepresentationInternal (vtkDataRepresentation *vtkNotUsed(rep)) |
| virtual void | RemoveRepresentationInternal (vtkDataRepresentation *vtkNotUsed(rep)) |
| virtual void | SetReuseSingleRepresentation (bool) |
| virtual bool | GetReuseSingleRepresentation () |
| virtual void | ReuseSingleRepresentationOn () |
| virtual void | ReuseSingleRepresentationOff () |
Protected Attributes | |
| int | SelectedAxisPosition |
| vtkSmartPointer< vtkOutlineSource > | HighlightSource |
| vtkSmartPointer < vtkPolyDataMapper2D > | HighlightMapper |
| vtkSmartPointer< vtkActor2D > | HighlightActor |
| int | InspectMode |
| int | BrushMode |
| int | BrushOperator |
| int | MaximumNumberOfBrushPoints |
| int | NumberOfBrushPoints |
| int | CurrentBrushClass |
| vtkSmartPointer< vtkPolyData > | BrushData |
| vtkSmartPointer < vtkPolyDataMapper2D > | BrushMapper |
| vtkSmartPointer< vtkActor2D > | BrushActor |
| int | FirstFunctionBrushLineDrawn |
| int | AxisHighlightPosition |
| vtkTimeStamp | WorldBuildTime |
| bool | RebuildNeeded |
Protected Attributes inherited from vtkRenderView | |
| int | SelectionMode |
| int | LabelRenderMode |
| bool | DisplayHoverText |
| bool | Interacting |
| bool | InHoverTextRender |
| bool | InPickRender |
| bool | PickRenderNeedsUpdate |
| vtkAbstractTransform * | Transform |
| vtkTexture * | IconTexture |
| int | IconSize [2] |
| int | DisplaySize [2] |
| int | InteractionMode |
| bool | RenderOnMouseMove |
| vtkSmartPointer< vtkRenderer > | LabelRenderer |
| vtkSmartPointer < vtkBalloonRepresentation > | Balloon |
| vtkSmartPointer < vtkLabelPlacementMapper > | LabelPlacementMapper |
| vtkSmartPointer < vtkTexturedActor2D > | LabelActor |
| vtkSmartPointer< vtkHoverWidget > | HoverWidget |
| vtkSmartPointer < vtkHardwareSelector > | Selector |
Protected Attributes inherited from vtkRenderViewBase | |
| vtkSmartPointer< vtkRenderer > | Renderer |
| vtkSmartPointer< vtkRenderWindow > | RenderWindow |
Protected Attributes inherited from vtkView | |
| bool | ReuseSingleRepresentation |
view to be used with vtkParallelCoordinatesRepresentation
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 53 of file vtkParallelCoordinatesView.h.
Definition at line 56 of file vtkParallelCoordinatesView.h.
| anonymous enum |
| Enumerator | |
|---|---|
| VTK_BRUSH_LASSO | |
| VTK_BRUSH_ANGLE | |
| VTK_BRUSH_FUNCTION | |
| VTK_BRUSH_AXISTHRESHOLD | |
| VTK_BRUSH_MODECOUNT | |
Definition at line 61 of file vtkParallelCoordinatesView.h.
| anonymous enum |
| Enumerator | |
|---|---|
| VTK_BRUSHOPERATOR_ADD | |
| VTK_BRUSHOPERATOR_SUBTRACT | |
| VTK_BRUSHOPERATOR_INTERSECT | |
| VTK_BRUSHOPERATOR_REPLACE | |
| VTK_BRUSHOPERATOR_MODECOUNT | |
Definition at line 62 of file vtkParallelCoordinatesView.h.
| anonymous enum |
| Enumerator | |
|---|---|
| VTK_INSPECT_MANIPULATE_AXES | |
| VTK_INSPECT_SELECT_DATA | |
| VTK_INSPECT_MODECOUNT | |
Definition at line 63 of file vtkParallelCoordinatesView.h.
|
protected |
| Enumerator | |
|---|---|
| VTK_HIGHLIGHT_CENTER | |
| VTK_HIGHLIGHT_MIN | |
| VTK_HIGHLIGHT_MAX | |
Definition at line 99 of file vtkParallelCoordinatesView.h.
|
protected |
|
protectedvirtual |
|
static |
|
virtual |
Reimplemented from vtkRenderView.
|
static |
|
protectedvirtual |
Reimplemented from vtkRenderView.
| vtkParallelCoordinatesView* vtkParallelCoordinatesView::NewInstance | ( | ) | const |
|
static |
| void vtkParallelCoordinatesView::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) |
| void vtkParallelCoordinatesView::SetBrushMode | ( | int | ) |
|
inline |
Definition at line 67 of file vtkParallelCoordinatesView.h.
|
inline |
Definition at line 68 of file vtkParallelCoordinatesView.h.
|
inline |
Definition at line 69 of file vtkParallelCoordinatesView.h.
|
inline |
Definition at line 70 of file vtkParallelCoordinatesView.h.
|
virtual |
| void vtkParallelCoordinatesView::SetBrushOperator | ( | int | ) |
|
inline |
Definition at line 74 of file vtkParallelCoordinatesView.h.
|
inline |
Definition at line 75 of file vtkParallelCoordinatesView.h.
|
inline |
Definition at line 76 of file vtkParallelCoordinatesView.h.
|
inline |
Definition at line 77 of file vtkParallelCoordinatesView.h.
|
virtual |
| void vtkParallelCoordinatesView::SetInspectMode | ( | int | ) |
|
inline |
Definition at line 81 of file vtkParallelCoordinatesView.h.
|
inline |
Definition at line 82 of file vtkParallelCoordinatesView.h.
|
virtual |
| void vtkParallelCoordinatesView::SetMaximumNumberOfBrushPoints | ( | int | ) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Applies a view theme to this view.
Reimplemented from vtkRenderView.
|
protectedvirtual |
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.
|
protectedvirtual |
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.
|
protectedvirtual |
Called by the view when the renderer is about to render.
Reimplemented from vtkRenderView.
|
protected |
Handle axis manipulation
|
protected |
Handle axis manipulation
|
protected |
Handle axis manipulation
|
protected |
Handle axis manipulation
|
protected |
Handle axis manipulation
|
protected |
Set/Get the position of axis highlights
|
protected |
Set the highlight position using normalized viewport coordinates
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 97 of file vtkParallelCoordinatesView.h.
|
protected |
Definition at line 100 of file vtkParallelCoordinatesView.h.
|
protected |
Definition at line 101 of file vtkParallelCoordinatesView.h.
|
protected |
Definition at line 102 of file vtkParallelCoordinatesView.h.
|
protected |
Definition at line 105 of file vtkParallelCoordinatesView.h.
|
protected |
Definition at line 106 of file vtkParallelCoordinatesView.h.
|
protected |
Definition at line 107 of file vtkParallelCoordinatesView.h.
|
protected |
Definition at line 108 of file vtkParallelCoordinatesView.h.
|
protected |
Definition at line 109 of file vtkParallelCoordinatesView.h.
|
protected |
Definition at line 110 of file vtkParallelCoordinatesView.h.
|
protected |
Definition at line 112 of file vtkParallelCoordinatesView.h.
|
protected |
Definition at line 113 of file vtkParallelCoordinatesView.h.
|
protected |
Definition at line 114 of file vtkParallelCoordinatesView.h.
|
protected |
Definition at line 117 of file vtkParallelCoordinatesView.h.
|
protected |
Definition at line 118 of file vtkParallelCoordinatesView.h.
|
protected |
Definition at line 120 of file vtkParallelCoordinatesView.h.
|
protected |
Definition at line 121 of file vtkParallelCoordinatesView.h.
1.8.6