VTK
|
represent text for vtkTextWidget More...
#include <vtkTextRepresentation.h>
represent text for vtkTextWidget
This class represents text for a vtkTextWidget. This class provides support for interactively placing text on the 2D overlay plane. The text is defined by an instance of vtkTextActor.
Definition at line 40 of file vtkTextRepresentation.h.
Standard VTK methods.
Reimplemented from vtkBorderRepresentation.
Definition at line 48 of file vtkTextRepresentation.h.
anonymous enum |
AnyLocation | |
LowerLeftCorner | |
LowerRightCorner | |
LowerCenter | |
UpperLeftCorner | |
UpperRightCorner | |
UpperCenter |
Definition at line 84 of file vtkTextRepresentation.h.
vtkTextRepresentation::vtkTextRepresentation | ( | ) | [protected] |
vtkTextRepresentation::~vtkTextRepresentation | ( | ) | [protected] |
static vtkTextRepresentation* vtkTextRepresentation::New | ( | ) | [static] |
Instantiate class.
Reimplemented from vtkBorderRepresentation.
static int vtkTextRepresentation::IsTypeOf | ( | const char * | type | ) | [static] |
Standard VTK methods.
Reimplemented from vtkBorderRepresentation.
virtual int vtkTextRepresentation::IsA | ( | const char * | type | ) | [virtual] |
Standard VTK methods.
Reimplemented from vtkBorderRepresentation.
static vtkTextRepresentation* vtkTextRepresentation::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Standard VTK methods.
Reimplemented from vtkBorderRepresentation.
virtual vtkObjectBase* vtkTextRepresentation::NewInstanceInternal | ( | ) | const [protected, virtual] |
Standard VTK methods.
Reimplemented from vtkBorderRepresentation.
Standard VTK methods.
Reimplemented from vtkBorderRepresentation.
void vtkTextRepresentation::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Standard VTK methods.
Reimplemented from vtkBorderRepresentation.
void vtkTextRepresentation::SetTextActor | ( | vtkTextActor * | textActor | ) |
Specify the vtkTextActor to manage. If not specified, then one is automatically created.
virtual vtkTextActor* vtkTextRepresentation::GetTextActor | ( | ) | [virtual] |
Specify the vtkTextActor to manage. If not specified, then one is automatically created.
void vtkTextRepresentation::SetText | ( | const char * | text | ) |
Get/Set the text string display by this representation.
const char* vtkTextRepresentation::GetText | ( | ) |
Get/Set the text string display by this representation.
virtual void vtkTextRepresentation::BuildRepresentation | ( | ) | [virtual] |
Satisfy the superclasses API.
Reimplemented from vtkBorderRepresentation.
virtual void vtkTextRepresentation::GetSize | ( | double | size[2] | ) | [inline, virtual] |
Satisfy the superclasses API.
Reimplemented from vtkBorderRepresentation.
Definition at line 68 of file vtkTextRepresentation.h.
virtual void vtkTextRepresentation::GetActors2D | ( | vtkPropCollection * | ) | [virtual] |
These methods are necessary to make this representation behave as a vtkProp.
Reimplemented from vtkBorderRepresentation.
virtual void vtkTextRepresentation::ReleaseGraphicsResources | ( | vtkWindow * | ) | [virtual] |
These methods are necessary to make this representation behave as a vtkProp.
Reimplemented from vtkBorderRepresentation.
virtual int vtkTextRepresentation::RenderOverlay | ( | vtkViewport * | ) | [virtual] |
These methods are necessary to make this representation behave as a vtkProp.
Reimplemented from vtkBorderRepresentation.
virtual int vtkTextRepresentation::RenderOpaqueGeometry | ( | vtkViewport * | ) | [virtual] |
These methods are necessary to make this representation behave as a vtkProp.
Reimplemented from vtkBorderRepresentation.
virtual int vtkTextRepresentation::RenderTranslucentPolygonalGeometry | ( | vtkViewport * | ) | [virtual] |
These methods are necessary to make this representation behave as a vtkProp.
Reimplemented from vtkBorderRepresentation.
virtual int vtkTextRepresentation::HasTranslucentPolygonalGeometry | ( | ) | [virtual] |
These methods are necessary to make this representation behave as a vtkProp.
Reimplemented from vtkBorderRepresentation.
virtual void vtkTextRepresentation::SetWindowLocation | ( | int | enumLocation | ) | [virtual] |
Set the text position, by enumeration ( AnyLocation = 0, LowerLeftCorner, LowerRightCorner, LowerCenter, UpperLeftCorner, UpperRightCorner, UpperCenter) related to the render window
virtual int vtkTextRepresentation::GetWindowLocation | ( | ) | [virtual] |
Set the text position, by enumeration ( AnyLocation = 0, LowerLeftCorner, LowerRightCorner, LowerCenter, UpperLeftCorner, UpperRightCorner, UpperCenter) related to the render window
virtual void vtkTextRepresentation::SetPosition | ( | double | x, |
double | y | ||
) | [virtual] |
Set the text position, by overiding the same function of vtkBorderRepresentation so that the Modified() will be called.
virtual void vtkTextRepresentation::SetPosition | ( | double | pos[2] | ) | [inline, virtual] |
Set the text position, by overiding the same function of vtkBorderRepresentation so that the Modified() will be called.
Definition at line 108 of file vtkTextRepresentation.h.
void vtkTextRepresentation::ExecuteTextPropertyModifiedEvent | ( | vtkObject * | obj, |
unsigned long | enumEvent, | ||
void * | p | ||
) |
Internal. Execute events observed by internal observer
void vtkTextRepresentation::ExecuteTextActorModifiedEvent | ( | vtkObject * | obj, |
unsigned long | enumEvent, | ||
void * | p | ||
) |
Internal. Execute events observed by internal observer
virtual void vtkTextRepresentation::InitializeTextActor | ( | ) | [protected, virtual] |
virtual void vtkTextRepresentation::CheckTextBoundary | ( | ) | [protected, virtual] |
virtual void vtkTextRepresentation::UpdateWindowLocation | ( | ) | [protected, virtual] |
vtkTextActor* vtkTextRepresentation::TextActor [protected] |
Definition at line 129 of file vtkTextRepresentation.h.
vtkTextProperty* vtkTextRepresentation::TextProperty [protected] |
Definition at line 130 of file vtkTextRepresentation.h.
int vtkTextRepresentation::WindowLocation [protected] |
Definition at line 133 of file vtkTextRepresentation.h.
vtkTextRepresentationObserver* vtkTextRepresentation::Observer [protected] |
Definition at line 137 of file vtkTextRepresentation.h.