albaTextKit is tool to visualize text into a given albaRWI.
albaString m_TextInView
Text visualized inside the view.
void SetTextColor(int textColor[3])
Allow to change the text color.
albaGUI * GetGui()
Returns the albaTextKit's GUI.
void SetTextSize(int size)
Allow to change the font size.
void SetTextColor(int textColorRed, int textColorGreen, int textColorBlue)
void SetTextAlignment(int align=UPPER_LEFT)
Align text into the render window.
void SetText(const char *text)
Insert a text into the render window.
void CreateGui()
Create GUI for AttachCamera module.
albaObserver * m_Listener
double m_TextOffset
Offset in positioning the text.
vtkTextMapper * m_TextMapper
void OnEvent(albaEventBase *alba_event)
process the events sent by subjects
void SetTextPosition(double nv_x, double nv_y)
Position the text into the render window at normalized view's position x,y.
vtkRenderer * m_TextRenderer
void SetListener(albaObserver *Listener)
albaTextKit(wxWindow *parent, vtkRenderer *renderer, albaObserver *Listener=NULL)