These are general-purpose non-rendering related routines. Ni_Get_Local_DateTime() Get the local time and date (similar to UNIX localtime() function). Ni_Inquire_Colorname() Inquire about the color value of a named color in the color database. Ni_Get_Key() Wait for the user to press a key on the keyboard. Ni_Convert_Pathname() Convert a pathname between DOS/Windows/Macintosh/UNIX formats. Ni_Alloc_Memory() Allocate memory and report any errors. Ni_Realloc_Memory() Re-allocate memory and report any errors. Ni_Free_Memory() Free up memory. Ni_Search_And_Open_File() Powerful version of the fopen() command. Ni_Fclose_File() Close a file that was opened inside the toolkit. Ni_File_Exists() Determine whether a file exists. Ni_Filesize() Determine the size of a file. Ni_Pick() Hierarchical picking mechanism. Ni_Handle_Name_Exists() Determine whether a specific handle name exists (ie: a camera name). Ni_Verify_Handle_Name() Determine if a handle string name is valid (ie: a camera name). Ni_Text_Has_Wildcards() Determine whether a string has wildcards in it. Ni_Pattern_Match() Perform wildcard pattern matching on a string. Ni_Verify_Search_Pattern() Determine whether a string contains a valid search pattern. Ni_Init_NdAxes_Structure() Initialize a Nd_Axis data structure. Ni_BDF_Write() Write out the 3D scene database to a binary data file (BDF). Ni_BDF_Read() Read in a 3D scene database from a binary data file. Ni_User_Data_Set() Store a user data value in the internal NuGraf database. Ni_User_Data_Inquire() Retrieve a user data value from the NuGraf database. Ni_User_Data_Delete() Delete an existing user data value. Ni_Scene_Maintenance() Add, delete and change the current scene database. Ni_Compare() Compare definitions for equality. Ni_Copy() Copy a camera, colour, light, surface or texture definition. Ni_Remove(...) General-purpose routine to remove entries from database. Ni_Rename(...) Rename a database entry (ie: camera, light, etc.).
These are general-purpose non-rendering related routines.