ftp.nice.ch/pub/next/developer/objc/api/intuitiv3d_API.s.tar.gz#/i3dApi/Documentation/Classes/Scene.rtf

This is Scene.rtf in view mode; [Download] [Up]

 intuitiv'3d API documentation Copyright ©1993 by Cub'x SystÜmes. All Rights Reserved.






Scene






Inherits From:	Responder :  Object

Declared In:	i3d/i3d_api.h





Class Description

When a .i3dw file is opened, a scene instance is created. The scene object includes the 3d object browser, the 3d hierarchy and a list of Display object. You can discover the id of the scene currently in use by using the  - currentScene method of the application object. The Scene class is private and opaque.

Method that you can use
Information about the object tree
	- selectedObject
	- haveObjectInPath: 
	- firstSelectedSet
	- selectObject: 

Adding and removing object
	- addObject:
	- delete: 

Scene display	
	- displayScene
	- forceDisplayScene

Instance Method
addObject:
	- addObject: anObject
This method add anObject into the receiving scene instance. anObject should be a kind of CX3DObject, CX3DNode, CX3DShader or CX3DLightSource.

			
delete:
	- delete: sender
This method deletes the selected object of the scene if this object can be deleted. This method is currently called when the user presses the Delete key.


displayScene
	- displayScene
This method ask all the displayer to refresh their display. The refresh occurs before entering the main event loop.

See also: - forceDisplayScene


firstSelectedSet
	- firstSelectedSet
This method returns the selected object of the receiver if it is a kind of CX3DNode and the parent of the selected object otherwise.


forceDisplayScene
	- forceDisplayScene
This method refreshes immediately all the displayer of the receiving scene.


haveObjectInPath: 
	- (BOOL) haveObjectInPath: anObject
This method returns YES if anObject is currently in the selection path and NO otherwise.


selectedObject
	- selectedObject
This method returns the selected object of the receiver. 


selectObject:
	- selectObject: anObject
This method makes the receiver select the object anObject.







These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.