<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> <html><head><title>OpenRM - RM Library (rmmalloc.c)</title></head> <body bgcolor=white fgcolor=black> <table width="100%" border=2 cellspacing=0 cellpadding=0 bgcolor="khaki" valign="center"> <th><img src="./images/ormsg.gif"> </th> </table> <spacer type=vertical size=15> <h2>Index of OpenRM - RM Library</h2> <spacer type=vertical size=15> <a name="rmFloatNew"> <pre><b> float * rmFloatNew (int n) </b></pre> <pre> int n - number of floats to create (input). </pre> <menu><P> Return a handle to the requested number of floats. </P></menu> <i>librm library source file: rmmalloc.c </i><hr width="75%"> <a name="rmFloatDelete"> <pre><b> void rmFloatDelete (float *t) </b></pre> <pre> float *t - a handle to float(s) to delete (modified). </pre> <menu><P> Free the float resources pointed to by t. </P></menu> <i>librm library source file: rmmalloc.c </i><hr width="75%"> <a name="rmVertex2DNew"> <pre><b> RMvertex2D * rmVertex2DNew (int n) </b></pre> <pre> int n - number of RMvertex2D objects to create (input). </pre> <menu><P> Return a handle to the requested number of RMvertex2D. </P></menu> <i>librm library source file: rmmalloc.c </i><hr width="75%"> <a name="rmVertex2DDelete"> <pre><b> void rmVertex2DDelete (RMvertex2D *v) </b></pre> <pre> RMvertex2D *v - a handle to RMvertex2D object(s) to delete (modified). </pre> <menu><P> Free the RMvertex2D resources pointed to by v. It is assumed that v points to a valid RMvertex2D previously created with rmVertex2DNew. </P></menu> <i>librm library source file: rmmalloc.c </i><hr width="75%"> <a name="rmVertex3DNew"> <pre><b> RMvertex3D * rmVertex3DNew (int n) </b></pre> <pre> int n - number of RMvertex3D objects to create (input). </pre> <menu><P> Return a handle to the requested number of RMvertex3D. </P></menu> <i>librm library source file: rmmalloc.c </i><hr width="75%"> <a name="rmVertex3DDelete"> <pre><b> void rmVertex3DDelete (RMvertex3D *v) </b></pre> <pre> RMvertex3D *v - a handle to RMvertex3D object(s) to delete (modified). </pre> <menu><P> Free the RMvertex3D resources pointed to by v. It is assumed that v points to a valid RMvertex3D previously created with rmVertex3DNew. </P></menu> <i>librm library source file: rmmalloc.c </i><hr width="75%"> <a name="rmColor4DNew"> <pre><b> RMcolor4D * rmColor4DNew (int n) </b></pre> <pre> int n - number of RMcolor4D objects to create (input). </pre> <menu><P> Return a handle to the requested number of RMcolor4D. </P></menu> <i>librm library source file: rmmalloc.c </i><hr width="75%"> <a name="rmColor4DDelete"> <pre><b> void rmColor4DDelete (RMcolor4D *c) </b></pre> <pre> RMcolor4D *c - a handle to RMcolor4D object(s) to delete (modified). </pre> <menu><P> Free the RMcolor4D resources pointed to by c. It is assumed that c points to a valid RMcolor4D previously created with rmColor4DNew(). </P></menu> <i>librm library source file: rmmalloc.c </i><hr width="75%"> <a name="rmInternalMarker2DNew"> <pre><b> RMinternalMarker2D * rmInternalMarker2DNew (int nverts, int begin_flag, RMvertex2D *dverts) </b></pre> <pre> int nverts - number of vertices in the RMinternalMarker2D list. int begin_flag - ? RMvertex2D *dverts - vertex data. </pre> <menu><P> This routine may be deprecated. Need to add checks to see if this is actually being used by any contemporary applications. </P> <P> Create a new RMinternalMarker2D from the given parameters and return a handle to the caller. </P></menu> <i>librm library source file: rmmalloc.c </i><hr width="75%"> <a name="rmInternalMarker2DDelete"> <pre><b> void rmInternalMarker2DDelete (RMinternalMarker2D *t) </b></pre> <pre> RMinternalMarker2D *t - a handle to RMinternalMarker2D object to delete (modified). </pre> <menu><P> Free the RMinternalMarker2D resources pointed to by t. It is assumed that t points to a valid RMinternalMarker2D previously created with rmInternalMarker2DNew(). </P></menu> <i>librm library source file: rmmalloc.c </i><hr width="75%"> <a name="rmMalloc2DByteBuffer"> <pre><b> unsigned char ** rmMalloc2DByteBuffer (int width, int height) </b></pre> <pre> int width - buffer width in bytes (input). int height - buffer height in bytes (input). </pre> <menu><P> Creates a 2D byte buffer of the requested dimensions and returns a handle to the caller. The resulting buffer is row-major order, so indexing it as an array of unsigned char means that the first index is the row (height) and the second index is the column (width). </P></menu> <i>librm library source file: rmmalloc.c </i><hr width="75%"> <a name="rmFree2DByteBuffer"> <pre><b> void rmFree2DByteBuffer (unsigned char **c) </b></pre> <pre> unsigned char **c - a handle to a 2D byte buffer (modified). </pre> <menu><P> Free the 2D byte buffer resources pointed to by c. It is assumed that c points to a valid 2D byte buffer previously created with rmMalloc2DByteBuffer(). </P></menu> <i>librm library source file: rmmalloc.c </i><hr width="75%"> <a name="rmMalloc2DFloatBuffer"> <pre><b> float ** rmMalloc2DFloatBuffer (int width, int height) </b></pre> <pre> int width - buffer width in floats (input). int height - buffer height in floats (input). </pre> <menu><P> Creates a 2D float buffer of the requested dimensions and returns a handle to the caller. The resulting buffer is row-major order, so indexing it as an array of unsigned char means that the first index is the row (height) and the second index is the column (width). </P></menu> <i>librm library source file: rmmalloc.c </i><hr width="75%"> <a name="rmFree2DFloatBuffer"> <pre><b> void rmFree2DFloatBuffer (float **c) </b></pre> <pre> float **c - a handle to a 2D byte buffer (modified). </pre> <menu><P> Free the 2D float buffer resources pointed to by c. It is assumed that c points to a valid 2D float buffer previously created with rmMalloc2DFloatBuffer(). </P></menu> <i>librm library source file: rmmalloc.c </i><hr width="75%"> <a name="rmMalloc3DByteBuffer"> <pre><b> unsigned char *** rmMalloc3DByteBuffer (int width, int height, int depth) </b></pre> <pre> int width - buffer width in bytes (input). int height - buffer height in bytes (input). int depth - buffer depth in bytes (input). </pre> <menu><P> Creates a 3D byte buffer of the requested dimensions and returns a handle to the caller. The resulting buffer is row-major order, so indexing it as an array of unsigned char means that the first index is the row (height) and the second index is the column (width). </P></menu> <i>librm library source file: rmmalloc.c </i><hr width="75%"> <a name="rmFree3DByteBuffer"> <pre><b> void rmFree3DByteBuffer (unsigned char ***c) </b></pre> <pre> unsigned char ***c - a handle to a 3D byte buffer (modified). </pre> <menu><P> Free the 3D byte buffer resources pointed to by c. It is assumed that c points to a valid 3D byte buffer previously created with rmMalloc3DByteBuffer(). </P></menu> <i>librm library source file: rmmalloc.c </i><hr width="75%"> <a name="rmMalloc3DFloatBuffer"> <pre><b> float *** rmMalloc3DFloatBuffer (int width, int height, int depth) </b></pre> <pre> int width - buffer width in floats (input). int height - buffer height in floats (input). int depth - buffer depth in floats (input). </pre> <menu><P> Creates a 3D float buffer of the requested dimensions and returns a handle to the caller. The resulting buffer is row-major order, so indexing it as an array of unsigned char means that the first index is the row (height) and the second index is the column (width). </P></menu> <i>librm library source file: rmmalloc.c </i><hr width="75%"> <a name="rmFree3DFloatBuffer"> <pre><b> void rmFree3DFloatBuffer (float ***c) </b></pre> <pre> float ***c - a handle to a 3D float buffer (modified). </pre> <menu><P> Free the 3D float buffer resources pointed to by c. It is assumed that c points to a valid 3D float buffer previously created with rmMalloc3DFloatBuffer(). </P></menu> <i>librm library source file: rmmalloc.c </i><hr width="75%"> </body></html>