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

Revision 3216, 736 bytes checked in by mattausch, 16 years ago (diff)
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        /** Converts this box to a scene entity
26        */
27        SceneEntity *ConvertBox(const AxisAlignedBox3 &box, Material *mat, Transform3 *trafo); 
28        /** Converts the box to a scene entity
29        */
30        SceneEntity *ConvertSphere(float radius, float xspans, float yspans, Material *mat, Transform3 *trafo);
31};
32
33}
34
35#endif // __SCENEENTITYCONVERTER_H
Note: See TracBrowser for help on using the repository browser.