00001
00007 #ifndef VIEW_MANAGER_H
00008 #define VIEW_MANAGER_H
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00023
00032 typedef enum {SEQUENTIAL,SUBDIVISION} ClippingChoice;
00033 typedef bool CullingChoice;
00034
00035 typedef struct ViewManagerRegime {
00036
00037 ClippingChoice clip_choice = SEQUENTIAL;
00038 CullingChoice cull_choice = TRUE;
00039
00040 } ViewManagerRegime;
00041
00042 class ViewManager {
00043
00044 public :
00045
00047 static void init(const ViewManagerRegime ®ime);
00049 static Scene &clip(Scene &scene);
00050
00051 private :
00052
00054 static AffineTransform &mclip
00055
00056
00057 };
00058
00059
00060 #endif //VIEW_MANAGER_H