#include <ScaleViz/misc/SoMemoryBuffer2D.h>
Public Member Functions | |
SoMemoryBuffer2D () | |
void | setSize (const unsigned short width, const unsigned short height, const size_t nbElement) |
void | setSize (const SbVec2s &size, const size_t nbElement) |
unsigned short | getWidth () const |
unsigned short | getHeight () const |
SbVec2s | getSize2D () const |
SoMemoryBuffer2D::SoMemoryBuffer2D | ( | ) |
constructor
unsigned short SoMemoryBuffer2D::getHeight | ( | ) | const [inline] |
Returns height.
SbVec2s SoMemoryBuffer2D::getSize2D | ( | ) | const [inline] |
Returns 2D size.
unsigned short SoMemoryBuffer2D::getWidth | ( | ) | const [inline] |
Returns width.
void SoMemoryBuffer2D::setSize | ( | const SbVec2s & | size, | |
const size_t | nbElement | |||
) |
setup function
void SoMemoryBuffer2D::setSize | ( | const unsigned short | width, | |
const unsigned short | height, | |||
const size_t | nbElement | |||
) |
setup function