This is Intuitiv3dApplication.rtf in view mode; [Download] [Up]
intuitiv'3d API documentation Copyright ©1993 by Cub'x SystÜmes. All Rights Reserved. Intuitiv'3d's Application object Inherits From: Application : Responder : Object Declared In: i3d/i3d_api.h Class Description Intuitiv'3d uses a subclass of the Application class. This subclass provides some facilities and some information. You are encouraged to use theses features. The Application object is available using the NXApp external variable. Although this class is private and opaque, you can use the methods described in this documentation. A protocol is defined inside the header i3d/i3d_api.h Method that you can use Information about intuitiv'3d state - selectedObject - currentScene - currentCamera - moduleManager - photoRealistRender Miscellaneous information - versionString - tmpFolder - fileExists: Freeing resources - addObjectToFree: - unlinkThisFileSomeday: Instance Method addObjectToFree: - addObjectToFree: anObject This method add anObject to a list of object that will be freed during the next garbage collecting process. You can use this method if you need a delayed free. currentCamera - currentCamera This method returns the id of the current camera. The current camera is the current displayer object. See also: - selectedObject, - currentScene, Displayer class currentScene - selectedObject This method returns the id of the current scene. The current scene is the one that has its object browser window key. See also: - selectedObject, - currentCamera, Scene class fileExists: - (BOOL) fileExists:(const char*) filename This method returns YES if the file filename exists and NO otherwise. moduleManager - moduleManager This method returns the id of the module manager. There is only one instance of the module manager inside intuitiv'3d. See also: ModuleManager class photoRealistRender - (BOOL) photoRealistRender This method should only be called during the implementation of the - render method. It returns YES if the rendering is done with Photo-Realistic Renderman and NO if the rendering is done with Quick-Renderman. If your new shape is very complex, it is a good idea to display in Quick-Renderman a simpler version of the shape. See also: - render (CX3DObject , CX3DNode , CX3DLightSource , CX3DShader ) selectedObject - selectedObject This method returns the id of the selected object or nil if there is no selected object. See also: - currentScene, - currentCamera, CX3Object, CX3DNode and CX3DLightSource classes. tmpFolder - (const char*) tmpFolder This method returns the temporary folder used by intuitiv'3d for temporary files. The current location is ~/Library/intuitiv3d. unlinkThisFileSomeday: - unlinkThisFileSomeday:(const char*) filename Sometime you don't want to delete a temporary file into the - postRender: implementation. If you call this method with the pathname of a file, the file will be destroyed when the user quits intuitiv'3d versionString - (const char*) versionString This method returns the version of intuitiv'3d. The version of intuitiv'3d is the string displayed inside the info panel just below the intuitiv'3d title.
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.