#include <Window.h>
Inheritance diagram for Impala::Visualization::Window:
Public Types | |
typedef Core::Array::Array2dVec3UInt8 | Array2dVec3UInt8 |
Public Member Functions | |
Window (int x, int y, int width, int height, bool is2d=true) | |
create a top level window | |
Window (OglGui::Window *parent, int width, int height, bool is2d=true) | |
create a child window | |
Window (OglGui::Window *parent, int x, int y, int width, int height, bool is2d=true) | |
create a child window | |
virtual | ~Window () |
virtual void | HandleStart () |
Window * | MakeViewport (int width, int height, bool is2d) |
int | NrViewers () |
void | SetMakeViewWithRect (bool flag) |
void | MakeView (int imW, int imH, double scale, bool texturing, bool noTexScaling, bool keepDispImage, OglGui::ViewListener *listener) |
void | UpdateView (int view, unsigned char *dataPtr, int width, int height, double scale=1.0, OglGui::ViewListener *listener=0) |
void | UpdateView (int view, Array2dVec3UInt8 *image, OglGui::ViewListener *listener=0) |
template<class ArrayT> | |
void | UpdateView (int view, ArrayT *im, std::string displayMode, double scale=1.0, OglGui::ViewListener *listener=0) |
void | SetViewText (int viewIdx, std::string text) |
void | SetViewSelected (int viewIdx, bool clearOthers=true) |
void | SetViewSelectedTo (int viewIdx, bool state) |
bool | GetViewSelected (int viewIdx) |
void | SetViewVisible (int viewIdx, bool flag) |
void | SetViewPos (int viewIdx, int x, int y) |
View * | GetView (int index) |
ViewWithRect * | GetViewWithRect (int index) |
int | GetViewIdx (View *view) |
View * | FindView (int x, int y) |
void | SetAllowRepositionViewers (bool flag) |
virtual void | RepositionViewers () |
void | DeleteViewers () |
int | SuggestWndWidth (double nrView, int imageWidth) |
int | SuggestWndHeight (double nrView, int imageHeight) |
int | SuggestWidth (std::string str) |
virtual void | InitFunc () |
virtual void | ExitFunc () |
virtual void | DisplayFunc () |
virtual void | MouseFunc (int msg, int but, int state, int x, int y) |
This function is called by the event handling system everytime the user has moved or clicked the mouse. | |
void | SetStatusStr (char *buf) |
void | ActivateInfoBox (bool doit) |
void | SetInfoBoxString (char *str) |
Static Public Member Functions | |
static Window * | CastToWindow (OglGui::Window *oWnd) |
Protected Attributes | |
bool | mDoStatus |
char | mStatusBuf [256] |
INFOBOX * | mInfoBox |
bool | mInfoBoxDraw |
bool | mInfoBoxActive |
Private Member Functions | |
void | Init () |
Private Attributes | |
bool | mMakeViewWithRect |
std::vector< View * > | mOglView |
Core::Geometry::RectangleTiler | mViewTiler |
bool | mAllowRepositionViewers |
int | mFirstImSize |
Definition at line 19 of file Window.h.