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

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

bool Producer::InputArea::isRealized (  ) 

bool Producer::InputArea::waitForRealize (  ) 

unsigned int Producer::InputArea::getNumRenderSurfaces (  ) 

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

unsigned int Producer::InputArea::getNumWindows (  ) 

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

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

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

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

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

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

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

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


Member Data Documentation

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

bool Producer::InputArea::_initialized [protected]

float Producer::InputArea::_minX [protected]

float Producer::InputArea::_maxX [protected]

float Producer::InputArea::_minY [protected]

float Producer::InputArea::_maxY [protected]


The documentation for this class was generated from the following file:
Generated on Thu Sep 27 06:07:21 2007 for Producer by  doxygen 1.5.2