From 8898ad9b25fca6afe2374d293a981db02a83d7e9 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 31 May 2012 14:46:27 +0000 Subject: Committing the documentation to svn to have it accessible online --- Doc/doxygen/html/_scene_8h_source.html | 193 +++++++++++++++++++++++++++++++++ 1 file changed, 193 insertions(+) create mode 100644 Doc/doxygen/html/_scene_8h_source.html (limited to 'Doc/doxygen/html/_scene_8h_source.html') diff --git a/Doc/doxygen/html/_scene_8h_source.html b/Doc/doxygen/html/_scene_8h_source.html new file mode 100644 index 0000000..1cc1840 --- /dev/null +++ b/Doc/doxygen/html/_scene_8h_source.html @@ -0,0 +1,193 @@ + + + + + +Starshatter_Open: D:/SRC/StarshatterSVN/nGenEx/Scene.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
Starshatter_Open +
+
Open source Starshatter engine
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
Scene.h
+
+
+Go to the documentation of this file.
1 /* Project nGenEx
+
2  Destroyer Studios LLC
+
3  Copyright © 1997-2004. All Rights Reserved.
+
4 
+
5  SUBSYSTEM: nGenEx.lib
+
6  FILE: Scene.h
+
7  AUTHOR: John DiCamillo
+
8 
+
9 
+
10  OVERVIEW
+
11  ========
+
12  A 3D Scene, basically a collection of 3D graphic objects
+
13 */
+
14 
+
15 #ifndef Scene_h
+
16 #define Scene_h
+
17 
+
18 #include "Types.h"
+
19 #include "Color.h"
+
20 #include "Geometry.h"
+
21 #include "List.h"
+
22 
+
23 // +--------------------------------------------------------------------+
+
24 
+
25 class Graphic;
+
26 class Light;
+
27 
+
28 // +--------------------------------------------------------------------+
+
29 
+
30 class Scene
+
31 {
+
32 public:
+
33  static const char* TYPENAME() { return "Scene"; }
+
34 
+
35  Scene();
+
36  virtual ~Scene();
+
37 
+
38  void AddBackground(Graphic* g);
+
39  void DelBackground(Graphic* g);
+
40  void AddForeground(Graphic* g);
+
41  void DelForeground(Graphic* g);
+
42  void AddGraphic(Graphic* g);
+
43  void DelGraphic(Graphic* g);
+
44  void AddSprite(Graphic* g);
+
45  void DelSprite(Graphic* g);
+
46 
+
47  void AddLight(Light* l);
+
48  void DelLight(Light* l);
+
49 
+ + + +
53  List<Graphic>& Sprites() { return sprites; }
+
54  List<Light>& Lights() { return lights; }
+
55  Color Ambient() { return ambient; }
+
56  void SetAmbient(Color a) { ambient = a; }
+
57 
+
58  virtual void Collect();
+
59 
+
60  virtual bool IsLightObscured(const Point& obj_pos,
+
61  const Point& light_pos,
+
62  double obj_radius,
+
63  Point* imp_point=0) const;
+
64 
+
65 protected:
+ + + + + + +
72 };
+
73 
+
74 // +--------------------------------------------------------------------+
+
75 
+
76 #endif Scene_h
+
+
+ + + + -- cgit v1.1