Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::Util::ImageWindow Class Reference

#include "Util_ImageWindow.h"

Collaboration diagram for OVR::Util::ImageWindow:
Collaboration graph

Public Member Functions

 ImageWindow ()
 
 ImageWindow (uint32_t width, uint32_t height)
 
virtual ~ImageWindow ()
 
void GetResolution (size_t &width, size_t &height)
 
void OnPaint ()
 
void UpdateImage (const uint8_t *imageData, uint32_t width, uint32_t height)
 
void UpdateImageBW (const uint8_t *imageData, uint32_t width, uint32_t height)
 
void UpdateImageRGBA (const uint8_t *imageData, uint32_t width, uint32_t height, uint32_t pitch)
 
void Complete ()
 
void Process ()
 
void AssociateSurface (void *surface)
 
void addCircle (float x, float y, float radius, float r, float g, float b, bool fill)
 
void addText (float x, float y, float r, float g, float b, OVR::String text)
 

Static Public Member Functions

static ImageWindowGlobalWindow (int window)
 
static int WindowCount ()
 

Static Private Attributes

static const int MaxWindows = 4
 
static ImageWindowglobalWindow [4]
 
static int windowCount
 

Detailed Description

Definition at line 161 of file Util_ImageWindow.h.

Constructor & Destructor Documentation

OVR::Util::ImageWindow::ImageWindow ( )
inline

Definition at line 165 of file Util_ImageWindow.h.

OVR::Util::ImageWindow::ImageWindow ( uint32_t  width,
uint32_t  height 
)
inline

Definition at line 166 of file Util_ImageWindow.h.

virtual OVR::Util::ImageWindow::~ImageWindow ( )
inlinevirtual

Definition at line 167 of file Util_ImageWindow.h.

Member Function Documentation

void OVR::Util::ImageWindow::addCircle ( float  x,
float  y,
float  radius,
float  r,
float  g,
float  b,
bool  fill 
)
inline

Definition at line 182 of file Util_ImageWindow.h.

void OVR::Util::ImageWindow::addText ( float  x,
float  y,
float  r,
float  g,
float  b,
OVR::String  text 
)
inline

Definition at line 183 of file Util_ImageWindow.h.

void OVR::Util::ImageWindow::AssociateSurface ( void *  surface)
inline

Definition at line 180 of file Util_ImageWindow.h.

void OVR::Util::ImageWindow::Complete ( )
inline

Definition at line 176 of file Util_ImageWindow.h.

void OVR::Util::ImageWindow::GetResolution ( size_t &  width,
size_t &  height 
)
inline

Definition at line 169 of file Util_ImageWindow.h.

static ImageWindow* OVR::Util::ImageWindow::GlobalWindow ( int  window)
inlinestatic

Definition at line 185 of file Util_ImageWindow.h.

void OVR::Util::ImageWindow::OnPaint ( )
inline

Definition at line 171 of file Util_ImageWindow.h.

void OVR::Util::ImageWindow::Process ( )
inline

Definition at line 178 of file Util_ImageWindow.h.

void OVR::Util::ImageWindow::UpdateImage ( const uint8_t *  imageData,
uint32_t  width,
uint32_t  height 
)
inline

Definition at line 173 of file Util_ImageWindow.h.

void OVR::Util::ImageWindow::UpdateImageBW ( const uint8_t *  imageData,
uint32_t  width,
uint32_t  height 
)
inline

Definition at line 174 of file Util_ImageWindow.h.

void OVR::Util::ImageWindow::UpdateImageRGBA ( const uint8_t *  imageData,
uint32_t  width,
uint32_t  height,
uint32_t  pitch 
)
inline

Definition at line 175 of file Util_ImageWindow.h.

static int OVR::Util::ImageWindow::WindowCount ( )
inlinestatic

Definition at line 186 of file Util_ImageWindow.h.

Field Documentation

ImageWindow* OVR::Util::ImageWindow::globalWindow[4]
staticprivate

Definition at line 191 of file Util_ImageWindow.h.

const int OVR::Util::ImageWindow::MaxWindows = 4
staticprivate

Definition at line 190 of file Util_ImageWindow.h.

int OVR::Util::ImageWindow::windowCount
staticprivate

Definition at line 192 of file Util_ImageWindow.h.


The documentation for this class was generated from the following file: