RMnode * rmRootNode (void)
No arguments.librm library source file: rmnode.c
RMnode * rmNodeNew(char *name, RMenum dimsTraversalMask, RMenum opacityTraversalMask)
char *name - a character string, used to set the internal RMnode "name" attribute (input). RMenum dimsTraversalMask - an RMenum value, may be either RM_RENDERPASS_3D, RM_RENDERPASS_2D or RM_RENDERPASS_ALL (input). RMenum opacityTraversalMask - an RMenum value, may be one of RM_RENDERPASS_OPAQUE, RM_RENDERPASS_TRANSPARENT or RM_RENDERPASS_ALL (input).librm library source file: rmnode.c
RMenum rmNodeDelete (RMnode *toDelete)
RMnode *toDelete - a handle to an RMnode (modified).librm library source file: rmnode.c
RMenum rmSubTreeDelete (RMnode *toDelete)
RMnode *toDelete - a handle to an RMnode (modified).librm library source file: rmnode.c
RMenum rmNodeSetName (RMnode *toModify, const char *name)
RMnode *toModify - a handle to an RMnode (modified). const char *name - a character string (input).librm library source file: rmnode.c
char * rmNodeGetName (const RMnode *toQuery)
const RMnode *toQuery - a handle to an RMnode to query (input).librm library source file: rmnode.c
RMenum rmNodeSetTraverseEnable (RMnode *toModify, RMenum newval)
RMnode *toModify - a handle to an RMnode to modify (modified). RMenum newval - an RMenum value, may be either RM_TRUE or RM_FALSE (input).librm library source file: rmnode.c
RMenum rmNodeGetTraverseEnable (const RMnode *toQuery)
const RMnode *toQuery - a handle to an RMnode to query (input).librm library source file: rmnode.c
RMenum rmNodeGetPickEnable (const RMnode *toQuery)
const RMnode *toQuery - a handle to an RMnode to query (input).librm library source file: rmnode.c
RMenum rmNodeSetPickEnable (RMnode *toModify, RMenum newval)
RMnode *toModify - a handle to an RMnode to modify (modified). RMenum newval - an RMenum value, may be either RM_TRUE or RM_FALSE (input).librm library source file: rmnode.c
RMenum rmNodeAddChild (RMnode *parent, RMnode *child)
RMnode *parent - a handle to an RMnode (modified). RMnode *child - a handle to an RMnode (input).librm library source file: rmnode.c
RMenum rmNodeRemoveChild (RMnode *parent, RMnode *child)
RMnode *parent - a handle to an RMnode (modified). RMnode *child - a handle to an RMnode (modified).librm library source file: rmnode.c
RMenum rmNodeRemoveAllChildren (RMnode *toModify)
RMnode *toModify - a handle to an RMnode (modified).librm library source file: rmnode.c
int rmNodeGetNumChildren (const RMnode *toQuery)
const RMnode *toQuery - a handle to an RMnode (input).librm library source file: rmnode.c
int rmNodeGetNumPrims (const RMnode *toQuery)
const RMnode *toQuery - a handle to an RMnode (input).librm library source file: rmnode.c
RMenum rmNodeRemoveAllPrims (RMnode *toModify)
RMnode *toModify - a handle to an RMnode (modified).librm library source file: rmnode.c
RMnode * rmNodeGetIthChild (const RMnode *toQuery, int indx)
const RMnode *toQuery - a handle to an RMnode (input). int indx - an integer index value.librm library source file: rmnode.c
RMnode * rmFindNamedNode (const RMnode *start, const char *name)
const RMnode *start - an RMnode handle (input). const char *name - a search string (input).librm library source file: rmnode.c
void rmPrintSceneGraph (const RMnode *root, RMenum printMode, const char *fileName)
const RMnode *root - a handle to an RMnode (input). RMenum printMode - an RMenum value specifying a level of verbosity. At this time (Feb 2000), this parameter is effectively ignore. Use RM_CHILL for the time being. const char *fileName - a character string, or NULL (input).librm library source file: rmnode.c
RMenum rmNodeSetBoundingBox (RMnode *toModify, const RMvertex3D *vMin, const RMvertex3D *vMax)
RMnode *toModify - a handle to an RMnode (modified). const RMvertex3D *vMin, *vMax - handles to RMvertex3D objects (input).librm library source file: rmnode.c
RMenum rmNodeGetBoundingBox (const RMnode *toQuery, RMvertex3D *vMinReturn, RMvertex3D *vMaxReturn)
const RMnode *toQuery - a handle to an RMnode (input). RMvertex3D *vMinReturn, *vMaxReturn - handles to RMvertex objects (modified).librm library source file: rmnode.c
RMenum rmNodeComputeCenterFromBoundingBox (RMnode *toModify)
RMnode *toModify - a handle to an RMnode (modified).librm library source file: rmnode.c
RMenum rmNodeComputeBoundingBox (RMnode *toModify)
RMnode *toModify - a handle to an RMnode (modified).librm library source file: rmnode.c
RMenum rmNodeUnionAllBoxes (RMnode *toModify)
RMnode *toModify - a handle to an RMnode (modify).librm library source file: rmnode.c
RMenum rmNodeSetAmbientColor (RMnode *toModify, const RMcolor4D *newColor)
RMnode *toModify - a handle to an RMnode to modify (modified). const RMcolor4D *newColor - a handle to an RMcolor4D object (input).librm library source file: rmnode.c
RMenum rmNodeGetAmbientColor (const RMnode *toQuery, RMcolor4D *ambientReturn)
const RMnode *toQuery - a handle to an RMnode (input). RMcolor4D *ambientReturn - a handle to a caller-supplied RMcolor4D object (modified).librm library source file: rmnode.c
RMenum rmNodeSetDiffuseColor (RMnode *toModify, const RMcolor4D *newColor)
RMnode *toModify - a handle to an RMnode to modify (modified). const RMcolor4D *newColor - a handle to an RMcolor4D object (input).librm library source file: rmnode.c
RMenum rmNodeGetDiffuseColor (const RMnode *toQuery, RMcolor4D *diffuseReturn)
const RMnode *toQuery - a handle to an RMnode (input). RMcolor4D *diffuseReturn - a handle to a caller-supplied RMcolor4D object (modified).librm library source file: rmnode.c
RMenum rmNodeSetSpecularColor (RMnode *toModify, const RMcolor4D *newColor)
RMnode *toModify - a handle to an RMnode to modify (modified). const RMcolor4D *newColor - a handle to an RMcolor4D object (input).librm library source file: rmnode.c
RMenum rmNodeGetSpecularColor (const RMnode *toQuery, RMcolor4D *diffuseReturn)
const RMnode *toQuery - a handle to an RMnode (input). RMcolor4D *specularReturn - a handle to a caller-supplied RMcolor4D object (modified).librm library source file: rmnode.c
RMenum rmNodeSetSpecularExponent (RMnode *toModify, float newValue)
RMnode *toModify - a handle to an RMnode (modified). float newValue - a floating point value, typically greater than 1.0 (input).librm library source file: rmnode.c
RMenum rmNodeGetSpecularExponent (const RMnode *toQuery, float *retValue)
const RMnode *toQuery - a handle to an RMnode to query (input). float *retValue - a handle to a caller-supplied float (modified).librm library source file: rmnode.c
RMenum rmNodeSetUnlitColor (RMnode *toModify, const RMcolor4D *newColor)
RMnode *toModify - a handle to an RMnode (modified). const RMcolor4D *newColor - a handle to an RMcolor4D object (input).librm library source file: rmnode.c
RMenum rmNodeGetUnlitColor (const RMnode *toQuery, RMcolor4D *retColor)
const RMnode *toModify - a handle to an RMnode (input). RMcolor4D *retColor - a handle to an RMcolor4D object (modified).librm library source file: rmnode.c
RMenum rmNodeSetOpacity (RMnode *toModify, float newValue)
RMnode *toModify - a handle to an RMnode (modified). float newValue - a floating point value between 0.0 and 1.0. A value of 0.0 means the object is completely transparent, while a value of 1.0 means the object is completely opaque (input).librm library source file: rmnode.c
RMenum rmNodeGetOpacity (const RMnode *toQuery, float *retValue)
RMnode *toQuery - a handle to an RMnode (input). float *retValue - a handle to a caller-supplied float (modified).librm library source file: rmnode.c
RMenum rmNodeSetNormalizeNormals(RMnode *toModify, RMenum newValue)
RMnode *toModify - a handle to an RMnode (modified). RMenum newValue - an RMenum value, may be either RM_TRUE or RM_FALSE (input).librm library source file: rmnode.c
RMenum rmNodeGetNormalizeNormals(const RMnode *toQuery, RMenum *valueReturn)
const RMnode *toQuery - a handle to an RMnode (input). RMenum *valueReturn - a handle to a caller-supplied RMenum (result).librm library source file: rmnode.c
RMenum rmNodeSetLineStyle(RMnode *toModify, RMenum newLineStyle)
RMnode *toModify - a handle to an RMnode (modified). RMenum newLineStyle - an RMenum value, may be one of RM_LINES_SOLID, RM_LINES_DASHED, RM_LINES_DOTTED, RM_LINES_DOT_DASH or RM_LINES_DASH_DASH_DOT (input).librm library source file: rmnode.c
RMenum rmNodeGetLineStyle(const RMnode *toQuery, RMenum *lineStyleReturn)
const RMnode *toQuery - a handle to an RMnode (input). RMenum *lineStyleReturn - a handle to a caller supplied RMenum (result).librm library source file: rmnode.c
RMenum rmNodeSetLineWidth(RMnode *toModify, RMenum widthEnum)
RMnode *toModify - a handle to an RMnode (modified). RMenum widthEnum - an RMenum value. May be one of RM_LINEWIDTH_NARROW, RM_LINEWIDTH_MEDIUM, RM_LINEWIDTH_HEAVY, or RM_LINEWIDTH_X, where 1 <= X <= 8 (input).librm library source file: rmnode.c
RMenum rmNodeGetLineWidth(const RMnode *toQuery, RMenum *lineWidthReturn)
const RMnode *toQuery - a handle to an RMnode (input). RMenum *lineWidthReturn - a handle to a caller supplied RMenum (result).librm library source file: rmnode.c
RMenum rmNodeSetPointSize(RMnode *toModify, float newSize)
RMnode *toModify - a handle to an RMnode (modified). float newSize - a floating point value, must be greater than zero (input).librm library source file: rmnode.c
RMenum rmNodeGetPointSize(const RMnode *toQuery, float *sizeReturn)
const RMnode *toQuery - a handle to an RMnode (input). float *sizeReturn - a handle to a caller-supplied float (result).librm library source file: rmnode.c
RMenum rmNodeSetPolygonDrawMode(RMnode *toModify, RMenum whichFace, RMenum newMode)
RMnode *toModify - a handle to an RMnode (modified). RMenum whichFace - an RMenum value, may be one of RM_FRONT, RM_BACK, RM_FRONT_AND_BACK (input). RMenum newMode - an RMenum value, may be one of RM_LINE, RM_FILL or RM_POINT.librm library source file: rmnode.c
RMenum rmNodeGetPolygonDrawMode(const RMnode *toQuery, RMenum *returnFace, RMenum *returnMode)
const RMnode *toQuery - a handle to an RMnode (input). RMenum *returnFace, *returnMode - handles to caller-supplied RMenum's (result).librm library source file: rmnode.c
RMenum rmNodeSetPolygonCullMode(RMnode *toModify, RMenum newMode)
RMnode *toModify - a handle to an RMnode (modified). RMenum newMode - an RMenum value. May be one of RM_CULL_NONE, RM_CULL_FRONT, RM_CULL_BACK, or RM_CULL_FRONT_AND_BACK.librm library source file: rmnode.c
RMenum rmNodeGetPolygonCullMode(const RMnode *toQuery, RMenum *modeReturn)
const RMnode *toQuery - a handle to an RMnode (input). RMenum *modeReturn - a handle to a caller-supplied RMenum (result).librm library source file: rmnode.c
RMenum rmNodeSetFrontFace(RMnode *toModify, RMenum newMode)
RMnode *toModify - a handle to an RMnode (modified). RMenum newMode - an RMenum value, may be one of RM_CW or RM_CCW (input).librm library source file: rmnode.c
RMenum rmNodeGetFrontFace(const RMnode *toQuery, RMenum *modeReturn)
const RMnode *toQuery - a handle to an RMnode (input). RMenum *modeReturn - a handle to a caller-supplied RMenum (result).librm library source file: rmnode.c
RMenum rmNodeSetShader(RMnode *toModify, RMenum newMode)
RMnode *toModify - a handle to an RMnode (modified). RMenum newMode - an RMenum value (input). Must be one of RM_SHADER_SMOOTH, RM_SHADER_FLAT or RM_SHADER_NOLIGHT.librm library source file: rmnode.c
RMenum rmNodeGetShader(const RMnode *toQuery, RMenum *shaderReturn)
const RMnode *n - a handle to an RMnode (input). RMenum *shaderReturn - a handle to an RMenum (result).librm library source file: rmnode.c
RMenum rmNodeSetTraversalMaskOpacity(RMnode *toModify, RMenum newVal)
RMnode *toModify - a handle to an RMnode (modified). RMenum newVal - an RMenum value. May be one of RM_RENDERPASS_TRANSPARENT, RM_RENDERPASS_OPAQUE or RM_RENDERPASS_ALL.librm library source file: rmnode.c
RMenum rmNodeGetTraversalMaskOpacity(const RMnode *toQuery, RMenum *maskReturn)
const RMnode *toQuery - a handle to an RMnode (input). RMenum *maskReturn - a handle to an RMenum value (result).librm library source file: rmnode.c
RMenum rmNodeSetTraversalMaskDims(RMnode *toModify, RMenum newVal)
RMnode *toModify - a handle to an RMnode (modified). RMenum newVal - an RMenum value. May be one of RM_RENDERPASS_2D, RM_RENDERPASS_3D or RM_RENDERPASS_ALL.librm library source file: rmnode.c
RMenum rmNodeGetTraversalMaskDims(const RMnode *toQuery, RMenum *maskReturn)
const RMnode *toQuery - a handle to an RMnode (input). RMenum *maskReturn - a handle to an RMenum value (result).librm library source file: rmnode.c
RMenum rmNodeSetTraversalMaskChannel(RMnode *toModify, RMenum newVal)
RMnode *toModify - a handle to an RMnode (modified). RMenum newVal - an RMenum value. May be one of RM_LEFT_CHANNEL, RM_RIGHT_CHANNEL or RM_ALL_CHANNELS.librm library source file: rmnode.c
RMenum rmNodeGetTraversalMaskChannel(const RMnode *toQuery, RMenum *maskReturn)
const RMnode *toQuery - a handle to an RMnode to query (input). RMenum *maskReturn - a handle to an RMenum value (result).librm library source file: rmnode.c
RMenum rmNodeSetTransformMode (RMnode *toModify, RMenum newMode)
RMnode *toModify - a handle to an RMnode (modified). RMenum newMode - an RMenum value. Must be one of RM_TRANSFORM_GEOMETRY, RM_TRANSFORM_TEXTURE, or RM_TRANSFORM_IGNORE.librm library source file: rmnode.c
RMenum rmNodeGetTransformMode (const RMnode *toQuery)
const RMnode *toQuery - a handle to the RMnode to query (input).librm library source file: rmnode.c
RMenum rmNodeSetPreMatrix (RMnode *toModify, const RMmatrix *newMatrix)
RMnode *toModify - a handle to an RMnode (modified). const RMmatrix *newMatrix - a handle to a caller-supplied RMmatrix (input).librm library source file: rmnode.c
RMenum rmNodeGetPreMatrix (const RMnode *toQuery, RMmatrix *matrixReturn)
const RMnode *toQuery - a handle to the RMnode to query (input). RMmatrix *matrixReturn - a handle to a caller-supplied RMmatrix (modified).librm library source file: rmnode.c
RMenum rmNodeSetCenter (RMnode *toModify, const RMvertex3D *newVertex)
RMnode *toModify - a handle to an RMnode to modify (modified). const RMvertex3D *newVertex - a handle to an RMvertex3D (input).librm library source file: rmnode.c
RMenum rmNodeGetCenter (const RMnode *toQuery, RMvertex3D *retVector)
const RMnode *toQuery - a handle to an RMnode to query (input). RMvertex3D *retVector - a handle to a caller-supplied RMvertex3D object (modified).librm library source file: rmnode.c
RMenum rmNodeSetScaleMatrix (RMnode *toModify, const RMmatrix *newMatrix)
RMnode *toModify - a handle to an RMnode (modified). const RMmatrix *newMatrix - a handle to a caller-supplied RMmatrix (input).librm library source file: rmnode.c
RMenum rmNodeGetScaleMatrix (const RMnode *toQuery, RMmatrix *matrixReturn)
const RMnode *toQuery - a handle to the RMnode to query (input). RMmatrix *matrixReturn - a handle to a caller-supplied RMmatrix (modified).librm library source file: rmnode.c
RMenum rmNodeSetRotateMatrix (RMnode *toModify, const RMmatrix *newMatrix)
RMnode *toModify - a handle to an RMnode (modified). const RMmatrix *newMatrix - a handle to a caller-supplied RMmatrix (input).librm library source file: rmnode.c
RMenum rmNodeGetRotateMatrix (const RMnode *toQuery, RMmatrix *matrixReturn)
const RMnode *toQuery - a handle to the RMnode to query (input). RMmatrix *matrixReturn - a handle to a caller-supplied RMmatrix (modified).librm library source file: rmnode.c
RMenum rmNodeSetPostRotateScaleMatrix (RMnode *toModify, const RMmatrix *newMatrix)
RMnode *toModify - a handle to an RMnode (modified). const RMmatrix *newMatrix - a handle to a caller-supplied RMmatrix (input).librm library source file: rmnode.c
RMenum rmNodeGetPostRotateScaleMatrix (const RMnode *toQuery, RMmatrix *matrixReturn)
const RMnode *toQuery - a handle to the RMnode to query (input). RMmatrix *matrixReturn - a handle to a caller-supplied RMmatrix (modified).librm library source file: rmnode.c
RMenum rmNodeSetTranslateVector (RMnode *toModify, const RMvertex3D *newVector)
RMnode *toModify - a handle to an RMnode (modified). const RMvertex3D *newVector - a handle to an RMvertex3D object (input).librm library source file: rmnode.c
RMenum rmNodeGetTranslateVector (const RMnode *toQuery, RMvertex3D *returnVector)
const RMnode *toQuery - a handle to an RMnode (input). RMvertex3D *returnVector - a handle to a caller-supplied RMvertex3D object (modified).librm library source file: rmnode.c
RMenum rmNodeSetPostMatrix (RMnode *toModify, const RMmatrix *newMatrix)
RMnode *toModify - a handle to an RMnode (modified). const RMmatrix *newMatrix - a handle to a caller-supplied RMmatrix (input).librm library source file: rmnode.c
RMenum rmNodeGetPostMatrix (const RMnode *toQuery, RMmatrix *matrixReturn)
const RMnode *toQuery - a handle to the RMnode to query (input). RMmatrix *matrixReturn - a handle to a caller-supplied RMmatrix (modified).librm library source file: rmnode.c
RMenum rmNodeGetCompositeModelMatrix (RMnode *toQuery, RMmatrix *matrixReturn)
RMnode *toQuery - a handle to an RMnode (input). RMmatrix *matrixReturn - a handle to a caller-supplied RMmatrix (return).librm library source file: rmnode.c
RMenum rmNodeSetRenderOrderCallback (RMnode *toModify, int (*appFunc)(const RMnode *, const RMstate *, int *orderIndices, int nChildren))
RMnode *toModify - a handle to an RMnode (modified). int (*appFunc)(const RMnode *, const RMstate *, int *, int) - A handle to an application callback, or NULL (input).librm library source file: rmnode.c
RMenum rmNodeSetSwitchCallback (RMnode *toModify, int (*appFunc)(const RMnode *, const RMstate *))
RMnode *toModify - a handle to an RMnode (modified). int (*appFunc)(const RMnode *, const RMstate *) - A handle to an application callback, or NULL (input).librm library source file: rmnode.c
RMenum rmNodeSetPreTraversalCallback (RMnode *toModify, RMenum whichPass, int (*appFunc)(const RMnode *, const RMstate *))
RMnode *toModify - a handle to an RMnode (modified). RMenum whichPass - an RMenum value that specifies during which stage of multistage rendering the callback should be invoked. Use either RM_VIEW or RM_RENDER. int (*appFunc)(const RMnode *, const RMstate *) - A handle to an application callback, or NULL (input).librm library source file: rmnode.c
RMenum rmNodeSetPostTraversalCallback (RMnode *toModify, RMenum whichPass, int (*appFunc)(const RMnode *, const RMstate *))
RMnode *toModify - a handle to an RMnode (modified). RMenum whichPass - an RMenum value that specifies during which stage of multistage rendering the callback should be invoked. Use either RM_VIEW or RM_RENDER. int (*appFunc)(const RMnode *, const RMstate *) - A handle to an application callback, or NULL (input).librm library source file: rmnode.c
RMenum rmNodeMutexInit(RMnode *toModify, RMenum initialLockState)
RMnode *toModify - a handle to an RMnode (input). RMenum initialLockState - an RMenum value (input). May be either RM_MUTEX_LOCK or RM_MUTEX_UNLOCK.librm library source file: rmnode.c
RMenum rmNodeMutexUnlock (RMnode *toModify)
RMnode *toModify - a handle to an RMnode (input).librm library source file: rmnode.c
RMenum rmNodeMutexLock (RMnode *toModify)
RMnode *toModify - a handle to an RMnode (input).librm library source file: rmnode.c
RMenum rmNodeMutexTryLock (const RMnode *toQuery)
const RMnode *toQuery - a handle to an RMnode (input). int *returnValue - a handle to a caller-supplied int (return).librm library source file: rmnode.c
RMmutex * rmNodeGetMutex (const RMnode *toQuery)
const RMnode *toQuery - a handle to an RMnode (input).librm library source file: rmnode.c
RMenum rmNodeMutexDelete (RMnode *toModify)
RMnode *toModify - a handle to an RMnode (input).librm library source file: rmnode.c
int rmNodeFrustumCullCallback(const RMnode *n, const RMstate *s)
const RMnode *n - an RMnode pointer (input). const RMstate *s - an RMstate pointer (input).librm library source file: rmnode.c