|
VTK
|
An interactor style for an area tree view. More...
#include <vtkInteractorStyleAreaSelectHover.h>
Public Types | |
| typedef vtkInteractorStyleRubberBand2D | Superclass |
Public Types inherited from vtkInteractorStyleRubberBand2D | |
| enum | { NONE, PANNING, ZOOMING, SELECTING } |
| typedef vtkInteractorStyle | Superclass |
| enum | { SELECT_NORMAL = 0, SELECT_UNION = 1 } |
Public Member Functions | |
| virtual int | IsA (const char *type) |
| vtkInteractorStyleAreaSelectHover * | NewInstance () const |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| void | OnMouseMove () |
| virtual void | SetInteractor (vtkRenderWindowInteractor *rwi) |
| void | SetHighLightColor (double r, double g, double b) |
| vtkIdType | GetIdAtPos (int x, int y) |
| void | SetLayout (vtkAreaLayout *layout) |
| virtual vtkAreaLayout * | GetLayout () |
| virtual void | SetLabelField (const char *) |
| virtual char * | GetLabelField () |
| virtual void | SetUseRectangularCoordinates (bool) |
| virtual bool | GetUseRectangularCoordinates () |
| virtual void | UseRectangularCoordinatesOn () |
| virtual void | UseRectangularCoordinatesOff () |
| void | SetHighLightWidth (double lw) |
| double | GetHighLightWidth () |
Public Member Functions inherited from vtkInteractorStyleRubberBand2D | |
| vtkInteractorStyleRubberBand2D * | NewInstance () const |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual void | OnLeftButtonDown () |
| virtual void | OnLeftButtonUp () |
| virtual void | OnMiddleButtonDown () |
| virtual void | OnMiddleButtonUp () |
| virtual void | OnRightButtonDown () |
| virtual void | OnRightButtonUp () |
| virtual void | OnMouseWheelForward () |
| virtual void | OnMouseWheelBackward () |
| virtual void | SetRenderOnMouseMove (bool) |
| virtual bool | GetRenderOnMouseMove () |
| virtual void | RenderOnMouseMoveOn () |
| virtual void | RenderOnMouseMoveOff () |
| virtual int | GetInteraction () |
| virtual int * | GetStartPosition () |
| virtual void | GetStartPosition (int &, int &) |
| virtual void | GetStartPosition (int[2]) |
| virtual int * | GetEndPosition () |
| virtual void | GetEndPosition (int &, int &) |
| virtual void | GetEndPosition (int[2]) |
Static Public Member Functions | |
| static vtkInteractorStyleAreaSelectHover * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkInteractorStyleAreaSelectHover * | SafeDownCast (vtkObjectBase *o) |
Static Public Member Functions inherited from vtkInteractorStyleRubberBand2D | |
| static vtkInteractorStyleRubberBand2D * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkInteractorStyleRubberBand2D * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkInteractorStyleAreaSelectHover () | |
| ~vtkInteractorStyleAreaSelectHover () | |
Protected Member Functions inherited from vtkInteractorStyleRubberBand2D | |
| vtkInteractorStyleRubberBand2D () | |
| ~vtkInteractorStyleRubberBand2D () | |
| void | RedrawRubberBand () |
Additional Inherited Members | |
Protected Attributes inherited from vtkInteractorStyleRubberBand2D | |
| int | Interaction |
| int | StartPosition [2] |
| int | EndPosition [2] |
| vtkUnsignedCharArray * | PixelArray |
| bool | RenderOnMouseMove |
An interactor style for an area tree view.
The vtkInteractorStyleAreaSelectHover specifically works with pipelines that create a hierarchical tree. Such pipelines will have a vtkAreaLayout filter which must be passed to this interactor style for it to function correctly. This interactor style allows only 2D panning and zooming, rubber band selection and provides a balloon containing the name of the vertex hovered over.
Definition at line 50 of file vtkInteractorStyleAreaSelectHover.h.
Definition at line 54 of file vtkInteractorStyleAreaSelectHover.h.
|
protected |
|
protected |
|
static |
|
static |
|
virtual |
Reimplemented from vtkInteractorStyleRubberBand2D.
|
static |
|
protectedvirtual |
Reimplemented from vtkInteractorStyleRubberBand2D.
| vtkInteractorStyleAreaSelectHover* vtkInteractorStyleAreaSelectHover::NewInstance | ( | ) | const |
| void vtkInteractorStyleAreaSelectHover::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) |
| void vtkInteractorStyleAreaSelectHover::SetLayout | ( | vtkAreaLayout * | layout | ) |
Must be set to the vtkAreaLayout used to compute the bounds of each vertex.
|
virtual |
Must be set to the vtkAreaLayout used to compute the bounds of each vertex.
|
virtual |
The name of the field to use when displaying text in the hover balloon.
|
virtual |
The name of the field to use when displaying text in the hover balloon.
|
virtual |
Determine whether or not to use rectangular coordinates instead of polar coordinates.
|
virtual |
Determine whether or not to use rectangular coordinates instead of polar coordinates.
|
virtual |
Determine whether or not to use rectangular coordinates instead of polar coordinates.
|
virtual |
Determine whether or not to use rectangular coordinates instead of polar coordinates.
|
virtual |
Overridden from vtkInteractorStyleImage to provide the desired interaction behavior.
Reimplemented from vtkInteractorStyleRubberBand2D.
|
virtual |
Set the interactor that this interactor style works with.
| void vtkInteractorStyleAreaSelectHover::SetHighLightColor | ( | double | r, |
| double | g, | ||
| double | b | ||
| ) |
Set the color used to highlight the hovered vertex.
| void vtkInteractorStyleAreaSelectHover::SetHighLightWidth | ( | double | lw | ) |
The width of the line around the hovered vertex.
| double vtkInteractorStyleAreaSelectHover::GetHighLightWidth | ( | ) |
The width of the line around the hovered vertex.
| vtkIdType vtkInteractorStyleAreaSelectHover::GetIdAtPos | ( | int | x, |
| int | y | ||
| ) |
Obtain the tree vertex id at the position specified.
1.8.6