source: golgotha/src/maxtool/sdk_inc/sceneapi.h @ 80

Last change on this file since 80 was 80, checked in by Sam Hocevar, 11 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1/**********************************************************************
2 *<
3        FILE: sceneapi.h
4
5        DESCRIPTION: Scene interface
6
7        CREATED BY:     Rolf Berteig
8
9        HISTORY: Created 13 January 1995
10
11 *>     Copyright (c) 1994, All Rights Reserved.
12 **********************************************************************/
13
14
15#ifndef __SCENEAPI__
16#define __SCENEAPI__
17
18
19class BaseObject;
20
21class IScene {         
22        public:
23                virtual int EnumTree( ITreeEnumProc *proc )=0;
24                virtual void FlagFGSelected( TimeValue t )=0;
25                virtual void FlagFGAnimated( TimeValue t )=0;
26                virtual void FlagFGDependent( TimeValue t, BaseObject *obj )=0;
27        };
28
29
30// The purpose of this callback is to call FlagForeground() for
31// any nodes in the scene that are supposed to be in the foreground.
32class ChangeForegroundCallback {
33        public:
34                virtual BOOL IsValid()=0;
35                virtual void Invalidate()=0;
36                virtual void Validate()=0;
37                virtual void callback(TimeValue t,IScene *scene)=0;
38        };
39
40#endif // __SCENEAPI__
Note: See TracBrowser for help on using the repository browser.