VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkInteractorStyleAreaSelectHover Class Reference

An interactor style for an area tree view. More...

#include <vtkInteractorStyleAreaSelectHover.h>

Inheritance diagram for vtkInteractorStyleAreaSelectHover:
Inheritance graph
[legend]
Collaboration diagram for vtkInteractorStyleAreaSelectHover:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
vtkInteractorStyleRubberBand2D 
Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkInteractorStyleAreaSelectHoverNewInstance () 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 vtkAreaLayoutGetLayout ()
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 ()

Static Public Member Functions

static
vtkInteractorStyleAreaSelectHover
New ()
static int IsTypeOf (const char *type)
static
vtkInteractorStyleAreaSelectHover
SafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkInteractorStyleAreaSelectHover ()
 ~vtkInteractorStyleAreaSelectHover ()

Detailed Description

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.

Events:
vtkCommand::InteractionEvent

Definition at line 50 of file vtkInteractorStyleAreaSelectHover.h.


Member Typedef Documentation

Reimplemented from vtkInteractorStyleRubberBand2D.

Definition at line 54 of file vtkInteractorStyleAreaSelectHover.h.


Constructor & Destructor Documentation


Member Function Documentation

This class must be supplied with a vtkRenderWindowInteractor wrapper or parent. This class should not normally be instantiated by application programmers.

Reimplemented from vtkInteractorStyleRubberBand2D.

static int vtkInteractorStyleAreaSelectHover::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 vtkInteractorStyleRubberBand2D.

virtual int vtkInteractorStyleAreaSelectHover::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 vtkInteractorStyleRubberBand2D.

Reimplemented from vtkInteractorStyleRubberBand2D.

Reimplemented from vtkInteractorStyleRubberBand2D.

Reimplemented from vtkInteractorStyleRubberBand2D.

void vtkInteractorStyleAreaSelectHover::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 vtkInteractorStyleRubberBand2D.

Must be set to the vtkAreaLayout used to compute the bounds of each vertex.

Must be set to the vtkAreaLayout used to compute the bounds of each vertex.

virtual void vtkInteractorStyleAreaSelectHover::SetLabelField ( const char *  ) [virtual]

The name of the field to use when displaying text in the hover balloon.

The name of the field to use when displaying text in the hover balloon.

Determine whether or not to use rectangular coordinates instead of polar coordinates.

Determine whether or not to use rectangular coordinates instead of polar coordinates.

Determine whether or not to use rectangular coordinates instead of polar coordinates.

Determine whether or not to use rectangular coordinates instead of polar coordinates.

Overridden from vtkInteractorStyleImage to provide the desired interaction behavior.

Reimplemented from vtkInteractorStyleRubberBand2D.

Set the interactor that this interactor style works with.

Reimplemented from vtkInteractorStyle.

Set the color used to highlight the hovered vertex.

The width of the line around the hovered vertex.

The width of the line around the hovered vertex.

Obtain the tree vertex id at the position specified.


The documentation for this class was generated from the following file: