VR-Vantage 3.1 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
imageArea Class Reference

Public Member Functions

 imageArea (int llx, int lly, int urx, int ury, int width=-1, int height=-1)
 This is a class to define the area of an image/surface to operate on in a rendering pass.
 ~imageArea ()
int llx (void) const
 Set and get the lower left coordinates.
void llx (int newllx)
int lly (void) const
void lly (int newlly)
int urx (void) const
 Set and get the upper right coordinates.
void urx (int newurx)
int ury (void) const
void ury (int newury)
int width (void) const
 Set and get the width and height of the area.
void width (int newwidth)
int height (void) const
void height (int newheight)
void setSubWindow (int subWidth, int subHeight)
void setSize (int subWidth, int subHeight, int width=-1, int height=-1)
const imageAreaoperator= (const imageArea &area)

Protected Attributes

int m_llx
int m_lly
int m_urx
int m_ury
int m_width
int m_height

Constructor & Destructor Documentation

imageArea::imageArea ( int  llx,
int  lly,
int  urx,
int  ury,
int  width = -1,
int  height = -1 
)
inline

This is a class to define the area of an image/surface to operate on in a rendering pass.

Parameters
llx
lly
urx
ury
width
height

References m_height, m_width, urx(), and ury().

imageArea::~imageArea ( )
inline

Member Function Documentation

int imageArea::llx ( void  ) const
inline

Set and get the lower left coordinates.

Parameters
void
Returns
int

References m_llx.

void imageArea::llx ( int  newllx)
inline
Parameters
newllx

References m_llx.

int imageArea::lly ( void  ) const
inline
Parameters
void
Returns
int

References m_lly.

void imageArea::lly ( int  newlly)
inline
Parameters
newlly

References m_lly.

int imageArea::urx ( void  ) const
inline

Set and get the upper right coordinates.

Parameters
void
Returns
int

References m_urx.

Referenced by imageArea().

void imageArea::urx ( int  newurx)
inline
Parameters
newurx

References m_urx.

int imageArea::ury ( void  ) const
inline
Parameters
void
Returns
int

References m_ury.

Referenced by imageArea().

void imageArea::ury ( int  newury)
inline
Parameters
newury

References m_ury.

int imageArea::width ( void  ) const
inline

Set and get the width and height of the area.

Parameters
void
Returns
int

References m_width.

Referenced by setSize().

void imageArea::width ( int  newwidth)
inline
Parameters
newwidth

References m_width.

int imageArea::height ( void  ) const
inline
Parameters
void
Returns
int

References m_height.

Referenced by setSize().

void imageArea::height ( int  newheight)
inline
Parameters
newheight

References m_height.

void imageArea::setSubWindow ( int  subWidth,
int  subHeight 
)
inline
Parameters
subWidth
subHeight

References m_llx, m_lly, m_urx, and m_ury.

void imageArea::setSize ( int  subWidth,
int  subHeight,
int  width = -1,
int  height = -1 
)
inline
Parameters
subWidth
subHeight
width
height

References height(), m_height, m_llx, m_lly, m_urx, m_ury, m_width, and width().

const imageArea& imageArea::operator= ( const imageArea area)
inline
Parameters
area
Returns
const

References m_height, m_llx, m_lly, m_urx, m_ury, and m_width.

Member Data Documentation

int imageArea::m_llx
protected

Referenced by llx(), operator=(), setSize(), and setSubWindow().

int imageArea::m_lly
protected

Referenced by lly(), operator=(), setSize(), and setSubWindow().

int imageArea::m_urx
protected

Referenced by operator=(), setSize(), setSubWindow(), and urx().

int imageArea::m_ury
protected

Referenced by operator=(), setSize(), setSubWindow(), and ury().

int imageArea::m_width
protected

Referenced by imageArea(), operator=(), setSize(), and width().

int imageArea::m_height
protected

Referenced by height(), imageArea(), operator=(), and setSize().


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


Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)