An interactor style for an area tree view.
More...
#include <vtkInteractorStyleAreaSelectHover.h>
Inherits vtkInteractorStyleRubberBand2D.
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.
vtkInteractorStyleAreaSelectHover::vtkInteractorStyleAreaSelectHover |
( |
| ) |
|
|
protected |
vtkInteractorStyleAreaSelectHover::~vtkInteractorStyleAreaSelectHover |
( |
| ) |
|
|
protected |
static int vtkInteractorStyleAreaSelectHover::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkInteractorStyleAreaSelectHover::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkInteractorStyleAreaSelectHover::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
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 vtkAreaLayout* vtkInteractorStyleAreaSelectHover::GetLayout |
( |
| ) |
|
|
virtual |
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.
virtual char* vtkInteractorStyleAreaSelectHover::GetLabelField |
( |
| ) |
|
|
virtual |
The name of the field to use when displaying text in the hover balloon.
virtual void vtkInteractorStyleAreaSelectHover::SetUseRectangularCoordinates |
( |
bool |
| ) |
|
|
virtual |
Determine whether or not to use rectangular coordinates instead of polar coordinates.
virtual bool vtkInteractorStyleAreaSelectHover::GetUseRectangularCoordinates |
( |
| ) |
|
|
virtual |
Determine whether or not to use rectangular coordinates instead of polar coordinates.
virtual void vtkInteractorStyleAreaSelectHover::UseRectangularCoordinatesOn |
( |
| ) |
|
|
virtual |
Determine whether or not to use rectangular coordinates instead of polar coordinates.
virtual void vtkInteractorStyleAreaSelectHover::UseRectangularCoordinatesOff |
( |
| ) |
|
|
virtual |
Determine whether or not to use rectangular coordinates instead of polar coordinates.
void vtkInteractorStyleAreaSelectHover::OnMouseMove |
( |
| ) |
|
Overridden from vtkInteractorStyleImage to provide the desired interaction behavior.
virtual void vtkInteractorStyleAreaSelectHover::SetInteractor |
( |
vtkRenderWindowInteractor * |
rwi | ) |
|
|
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.
The documentation for this class was generated from the following file: