VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkInteractorStyleTreeMapHover Class Reference

An interactor style for a tree map view. More...

#include <vtkInteractorStyleTreeMapHover.h>

Inheritance diagram for vtkInteractorStyleTreeMapHover:
[legend]
Collaboration diagram for vtkInteractorStyleTreeMapHover:
[legend]

Public Types

typedef vtkInteractorStyleImage Superclass
 
- Public Types inherited from vtkInteractorStyleImage
typedef
vtkInteractorStyleTrackballCamera 
Superclass
 
- Public Types inherited from vtkInteractorStyleTrackballCamera
typedef vtkInteractorStyle Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkInteractorStyleTreeMapHoverNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void SetInteractor (vtkRenderWindowInteractor *rwi)
 
void SetHighLightColor (double r, double g, double b)
 
void SetSelectionLightColor (double r, double g, double b)
 
void SetLayout (vtkTreeMapLayout *layout)
 
virtual vtkTreeMapLayoutGetLayout ()
 
void SetTreeMapToPolyData (vtkTreeMapToPolyData *filter)
 
virtual vtkTreeMapToPolyDataGetTreeMapToPolyData ()
 
virtual void SetLabelField (const char *)
 
virtual char * GetLabelField ()
 
void OnMouseMove ()
 
void OnLeftButtonUp ()
 
void HighLightItem (vtkIdType id)
 
void HighLightCurrentSelectedItem ()
 
void SetHighLightWidth (double lw)
 
double GetHighLightWidth ()
 
void SetSelectionWidth (double lw)
 
double GetSelectionWidth ()
 
- Public Member Functions inherited from vtkInteractorStyleImage
vtkInteractorStyleImageNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void OnChar ()
 
virtual void WindowLevel ()
 
virtual void Pick ()
 
virtual void Slice ()
 
virtual void StartWindowLevel ()
 
virtual void EndWindowLevel ()
 
virtual void StartPick ()
 
virtual void EndPick ()
 
virtual void StartSlice ()
 
virtual void EndSlice ()
 
virtual int * GetWindowLevelStartPosition ()
 
virtual void GetWindowLevelStartPosition (int &, int &)
 
virtual void GetWindowLevelStartPosition (int[2])
 
virtual int * GetWindowLevelCurrentPosition ()
 
virtual void GetWindowLevelCurrentPosition (int &, int &)
 
virtual void GetWindowLevelCurrentPosition (int[2])
 
virtual void OnLeftButtonDown ()
 
virtual void OnMiddleButtonDown ()
 
virtual void OnMiddleButtonUp ()
 
virtual void OnRightButtonDown ()
 
virtual void OnRightButtonUp ()
 
virtual void SetInteractionMode (int)
 
virtual int GetInteractionMode ()
 
void SetInteractionModeToImage2D ()
 
void SetInteractionModeToImage3D ()
 
void SetInteractionModeToImageSlicing ()
 
virtual void SetXViewRightVector (double, double, double)
 
virtual void SetXViewRightVector (double[3])
 
virtual double * GetXViewRightVector ()
 
virtual void GetXViewRightVector (double &, double &, double &)
 
virtual void GetXViewRightVector (double[3])
 
virtual void SetXViewUpVector (double, double, double)
 
virtual void SetXViewUpVector (double[3])
 
virtual double * GetXViewUpVector ()
 
virtual void GetXViewUpVector (double &, double &, double &)
 
virtual void GetXViewUpVector (double[3])
 
virtual void SetYViewRightVector (double, double, double)
 
virtual void SetYViewRightVector (double[3])
 
virtual double * GetYViewRightVector ()
 
virtual void GetYViewRightVector (double &, double &, double &)
 
virtual void GetYViewRightVector (double[3])
 
virtual void SetYViewUpVector (double, double, double)
 
virtual void SetYViewUpVector (double[3])
 
virtual double * GetYViewUpVector ()
 
virtual void GetYViewUpVector (double &, double &, double &)
 
virtual void GetYViewUpVector (double[3])
 
virtual void SetZViewRightVector (double, double, double)
 
virtual void SetZViewRightVector (double[3])
 
virtual double * GetZViewRightVector ()
 
virtual void GetZViewRightVector (double &, double &, double &)
 
virtual void GetZViewRightVector (double[3])
 
virtual void SetZViewUpVector (double, double, double)
 
virtual void SetZViewUpVector (double[3])
 
virtual double * GetZViewUpVector ()
 
virtual void GetZViewUpVector (double &, double &, double &)
 
virtual void GetZViewUpVector (double[3])
 
void SetImageOrientation (const double leftToRight[3], const double bottomToTop[3])
 
vtkImageProperty * GetCurrentImageProperty ()
 
- Public Member Functions inherited from vtkInteractorStyleTrackballCamera
vtkInteractorStyleTrackballCameraNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void Rotate ()
 
virtual void Spin ()
 
virtual void Pan ()
 
virtual void Dolly ()
 
virtual void OnMouseWheelForward ()
 
virtual void OnMouseWheelBackward ()
 
virtual void SetMotionFactor (double)
 
virtual double GetMotionFactor ()
 

Static Public Member Functions

static
vtkInteractorStyleTreeMapHover
New ()
 
static int IsTypeOf (const char *type)
 
static
vtkInteractorStyleTreeMapHover
SafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkInteractorStyleImage
static vtkInteractorStyleImageNew ()
 
static int IsTypeOf (const char *type)
 
static vtkInteractorStyleImageSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkInteractorStyleTrackballCamera
static
vtkInteractorStyleTrackballCamera
New ()
 
static int IsTypeOf (const char *type)
 
static
vtkInteractorStyleTrackballCamera
SafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkInteractorStyleTreeMapHover ()
 
 ~vtkInteractorStyleTreeMapHover ()
 
- Protected Member Functions inherited from vtkInteractorStyleImage
 vtkInteractorStyleImage ()
 
 ~vtkInteractorStyleImage ()
 
void SetCurrentImageToNthImage (int i)
 
- Protected Member Functions inherited from vtkInteractorStyleTrackballCamera
 vtkInteractorStyleTrackballCamera ()
 
 ~vtkInteractorStyleTrackballCamera ()
 
virtual void Dolly (double factor)
 

Additional Inherited Members

- Protected Attributes inherited from vtkInteractorStyleImage
int WindowLevelStartPosition [2]
 
int WindowLevelCurrentPosition [2]
 
double WindowLevelInitial [2]
 
vtkImageProperty * CurrentImageProperty
 
int InteractionMode
 
double XViewRightVector [3]
 
double XViewUpVector [3]
 
double YViewRightVector [3]
 
double YViewUpVector [3]
 
double ZViewRightVector [3]
 
double ZViewUpVector [3]
 
- Protected Attributes inherited from vtkInteractorStyleTrackballCamera
double MotionFactor
 

Detailed Description

An interactor style for a tree map view.

The vtkInteractorStyleTreeMapHover specifically works with pipelines that create a tree map. Such pipelines will have a vtkTreeMapLayout filter and a vtkTreeMapToPolyData filter, both of which must be passed to this interactor style for it to function correctly. This interactor style allows only 2D panning and zooming, and additionally provides a balloon containing the name of the vertex hovered over, and allows the user to highlight a vertex by clicking on it.

Events:
vtkCommand::UserEvent vtkCommand::InteractionEvent
Tests:
vtkInteractorStyleTreeMapHover (Tests)

Definition at line 53 of file vtkInteractorStyleTreeMapHover.h.

Member Typedef Documentation

Definition at line 57 of file vtkInteractorStyleTreeMapHover.h.

Constructor & Destructor Documentation

vtkInteractorStyleTreeMapHover::vtkInteractorStyleTreeMapHover ( )
protected
vtkInteractorStyleTreeMapHover::~vtkInteractorStyleTreeMapHover ( )
protected

Member Function Documentation

static vtkInteractorStyleTreeMapHover* vtkInteractorStyleTreeMapHover::New ( )
static
static int vtkInteractorStyleTreeMapHover::IsTypeOf ( const char *  type)
static
virtual int vtkInteractorStyleTreeMapHover::IsA ( const char *  type)
virtual

Reimplemented from vtkInteractorStyleImage.

static vtkInteractorStyleTreeMapHover* vtkInteractorStyleTreeMapHover::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkInteractorStyleTreeMapHover::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkInteractorStyleImage.

vtkInteractorStyleTreeMapHover* vtkInteractorStyleTreeMapHover::NewInstance ( ) const
void vtkInteractorStyleTreeMapHover::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
void vtkInteractorStyleTreeMapHover::SetLayout ( vtkTreeMapLayout layout)

Must be set to the vtkTreeMapLayout used to compute the bounds of each vertex for the tree map.

virtual vtkTreeMapLayout* vtkInteractorStyleTreeMapHover::GetLayout ( )
virtual

Must be set to the vtkTreeMapLayout used to compute the bounds of each vertex for the tree map.

void vtkInteractorStyleTreeMapHover::SetTreeMapToPolyData ( vtkTreeMapToPolyData filter)

Must be set to the vtkTreeMapToPolyData used to convert the tree map into polydata.

virtual vtkTreeMapToPolyData* vtkInteractorStyleTreeMapHover::GetTreeMapToPolyData ( )
virtual

Must be set to the vtkTreeMapToPolyData used to convert the tree map into polydata.

virtual void vtkInteractorStyleTreeMapHover::SetLabelField ( const char *  )
virtual

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

virtual char* vtkInteractorStyleTreeMapHover::GetLabelField ( )
virtual

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

void vtkInteractorStyleTreeMapHover::OnMouseMove ( )
virtual

Overridden from vtkInteractorStyleImage to provide the desired interaction behavior.

Reimplemented from vtkInteractorStyleImage.

void vtkInteractorStyleTreeMapHover::OnLeftButtonUp ( )
virtual

Overridden from vtkInteractorStyleImage to provide the desired interaction behavior.

Reimplemented from vtkInteractorStyleImage.

void vtkInteractorStyleTreeMapHover::HighLightItem ( vtkIdType  id)

Highlights a specific vertex.

void vtkInteractorStyleTreeMapHover::HighLightCurrentSelectedItem ( )

Highlights a specific vertex.

virtual void vtkInteractorStyleTreeMapHover::SetInteractor ( vtkRenderWindowInteractor *  rwi)
virtual
void vtkInteractorStyleTreeMapHover::SetHighLightColor ( double  r,
double  g,
double  b 
)

Set the color used to highlight the hovered vertex.

void vtkInteractorStyleTreeMapHover::SetSelectionLightColor ( double  r,
double  g,
double  b 
)

Set the color used to highlight the selected vertex.

void vtkInteractorStyleTreeMapHover::SetHighLightWidth ( double  lw)

The width of the line around the hovered vertex.

double vtkInteractorStyleTreeMapHover::GetHighLightWidth ( )

The width of the line around the hovered vertex.

void vtkInteractorStyleTreeMapHover::SetSelectionWidth ( double  lw)

The width of the line around the selected vertex.

double vtkInteractorStyleTreeMapHover::GetSelectionWidth ( )

The width of the line around the selected vertex.


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