Public Member Functions

IScene Class Reference

This reference page is linked to from the following overview topics: Scene Graph, Writing Exporter Plug-ins.


Search for all occurrences

Detailed Description

See also:
Class ITreeEnumProc, Class INode.

Description:
Methods of this class may be used to enumerate the scene and to flag certain nodes in the scene. Nodes chosen by the plug-in may be flagged using the EnumTree() method. Selected nodes may be flagged using FlagFGSelected(). Animated nodes may be flagged using FlagFGAnimated() and dependent nodes may be flagged using FlagFGDependent().

#include <sceneapi.h>

Inheritance diagram for IScene:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual int  EnumTree (ITreeEnumProc *proc)=0
virtual void  FlagFGSelected (TimeValue t)=0
virtual void  FlagFGAnimated (TimeValue t)=0
virtual void  FlagFGDependent (TimeValue t, BaseObject *obj)=0

Member Function Documentation

virtual int EnumTree ( ITreeEnumProc proc ) [pure virtual]
Remarks:
Implemented by the System.

This may be called to enumerate every INode in the scene. The callback may flag any of these nodes (using INode::FlagForeground()).
Parameters:
proc This callback object is called once for each INode in the scene.
Returns:
Nonzero if the process was aborted by the callback (TREE_ABORT); otherwise 0.
virtual void FlagFGSelected ( TimeValue  t ) [pure virtual]
Remarks:
Implemented by the System.

Flags all selected nodes in the scene.
Parameters:
t The time to flag the nodes.
virtual void FlagFGAnimated ( TimeValue  t ) [pure virtual]
Remarks:
Implemented by the System.

Flags all animated nodes in the scene.
Parameters:
t The time to flag the nodes.
virtual void FlagFGDependent ( TimeValue  t,
BaseObject obj 
) [pure virtual]
Remarks:
Implemented by the System.

Flags nodes that are dependent on the given object.
Parameters:
t The time to flag the nodes.
obj The object whose dependent nodes should be flagged.

IScene IScene IScene IScene IScene IScene IScene IScene IScene IScene
IScene IScene IScene IScene IScene IScene IScene IScene IScene IScene