Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Impala::Visualization::Window Class Reference

#include <Window.h>

Inheritance diagram for Impala::Visualization::Window:

Inheritance graph
[legend]
Collaboration diagram for Impala::Visualization::Window:

Collaboration graph
[legend]
List of all members.

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 ()
WindowMakeViewport (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)
ViewGetView (int index)
ViewWithRectGetViewWithRect (int index)
int GetViewIdx (View *view)
ViewFindView (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 WindowCastToWindow (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

Detailed Description

Definition at line 19 of file Window.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 11:51:22 2010 for ImpalaSrc by  doxygen 1.5.1