Structural deformable models
Classes | Functions
deform.h File Reference
#include "fxconfig.h"
#include <fx.h>
#include <FXApp.h>
#include <string>
#include "glImage.h"
#include "sensordlg.h"
#include "Brain.h"
Include dependency graph for deform.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ImageWindow
 

Functions

bool setTitle (const std::string &title)
 
bool setStatusText (const std::string &stext)
 

Function Documentation

bool setStatusText ( const std::string &  stext)

Definition at line 77 of file deform.cpp.

References ImageWindow::create(), ImageWindow::drawScene(), ImageWindow::ImageWindow(), NULL, ImageWindow::onCanvasRepaint(), ImageWindow::onCmdOpenGL(), ImageWindow::onConfigure(), ImageWindow::onExpose(), setStatusText(), ImageWindow::setStatusText(), TIMER_INTERVAL, and ImageWindow::~ImageWindow().

Referenced by ImageWindow::onToggleSensorDlg(), ImageWindow::selectSensor(), and setStatusText().

77  {
78  ImageWindow *mw = dynamic_cast<ImageWindow*>
79  (FXApp::instance()->getRootWindow());
80  if(mw) {
81  mw->setStatusText(stext.c_str());
82  return true;
83  } else return false;
84 }
void setStatusText(const char *msg, bool append=false)
Definition: browser.cpp:663
bool setTitle ( const std::string &  title)

Definition at line 68 of file deform.cpp.

68  {
69  ImageWindow *mw = dynamic_cast<ImageWindow*>
70  (FXApp::instance()->getRootWindow());
71  if(mw) {
72  mw->setTitle(title.c_str());
73  return true;
74  } else return false;
75 }