VTK
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 Types inherited from vtkInteractorStyle
typedef vtkInteractorObserver Superclass
 
- Public Types inherited from vtkInteractorObserver
typedef vtkObject Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
vtkInteractorStyleTreeMapHoverNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses. More...
 
void SetLayout (vtkTreeMapLayout *layout)
 Must be set to the vtkTreeMapLayout used to compute the bounds of each vertex for the tree map. More...
 
virtual vtkTreeMapLayoutGetLayout ()
 
void SetTreeMapToPolyData (vtkTreeMapToPolyData *filter)
 Must be set to the vtkTreeMapToPolyData used to convert the tree map into polydata. More...
 
virtual vtkTreeMapToPolyDataGetTreeMapToPolyData ()
 
virtual void SetLabelField (const char *)
 The name of the field to use when displaying text in the hover balloon. More...
 
virtual char * GetLabelField ()
 
void OnMouseMove ()
 Overridden from vtkInteractorStyleImage to provide the desired interaction behavior. More...
 
void OnLeftButtonUp ()
 
void HighLightItem (vtkIdType id)
 Highlights a specific vertex. More...
 
void HighLightCurrentSelectedItem ()
 
virtual void SetInteractor (vtkRenderWindowInteractor *rwi)
 Set/Get the Interactor wrapper being controlled by this object. More...
 
void SetHighLightColor (double r, double g, double b)
 Set the color used to highlight the hovered vertex. More...
 
void SetSelectionLightColor (double r, double g, double b)
 Set the color used to highlight the selected vertex. More...
 
void SetHighLightWidth (double lw)
 The width of the line around the hovered vertex. More...
 
double GetHighLightWidth ()
 
void SetSelectionWidth (double lw)
 The width of the line around the selected vertex. More...
 
double GetSelectionWidth ()
 
- Public Member Functions inherited from vtkInteractorStyleImage
virtual int IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
vtkInteractorStyleImageNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses. More...
 
virtual intGetWindowLevelStartPosition ()
 Some useful information for handling window level. More...
 
virtual void GetWindowLevelStartPosition (int &, int &)
 
virtual void GetWindowLevelStartPosition (int[2])
 
virtual intGetWindowLevelCurrentPosition ()
 
virtual void GetWindowLevelCurrentPosition (int &, int &)
 
virtual void GetWindowLevelCurrentPosition (int[2])
 
virtual void OnMouseMove ()
 Event bindings controlling the effects of pressing mouse buttons or moving the mouse. More...
 
virtual void OnLeftButtonDown ()
 
virtual void OnLeftButtonUp ()
 
virtual void OnMiddleButtonDown ()
 
virtual void OnMiddleButtonUp ()
 
virtual void OnRightButtonDown ()
 
virtual void OnRightButtonUp ()
 
virtual void OnChar ()
 Override the "fly-to" (f keypress) for images. More...
 
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 void SetInteractionMode (int)
 Set/Get current mode to 2D or 3D. More...
 
virtual int GetInteractionMode ()
 
void SetInteractionModeToImage2D ()
 
void SetInteractionModeToImage3D ()
 
void SetInteractionModeToImageSlicing ()
 
virtual void SetXViewRightVector (double, double, double)
 Set the orientations that will be used when the X, Y, or Z keys are pressed. More...
 
virtual void SetXViewRightVector (double[3])
 
virtual doubleGetXViewRightVector ()
 
virtual void GetXViewRightVector (double &, double &, double &)
 
virtual void GetXViewRightVector (double[3])
 
virtual void SetXViewUpVector (double, double, double)
 
virtual void SetXViewUpVector (double[3])
 
virtual doubleGetXViewUpVector ()
 
virtual void GetXViewUpVector (double &, double &, double &)
 
virtual void GetXViewUpVector (double[3])
 
virtual void SetYViewRightVector (double, double, double)
 
virtual void SetYViewRightVector (double[3])
 
virtual doubleGetYViewRightVector ()
 
virtual void GetYViewRightVector (double &, double &, double &)
 
virtual void GetYViewRightVector (double[3])
 
virtual void SetYViewUpVector (double, double, double)
 
virtual void SetYViewUpVector (double[3])
 
virtual doubleGetYViewUpVector ()
 
virtual void GetYViewUpVector (double &, double &, double &)
 
virtual void GetYViewUpVector (double[3])
 
virtual void SetZViewRightVector (double, double, double)
 
virtual void SetZViewRightVector (double[3])
 
virtual doubleGetZViewRightVector ()
 
virtual void GetZViewRightVector (double &, double &, double &)
 
virtual void GetZViewRightVector (double[3])
 
virtual void SetZViewUpVector (double, double, double)
 
virtual void SetZViewUpVector (double[3])
 
virtual doubleGetZViewUpVector ()
 
virtual void GetZViewUpVector (double &, double &, double &)
 
virtual void GetZViewUpVector (double[3])
 
void SetImageOrientation (const double leftToRight[3], const double bottomToTop[3])
 Set the view orientation, in terms of the horizontal and vertical directions of the computer screen. More...
 
virtual void SetCurrentImageNumber (int i)
 Set the image to use for WindowLevel interaction. More...
 
int GetCurrentImageNumber ()
 
vtkImagePropertyGetCurrentImageProperty ()
 Get the current image property, which is set when StartWindowLevel is called immediately before StartWindowLevelEvent is generated. More...
 
- Public Member Functions inherited from vtkInteractorStyleTrackballCamera
virtual int IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
vtkInteractorStyleTrackballCameraNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses. More...
 
virtual void OnMouseMove ()
 Event bindings controlling the effects of pressing mouse buttons or moving the mouse. More...
 
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 Rotate ()
 These methods for the different interactions in different modes are overridden in subclasses to perform the correct motion. More...
 
virtual void Spin ()
 
virtual void Pan ()
 
virtual void Dolly ()
 
virtual void SetMotionFactor (double)
 Set the apparent sensitivity of the interactor style to mouse motion. More...
 
virtual double GetMotionFactor ()
 
- Public Member Functions inherited from vtkInteractorStyle
virtual int IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
vtkInteractorStyleNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses. More...
 
virtual void SetInteractor (vtkRenderWindowInteractor *interactor)
 Set/Get the Interactor wrapper being controlled by this object. More...
 
virtual void SetEnabled (int)
 Turn on/off this interactor. More...
 
virtual void SetAutoAdjustCameraClippingRange (int)
 If AutoAdjustCameraClippingRange is on, then before each render the camera clipping range will be adjusted to "fit" the whole scene. More...
 
virtual int GetAutoAdjustCameraClippingRange ()
 
virtual void AutoAdjustCameraClippingRangeOn ()
 
virtual void AutoAdjustCameraClippingRangeOff ()
 
void FindPokedRenderer (int, int)
 When an event occurs, we must determine which Renderer the event occurred within, since one RenderWindow may contain multiple renderers. More...
 
virtual int GetState ()
 Some useful information for interaction. More...
 
virtual int GetUseTimers ()
 Set/Get timer hint. More...
 
virtual void SetUseTimers (int)
 
virtual void UseTimersOn ()
 
virtual void UseTimersOff ()
 
virtual void SetTimerDuration (unsigned long)
 If using timers, specify the default timer interval (in milliseconds). More...
 
virtual unsigned long GetTimerDuration ()
 
virtual void SetHandleObservers (int)
 Does ProcessEvents handle observers on this class or not. More...
 
virtual int GetHandleObservers ()
 
virtual void HandleObserversOn ()
 
virtual void HandleObserversOff ()
 
virtual void OnMouseMove ()
 Generic event bindings can be overridden in subclasses. More...
 
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 OnChar ()
 OnChar is triggered when an ASCII key is pressed. More...
 
virtual void OnKeyDown ()
 
virtual void OnKeyUp ()
 
virtual void OnKeyPress ()
 
virtual void OnKeyRelease ()
 
virtual void OnExpose ()
 These are more esoteric events, but are useful in some cases. More...
 
virtual void OnConfigure ()
 
virtual void OnEnter ()
 
virtual void OnLeave ()
 
virtual void OnTimer ()
 OnTimer calls Rotate, Rotate etc which should be overridden by style subclasses. More...
 
virtual void Rotate ()
 These methods for the different interactions in different modes are overridden in subclasses to perform the correct motion. More...
 
virtual void Spin ()
 
virtual void Pan ()
 
virtual void Dolly ()
 
virtual void Zoom ()
 
virtual void UniformScale ()
 
virtual void OnPinch ()
 gesture based events More...
 
virtual void OnRotate ()
 
virtual void OnPan ()
 
virtual void OnTap ()
 
virtual void OnLongTap ()
 
virtual void OnSwipe ()
 
virtual void StartState (int newstate)
 utility routines used by state changes More...
 
virtual void StopState ()
 
virtual void StartAnimate ()
 Interaction mode entry points used internally. More...
 
virtual void StopAnimate ()
 
virtual void StartRotate ()
 
virtual void EndRotate ()
 
virtual void StartZoom ()
 
virtual void EndZoom ()
 
virtual void StartPan ()
 
virtual void EndPan ()
 
virtual void StartSpin ()
 
virtual void EndSpin ()
 
virtual void StartDolly ()
 
virtual void EndDolly ()
 
virtual void StartUniformScale ()
 
virtual void EndUniformScale ()
 
virtual void StartTimer ()
 
virtual void EndTimer ()
 
virtual void StartTwoPointer ()
 
virtual void EndTwoPointer ()
 
virtual void HighlightProp (vtkProp *prop)
 When picking successfully selects an actor, this method highlights the picked prop appropriately. More...
 
virtual void HighlightActor2D (vtkActor2D *actor2D)
 
virtual void HighlightProp3D (vtkProp3D *prop3D)
 
virtual void SetPickColor (double, double, double)
 Set/Get the pick color (used by default to color vtkActor2D's). More...
 
virtual void SetPickColor (double[3])
 
virtual doubleGetPickColor ()
 
virtual void GetPickColor (double data[3])
 
virtual void SetMouseWheelMotionFactor (double)
 Set/Get the mouse wheel motion factor. More...
 
virtual double GetMouseWheelMotionFactor ()
 
virtual vtkTDxInteractorStyleGetTDxStyle ()
 3Dconnexion device interactor style. More...
 
virtual void SetTDxStyle (vtkTDxInteractorStyle *tdxStyle)
 
void DelegateTDxEvent (unsigned long event, void *calldata)
 Called by the callback to process 3DConnexion device events. More...
 
- Public Member Functions inherited from vtkInteractorObserver
virtual int IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
vtkInteractorObserverNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses. More...
 
virtual void SetEnabled (int)
 Methods for turning the interactor observer on and off, and determining its state. More...
 
int GetEnabled ()
 
void EnabledOn ()
 
void EnabledOff ()
 
void On ()
 
void Off ()
 
virtual void SetInteractor (vtkRenderWindowInteractor *iren)
 This method is used to associate the widget with the render window interactor. More...
 
virtual vtkRenderWindowInteractorGetInteractor ()
 
virtual void SetPriority (float)
 Set/Get the priority at which events are processed. More...
 
virtual float GetPriority ()
 
virtual void PickingManagedOn ()
 Enable/Disable the use of a manager to process the picking. More...
 
virtual void PickingManagedOff ()
 
virtual void SetPickingManaged (bool)
 
virtual bool GetPickingManaged ()
 
virtual void SetKeyPressActivation (int)
 Enable/Disable of the use of a keypress to turn on and off the interactor observer. More...
 
virtual int GetKeyPressActivation ()
 
virtual void KeyPressActivationOn ()
 
virtual void KeyPressActivationOff ()
 
virtual void SetKeyPressActivationValue (char)
 Specify which key press value to use to activate the interactor observer (if key press activation is enabled). More...
 
virtual char GetKeyPressActivationValue ()
 
virtual vtkRendererGetDefaultRenderer ()
 Set/Get the default renderer to use when activating the interactor observer. More...
 
virtual void SetDefaultRenderer (vtkRenderer *)
 
virtual vtkRendererGetCurrentRenderer ()
 Set/Get the current renderer. More...
 
virtual void SetCurrentRenderer (vtkRenderer *)
 
virtual void OnChar ()
 Sets up the keypress-i event. More...
 
void GrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 These methods enable an interactor observer to exclusively grab all events invoked by its associated vtkRenderWindowInteractor. More...
 
void ReleaseFocus ()
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 Turn debugging output on. More...
 
virtual void DebugOff ()
 Turn debugging output off. More...
 
bool GetDebug ()
 Get the value of the debug flag. More...
 
void SetDebug (bool debugFlag)
 Set the value of the debug flag. More...
 
virtual void Modified ()
 Update the modification time for this object. More...
 
virtual vtkMTimeType GetMTime ()
 Return this object's modified time. More...
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses. More...
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More...
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 Allow user to set the AbortFlagOn() with the return value of the callback method. More...
 
int InvokeEvent (unsigned long event, void *callData)
 This method invokes an event and return whether the event was aborted or not. More...
 
int InvokeEvent (const char *event, void *callData)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 Return the class name as a string. More...
 
virtual vtkTypeBool IsA (const char *name)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
virtual void Delete ()
 Delete a VTK object. More...
 
virtual void FastDelete ()
 Delete a reference to this object. More...
 
void InitializeObjectBase ()
 
void Print (ostream &os)
 Print an object to an ostream. More...
 
virtual void PrintSelf (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses. More...
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
virtual void Register (vtkObjectBase *o)
 Increase the reference count (mark as used by another object). More...
 
virtual void UnRegister (vtkObjectBase *o)
 Decrease the reference count (release by another object). More...
 
int GetReferenceCount ()
 Return the current reference count of this object. More...
 
void SetReferenceCount (int)
 Sets the reference count. More...
 
void PrintRevisions (ostream &)
 Legacy. More...
 

Static Public Member Functions

static vtkInteractorStyleTreeMapHoverNew ()
 
static int IsTypeOf (const char *type)
 
static vtkInteractorStyleTreeMapHoverSafeDownCast (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 vtkInteractorStyleTrackballCameraNew ()
 
static int IsTypeOf (const char *type)
 
static vtkInteractorStyleTrackballCameraSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkInteractorStyle
static vtkInteractorStyleNew ()
 This class must be supplied with a vtkRenderWindowInteractor wrapper or parent. More...
 
static int IsTypeOf (const char *type)
 
static vtkInteractorStyleSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkInteractorObserver
static int IsTypeOf (const char *type)
 
static vtkInteractorObserverSafeDownCast (vtkObjectBase *o)
 
static void ComputeDisplayToWorld (vtkRenderer *ren, double x, double y, double z, double worldPt[4])
 Convenience methods for outside classes. More...
 
static void ComputeWorldToDisplay (vtkRenderer *ren, double x, double y, double z, double displayPt[3])
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 
static void BreakOnError ()
 This method is called when vtkErrorMacro executes. More...
 
static void SetGlobalWarningDisplay (int val)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 Return 1 if this class type is the same type of (or a subclass of) the named class. More...
 
static vtkObjectBaseNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkInteractorStyleTreeMapHover ()
 
 ~vtkInteractorStyleTreeMapHover ()
 
- Protected Member Functions inherited from vtkInteractorStyleImage
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkInteractorStyleImage ()
 
 ~vtkInteractorStyleImage ()
 
- Protected Member Functions inherited from vtkInteractorStyleTrackballCamera
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkInteractorStyleTrackballCamera ()
 
 ~vtkInteractorStyleTrackballCamera ()
 
virtual void Dolly (double factor)
 
- Protected Member Functions inherited from vtkInteractorStyle
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkInteractorStyle ()
 
 ~vtkInteractorStyle ()
 
- Protected Member Functions inherited from vtkInteractorObserver
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkInteractorObserver ()
 
 ~vtkInteractorObserver ()
 
virtual void StartInteraction ()
 Utility routines used to start and end interaction. More...
 
virtual void EndInteraction ()
 
void ComputeDisplayToWorld (double x, double y, double z, double worldPt[4])
 Helper method for subclasses. More...
 
void ComputeWorldToDisplay (double x, double y, double z, double displayPt[3])
 
virtual void RegisterPickers ()
 Register internal Pickers in the Picking Manager. More...
 
void UnRegisterPickers ()
 Unregister internal pickers from the Picking Manager. More...
 
virtual void PickersModified ()
 Update the pickers registered in the Picking Manager when pickers are modified. More...
 
vtkPickingManagerGetPickingManager ()
 Return the picking manager associated on the context on which the observer currently belong. More...
 
vtkAssemblyPathGetAssemblyPath (double X, double Y, double Z, vtkAbstractPropPicker *picker)
 Proceed to a pick, whether through the PickingManager if the picking is managed or directly using the picker, and return the assembly path. More...
 
int RequestCursorShape (int requestedShape)
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
 ~vtkObject () override
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) override
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) override
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 These methods allow a command to exclusively grab all events. More...
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void RegisterInternal (vtkObjectBase *, vtkTypeBool check)
 
virtual void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Additional Inherited Members

- Static Protected Member Functions inherited from vtkInteractorStyle
static void ProcessEvents (vtkObject *object, unsigned long event, void *clientdata, void *calldata)
 Main process event method. More...
 
- Static Protected Member Functions inherited from vtkInteractorObserver
static void ProcessEvents (vtkObject *object, unsigned long event, void *clientdata, void *calldata)
 Handles the char widget activation event. More...
 
- Protected Attributes inherited from vtkInteractorStyleImage
int WindowLevelStartPosition [2]
 
int WindowLevelCurrentPosition [2]
 
double WindowLevelInitial [2]
 
vtkImagePropertyCurrentImageProperty
 
int CurrentImageNumber
 
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
 
- Protected Attributes inherited from vtkInteractorStyle
int State
 
int AnimState
 
int HandleObservers
 
int UseTimers
 
int TimerId
 
int AutoAdjustCameraClippingRange
 
vtkOutlineSourceOutline
 
vtkPolyDataMapperOutlineMapper
 
vtkActorOutlineActor
 
vtkRendererPickedRenderer
 
vtkPropCurrentProp
 
vtkActor2DPickedActor2D
 
int PropPicked
 
double PickColor [3]
 
double MouseWheelMotionFactor
 
unsigned long TimerDuration
 
vtkEventForwarderCommandEventForwarder
 
vtkTDxInteractorStyleTDxStyle
 
- Protected Attributes inherited from vtkInteractorObserver
int Enabled
 
vtkCallbackCommandEventCallbackCommand
 
vtkCallbackCommandKeyPressCallbackCommand
 
float Priority
 
bool PickingManaged
 
int KeyPressActivation
 
char KeyPressActivationValue
 
vtkRenderWindowInteractorInteractor
 
vtkRendererCurrentRenderer
 
vtkRendererDefaultRenderer
 
unsigned long CharObserverTag
 
unsigned long DeleteObserverTag
 
vtkObserverMediatorObserverMediator
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

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.

Tests:
vtkInteractorStyleTreeMapHover (Tests)

Definition at line 51 of file vtkInteractorStyleTreeMapHover.h.

Member Typedef Documentation

◆ Superclass

Definition at line 55 of file vtkInteractorStyleTreeMapHover.h.

Constructor & Destructor Documentation

◆ vtkInteractorStyleTreeMapHover()

vtkInteractorStyleTreeMapHover::vtkInteractorStyleTreeMapHover ( )
protected

◆ ~vtkInteractorStyleTreeMapHover()

vtkInteractorStyleTreeMapHover::~vtkInteractorStyleTreeMapHover ( )
protected

Member Function Documentation

◆ New()

static vtkInteractorStyleTreeMapHover * vtkInteractorStyleTreeMapHover::New ( )
static

◆ IsTypeOf()

static int vtkInteractorStyleTreeMapHover::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkInteractorStyleTreeMapHover::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 vtkInteractorStyleImage.

◆ SafeDownCast()

static vtkInteractorStyleTreeMapHover * vtkInteractorStyleTreeMapHover::SafeDownCast ( vtkObjectBase o)
static

◆ NewInstanceInternal()

virtual vtkObjectBase * vtkInteractorStyleTreeMapHover::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkInteractorStyleImage.

◆ NewInstance()

vtkInteractorStyleTreeMapHover * vtkInteractorStyleTreeMapHover::NewInstance ( ) const

◆ PrintSelf()

void vtkInteractorStyleTreeMapHover::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 vtkInteractorStyleImage.

◆ SetLayout()

void vtkInteractorStyleTreeMapHover::SetLayout ( vtkTreeMapLayout layout)

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

◆ GetLayout()

virtual vtkTreeMapLayout * vtkInteractorStyleTreeMapHover::GetLayout ( )
virtual

◆ SetTreeMapToPolyData()

void vtkInteractorStyleTreeMapHover::SetTreeMapToPolyData ( vtkTreeMapToPolyData filter)

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

◆ GetTreeMapToPolyData()

virtual vtkTreeMapToPolyData * vtkInteractorStyleTreeMapHover::GetTreeMapToPolyData ( )
virtual

◆ SetLabelField()

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

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

◆ GetLabelField()

virtual char * vtkInteractorStyleTreeMapHover::GetLabelField ( )
virtual

◆ OnMouseMove()

void vtkInteractorStyleTreeMapHover::OnMouseMove ( )
virtual

Overridden from vtkInteractorStyleImage to provide the desired interaction behavior.

Reimplemented from vtkInteractorStyleImage.

◆ OnLeftButtonUp()

void vtkInteractorStyleTreeMapHover::OnLeftButtonUp ( )
virtual

Reimplemented from vtkInteractorStyleImage.

◆ HighLightItem()

void vtkInteractorStyleTreeMapHover::HighLightItem ( vtkIdType  id)

Highlights a specific vertex.

◆ HighLightCurrentSelectedItem()

void vtkInteractorStyleTreeMapHover::HighLightCurrentSelectedItem ( )

◆ SetInteractor()

virtual void vtkInteractorStyleTreeMapHover::SetInteractor ( vtkRenderWindowInteractor interactor)
virtual

Set/Get the Interactor wrapper being controlled by this object.

(Satisfy superclass API.)

Reimplemented from vtkInteractorStyle.

◆ SetHighLightColor()

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

Set the color used to highlight the hovered vertex.

◆ SetSelectionLightColor()

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

Set the color used to highlight the selected vertex.

◆ SetHighLightWidth()

void vtkInteractorStyleTreeMapHover::SetHighLightWidth ( double  lw)

The width of the line around the hovered vertex.

◆ GetHighLightWidth()

double vtkInteractorStyleTreeMapHover::GetHighLightWidth ( )

◆ SetSelectionWidth()

void vtkInteractorStyleTreeMapHover::SetSelectionWidth ( double  lw)

The width of the line around the selected vertex.

◆ GetSelectionWidth()

double vtkInteractorStyleTreeMapHover::GetSelectionWidth ( )

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