#include <albaTextKit.h>
albaTextKit is tool to visualize text into a given albaRWI.
- See also
- albaRWI
Definition at line 43 of file albaTextKit.h.
◆ TEXT_KIT_ALIGN_MODALITY
Enumerator |
---|
UPPER_LEFT | |
UPPER_CENTER | |
UPPER_RIGHT | |
CENTER_LEFT | |
CENTER_CENTER | |
CENTER_RIGHT | |
LOWER_LEFT | |
LOWER_CENTER | |
LOWER_RIGHT | |
Definition at line 52 of file albaTextKit.h.
◆ albaTextKit()
albaTextKit::albaTextKit |
( |
wxWindow * |
parent, |
|
|
vtkRenderer * |
renderer, |
|
|
albaObserver * |
Listener = NULL |
|
) |
| |
◆ ~albaTextKit()
albaTextKit::~albaTextKit |
( |
| ) |
|
◆ OnEvent()
process the events sent by subjects
Implements albaObserver.
◆ SetListener()
◆ SetText()
void albaTextKit::SetText |
( |
const char * |
text | ) |
|
Insert a text into the render window.
◆ SetTextPosition()
void albaTextKit::SetTextPosition |
( |
double |
nv_x, |
|
|
double |
nv_y |
|
) |
| |
Position the text into the render window at normalized view's position x,y.
(0,0) is the lower left corner.
◆ SetTextColor() [1/2]
void albaTextKit::SetTextColor |
( |
int |
textColor[3] | ) |
|
Allow to change the text color.
Values passed are from 0 (black) to 255 (white).
◆ SetTextColor() [2/2]
void albaTextKit::SetTextColor |
( |
int |
textColorRed, |
|
|
int |
textColorGreen, |
|
|
int |
textColorBlue |
|
) |
| |
◆ SetTextSize()
void albaTextKit::SetTextSize |
( |
int |
size | ) |
|
Allow to change the font size.
◆ SetTextAlignment()
void albaTextKit::SetTextAlignment |
( |
int |
align = UPPER_LEFT | ) |
|
Align text into the render window.
◆ GetGui()
◆ CreateGui()
void albaTextKit::CreateGui |
( |
| ) |
|
|
protected |
Create GUI for AttachCamera module.
◆ m_ShowText
int albaTextKit::m_ShowText |
|
protected |
◆ m_TextAlign
int albaTextKit::m_TextAlign |
|
protected |
◆ m_TextSize
int albaTextKit::m_TextSize |
|
protected |
◆ m_TextPosition
double albaTextKit::m_TextPosition[2] |
|
protected |
Position of the text in normalized view coordinate system. (0,0) is the lower left corner.
Definition at line 91 of file albaTextKit.h.
◆ m_TextInView
Text visualized inside the view.
Definition at line 92 of file albaTextKit.h.
◆ m_TextOffset
double albaTextKit::m_TextOffset |
|
protected |
Offset in positioning the text.
Definition at line 93 of file albaTextKit.h.
◆ m_TextColor
wxColor albaTextKit::m_TextColor |
|
protected |
◆ m_TextMapper
vtkTextMapper* albaTextKit::m_TextMapper |
|
protected |
◆ m_TextActor
vtkActor2D* albaTextKit::m_TextActor |
|
protected |
◆ m_Listener
◆ m_Gui
◆ m_TextRenderer
vtkRenderer* albaTextKit::m_TextRenderer |
|
protected |
◆ m_ParentPanel
wxWindow* albaTextKit::m_ParentPanel |
|
protected |
The documentation for this class was generated from the following file: