FRAMEMEM Class Reference

FRAMEMEM is designed with purpose of getting images as MEMORY24 from any view, combaining them together, drawing to them using mgd functions and putting them to movie. More...

#include <mi32/framemem.h>

List of all members.

Public Member Functions

 FRAMEMEM (const INT32 &width, const INT32 &height)
 FRAMEMEM (const GRE::VIEW &view)
 FRAMEMEM (const FRAMEMEM &rhs)
 ~FRAMEMEM ()
ERRVALUE Copy (const FRAMEMEM &frame, const INT32 dstX=0, const INT32 dstY=0, const INT32 srcX=0, const INT32 srcY=0, const INT32 srcW=INT32_MAX, const INT32 srcH=INT32_MAX)
ERRVALUE CopyFromView (const GRE::VIEW &view, const INT32 dstX=0, const INT32 dstY=0, const INT32 srcX=0, const INT32 srcY=0, const INT32 srcW=INT32_MAX, const INT32 srcH=INT32_MAX)
MGD::CONTEXTCreateGC ()
INT32 GetHeight () const
INT32 GetWidth () const
 operator const UINT8 * () const
 operator UINT8 * ()
FRAMEMEMoperator= (const FRAMEMEM &rhs)

Detailed Description

FRAMEMEM is designed with purpose of getting images as MEMORY24 from any view, combaining them together, drawing to them using mgd functions and putting them to movie.


Constructor & Destructor Documentation

FRAMEMEM::FRAMEMEM ( const FRAMEMEM rhs  ) 
Parameters:
rhs Copy constructor
FRAMEMEM::FRAMEMEM ( const GRE::VIEW view  ) 
Parameters:
view Constructor by GRE::VIEW View (2d or 3d)
FRAMEMEM::FRAMEMEM ( const INT32 width,
const INT32 height 
)
Parameters:
width Constructor by width and height Width of the frame
height Height of the frame
FRAMEMEM::~FRAMEMEM (  ) 

Member Function Documentation

ERRVALUE FRAMEMEM::Copy ( const FRAMEMEM frame,
const INT32  dstX = 0,
const INT32  dstY = 0,
const INT32  srcX = 0,
const INT32  srcY = 0,
const INT32  srcW = INT32_MAX,
const INT32  srcH = INT32_MAX 
)

Copy image from another frame.

Returns:
ERRVALUE
Parameters:
frame Source frame
dstX Destination x coordinate
dstY Destination y coordinate
srcX Source x coordinate
srcY Source y coordinate
srcW Source width
srcH Source height
ERRVALUE FRAMEMEM::CopyFromView ( const GRE::VIEW view,
const INT32  dstX = 0,
const INT32  dstY = 0,
const INT32  srcX = 0,
const INT32  srcY = 0,
const INT32  srcW = INT32_MAX,
const INT32  srcH = INT32_MAX 
)

Copy image from View.

Returns:
ERRVALUE
Parameters:
view View (2d or 3d)
dstX Destination x coordinate
dstY Destination y coordinate
srcX Source x coordinate
srcY Source y coordinate
srcW Source width
srcH Source height
MGD::CONTEXT* FRAMEMEM::CreateGC (  ) 

Create MGD::CONTEXT.

Returns:
gc
INT32 FRAMEMEM::GetHeight (  )  const [inline]

Get height of the frame.

Returns:
height
INT32 FRAMEMEM::GetWidth (  )  const [inline]

Get width of the frame.

Returns:
width
FRAMEMEM::operator const UINT8 * (  )  const [inline]
FRAMEMEM::operator UINT8 * (  )  [inline]
FRAMEMEM& FRAMEMEM::operator= ( const FRAMEMEM rhs  ) 
Parameters:
rhs Assignment operator

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

Generated on Sun Oct 7 21:33:24 2012 for TNTsdk 2012 by  doxygen 1.6.1