annotate Renderer/Engine/SceneGraphIterator.h @ 761:c0a8af52fa43 draft

add lights
author yutaka@henri.cr.ie.u-ryukyu.ac.jp
date Sat, 06 Feb 2010 03:02:48 +0900
parents 3bc98f6d31ff
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
283
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
1 #ifndef INCLUDED_SCENE_GRAPH_ITERATOR
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
2 #define INCLUDED_SCENE_GRAPH_ITERATOR
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
3
539
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 283
diff changeset
4 #include "SceneGraph.h"
283
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
5
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
6 class SceneGraphIterator {
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
7 public:
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
8 // 走査する SceneGraphList
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
9 SceneGraphPtr list;
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
10
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
11 // 現在参照中の SceneGraph
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
12 SceneGraphPtr cur;
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
13
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
14 void set(SceneGraphPtr list);
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
15 int hasNext(void);
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
16 int hasNext(int id);
539
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 283
diff changeset
17 int hasNextGroup(int id);
283
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
18 void next(void);
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
19 void next(int id);
539
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 283
diff changeset
20 void nextGroup(int id);
283
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
21 void remove(void);
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
22 SceneGraphPtr get(void);
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
23 };
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
24
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
25 typedef SceneGraphIterator *SceneGraphIteratorPtr;
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
26
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
27 #endif