source: GTP/trunk/App/Demos/Vis/FriendlyCulling/src/SceneEntityConverter.h @ 2953

Revision 2953, 770 bytes checked in by mattausch, 16 years ago (diff)

started different stuff

Line 
1#ifndef __SCENEENTITYCONVERTER_H
2#define __SCENEENTITYCONVERTER_H
3
4#include "common.h"
5#include "AxisAlignedBox3.h"
6
7
8namespace CHCDemoEngine
9{
10
11class Material;
12class Transform3;
13class Camera;
14class SceneEntity;
15
16/** Class that converts geometric objects to scene entities
17*/
18class SceneEntityConverter
19{
20public:
21       
22        /** Creates a scene entity.
23        */
24        SceneEntityConverter() {};
25       
26        //~SceneEntityConverter();
27
28        /** Converts this box to a scene entity
29        */
30        SceneEntity *ConvertBox(const AxisAlignedBox3 &box, Material *mat, Transform3 *trafo); 
31        /** Converts the box to a scene entity
32        */
33        SceneEntity *ConvertSphere(float radius, float xspans, float yspans, Material *mat, Transform3 *trafo);
34};
35
36}
37
38#endif // __SCENEENTITYCONVERTER_H
Note: See TracBrowser for help on using the repository browser.