Producer::InputArea Class Reference

Inheritance diagram for Producer::InputArea:

Producer::Referenced List of all members.

Public Member Functions

 InputArea ()
void addRenderSurface (Producer::RenderSurface *rs)
bool isRealized ()
bool waitForRealize ()
unsigned int getNumRenderSurfaces ()
RenderSurfacegetRenderSurface (unsigned int index)
unsigned int getNumWindows ()
Window getWindow (unsigned int index)
void normalizeMouseMotion (Window win, int mx, int my, float &nmx, float &nmy)
void transformMouseMotion (Window win, int mx, int my, float &nmx, float &nmy)
void normalizeXY (float &x, float &y)
void getExtents (float &minX, float &maxX, float &minY, float &maxY)
void getCenter (float &cx, float &cy)

Protected Member Functions

virtual ~InputArea ()
bool _init ()
bool _waitForRealize ()

Protected Attributes

std::vector< RenderSurface * > _mapdata
bool _initialized
float _minX
float _maxX
float _minY
float _maxY

Constructor & Destructor Documentation

Producer::InputArea::InputArea (  ) 

virtual Producer::InputArea::~InputArea (  )  [protected, virtual]


Member Function Documentation

bool Producer::InputArea::_init (  )  [protected]

bool Producer::InputArea::_waitForRealize (  )  [protected]

void Producer::InputArea::addRenderSurface ( Producer::RenderSurface rs  ) 

void Producer::InputArea::getCenter ( float &  cx,
float &  cy 
)

void Producer::InputArea::getExtents ( float &  minX,
float &  maxX,
float &  minY,
float &  maxY 
)

unsigned int Producer::InputArea::getNumRenderSurfaces (  ) 

unsigned int Producer::InputArea::getNumWindows (  ) 

RenderSurface* Producer::InputArea::getRenderSurface ( unsigned int  index  ) 

Window Producer::InputArea::getWindow ( unsigned int  index  ) 

bool Producer::InputArea::isRealized (  ) 

void Producer::InputArea::normalizeMouseMotion ( Window  win,
int  mx,
int  my,
float &  nmx,
float &  nmy 
)

void Producer::InputArea::normalizeXY ( float &  x,
float &  y 
)

void Producer::InputArea::transformMouseMotion ( Window  win,
int  mx,
int  my,
float &  nmx,
float &  nmy 
)

bool Producer::InputArea::waitForRealize (  ) 


Member Data Documentation

bool Producer::InputArea::_initialized [protected]

std::vector<RenderSurface *> Producer::InputArea::_mapdata [protected]

float Producer::InputArea::_maxX [protected]

float Producer::InputArea::_maxY [protected]

float Producer::InputArea::_minX [protected]

float Producer::InputArea::_minY [protected]


The documentation for this class was generated from the following file:
Generated on Thu Sep 28 18:43:47 2006 for producer by  doxygen 1.4.7