Epee Engine  0.40
The Epee Engine is an open source cross platform graphics engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
EESceneGraph.h
Go to the documentation of this file.
1 /*
2 * EESceneGraph.h
3 *
4 *
5 * Epee Engine
6 * Created by Alan Uthoff on 3/12/06.
7 Copyright (C) 2011
8 
9 This Code is free software; you can redistribute it and/or
10 modify it under the terms of the zlib/libpng License as published
11 by the Free Software Foundation; either
12 version 2.1 of the License, or (at your option) any later version.
13 This software is provided 'as-is', without any express or implied warranty.
14 
15 In no event will the authors be held liable for any damages arising from the use of this software.
16 
17 Permission is granted to anyone to use this software for any purpose,
18 including commercial applications, and to alter it and redistribute
19 it freely, subject to the following restrictions:
20 
21 1. The origin of this software must not be misrepresented;
22 you must not claim that you wrote the original software.
23 If you use this software in a product, an acknowledgment
24 in the product documentation would be appreciated but is not required.
25 
26 2. Altered source versions must be plainly marked as such,
27 and must not be misrepresented as being the original software.
28 
29 3. This notice may not be removed or altered from any source distribution.
30 
31 
32 */
33 
34 #ifndef EESCENEGRAPH_H
35 #define EESCENEGRAPH_H
37 #include <string>
38 #include <vector>
39 #include "EEWidget.h"
40 //***********************Begin Of RenderList Class***************************
42 {
43 private:
44  std::string m_sNameOfRenenderList;
45  std::vector <EEWidget*> m_vEEWidgetList;
46  EEWidget * m_pLastSprocketFound;
47  int m_uiTotalEEWidgetCreated;
48 public:
49 
50  RenderList(const std::string & _name);
51  ~RenderList();
52 
53  friend class EpeeEngine;
54  std::string GetName();
55  void LoadAllEEWidget();
56  void UnloadAllEEWidget();
57  bool InsertSprocket(EEWidget * _newSprocket,bool _new=true);
58  bool DestroySprocket(const std::string & _name);
59  bool UpdateVectorlocation();
60  bool ChangeSprocketZ(EEWidget * _SprocketToChange,int _newZ);
61  EEWidget * FindEEWidget(const std::string & _name);
62  unsigned int GetTotalSprockesCreated();
63  void RemoveSprocketFromList(EEWidget * _sprocketToErase);
64  void DrawAllEEWidget(bool _bToggle);
65 
66 };
67 //***********************End Of RenderList Class***************************
68 
69 
70 #endif // EESCENEGRAPH_H
~RenderList()
Definition: EESceneGraph.cpp:47
bool ChangeSprocketZ(EEWidget *_SprocketToChange, int _newZ)
Definition: EESceneGraph.cpp:154
bool InsertSprocket(EEWidget *_newSprocket, bool _new=true)
Definition: EESceneGraph.cpp:72
unsigned int GetTotalSprockesCreated()
Definition: EESceneGraph.cpp:233
Definition: EpeeEngine.h:101
bool UpdateVectorlocation()
Definition: EESceneGraph.cpp:144
void LoadAllEEWidget()
Definition: EESceneGraph.cpp:170
EEWidget * FindEEWidget(const std::string &_name)
Definition: EESceneGraph.cpp:198
RenderList(const std::string &_name)
Definition: EESceneGraph.cpp:39
Definition: EEWidget.h:43
bool DestroySprocket(const std::string &_name)
Definition: EESceneGraph.cpp:115
Definition: EESceneGraph.h:41
std::string GetName()
Definition: EESceneGraph.cpp:66
void RemoveSprocketFromList(EEWidget *_sprocketToErase)
Definition: EESceneGraph.cpp:238
void UnloadAllEEWidget()
Definition: EESceneGraph.cpp:186
void DrawAllEEWidget(bool _bToggle)
Definition: EESceneGraph.cpp:163