VTK
|
takes care of drawing 2D axes More...
#include <vtkTooltipItem.h>
takes care of drawing 2D axes
The vtkTooltipItem is drawn in screen coordinates. It is used to display a tooltip on a scene, giving additional information about an element on the scene, such as in vtkChartXY. It takes care of ensuring that it draws itself within the bounds of the screen.
Definition at line 38 of file vtkTooltipItem.h.
Reimplemented from vtkContextItem.
Definition at line 41 of file vtkTooltipItem.h.
vtkTooltipItem::vtkTooltipItem | ( | ) | [protected] |
vtkTooltipItem::~vtkTooltipItem | ( | ) | [protected] |
static int vtkTooltipItem::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 vtkContextItem.
virtual int vtkTooltipItem::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 vtkContextItem.
static vtkTooltipItem* vtkTooltipItem::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkContextItem.
virtual vtkObjectBase* vtkTooltipItem::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkContextItem.
vtkTooltipItem* vtkTooltipItem::NewInstance | ( | ) | const |
Reimplemented from vtkContextItem.
virtual void vtkTooltipItem::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 vtkContextItem.
static vtkTooltipItem* vtkTooltipItem::New | ( | ) | [static] |
Creates a 2D Chart object.
Reimplemented from vtkObject.
virtual void vtkTooltipItem::SetPosition | ( | float | , |
float | |||
) | [virtual] |
Set the position of the tooltip (in pixels).
void vtkTooltipItem::SetPosition | ( | float | [2] | ) |
Set the position of the tooltip (in pixels).
void vtkTooltipItem::SetPosition | ( | const vtkVector2f & | pos | ) |
Set the position of the tooltip (in pixels).
virtual float* vtkTooltipItem::GetPosition | ( | ) | [virtual] |
Get position of the axis (in pixels).
virtual void vtkTooltipItem::GetPosition | ( | float & | , |
float & | |||
) | [virtual] |
Get position of the axis (in pixels).
virtual void vtkTooltipItem::GetPosition | ( | float | [2] | ) | [virtual] |
Get position of the axis (in pixels).
Get position of the axis (in pixels).
virtual void vtkTooltipItem::SetText | ( | const vtkStdString & | title | ) | [virtual] |
Get/set the text of the item.
virtual vtkStdString vtkTooltipItem::GetText | ( | ) | [virtual] |
Get/set the text of the item.
virtual vtkPen* vtkTooltipItem::GetPen | ( | ) | [virtual] |
Get a pointer to the vtkTextProperty object that controls the way the text is rendered.
virtual vtkBrush* vtkTooltipItem::GetBrush | ( | ) | [virtual] |
Get a pointer to the vtkPen object.
virtual vtkTextProperty* vtkTooltipItem::GetTextProperties | ( | ) | [virtual] |
Get the vtkTextProperty that governs how the tooltip text is displayed.
virtual void vtkTooltipItem::Update | ( | ) | [virtual] |
Update the geometry of the tooltip.
Reimplemented from vtkAbstractContextItem.
virtual bool vtkTooltipItem::Paint | ( | vtkContext2D * | painter | ) | [virtual] |
Paint event for the tooltip.
Reimplemented from vtkAbstractContextItem.
vtkVector2f vtkTooltipItem::PositionVector [protected] |
Definition at line 93 of file vtkTooltipItem.h.
float* vtkTooltipItem::Position [protected] |
Definition at line 94 of file vtkTooltipItem.h.
vtkStdString vtkTooltipItem::Text [protected] |
Definition at line 95 of file vtkTooltipItem.h.
vtkTextProperty* vtkTooltipItem::TextProperties [protected] |
Definition at line 96 of file vtkTooltipItem.h.
vtkPen* vtkTooltipItem::Pen [protected] |
Definition at line 97 of file vtkTooltipItem.h.
vtkBrush* vtkTooltipItem::Brush [protected] |
Definition at line 98 of file vtkTooltipItem.h.