ProjectionGridTool.h

Go to the documentation of this file.
00001 // -*- c-basic-offset: 4 -*-
00022 #ifndef _PROJECTION_GRID_TOOL_H
00023 #define _PROJECTION_GRID_TOOL_H
00024 
00025 #include "Tool.h"
00026 
00030 class ProjectionGridTool
00031 {
00032 public:
00033     ProjectionGridTool(ToolHelper* helper);
00034     virtual ~ProjectionGridTool();
00035     
00036 protected:
00037 
00038     bool createTexture();
00039 
00040     bool texture_created;
00041     unsigned int texture_num;
00042 
00043     MeshManager::MeshInfo * mesh_info;
00044 
00045     ToolHelper* helper_g;
00046 
00047 };
00048 
00049 class PreviewProjectionGridTool : public PreviewTool, public ProjectionGridTool
00050 {
00051 public:
00052     void Activate();
00053     PreviewProjectionGridTool(PreviewToolHelper *helper) : PreviewTool(helper), ProjectionGridTool(helper) {}
00054 
00055     void createMesh();
00056 
00057     void AfterDrawImagesEvent();
00058     void BeforeDrawImagesEvent();
00059 protected:
00060 
00061 };
00062 
00063 class PanosphereOverviewProjectionGridTool : public PanosphereOverviewTool, public ProjectionGridTool
00064 {
00065 public:
00066     void Activate();
00067     PanosphereOverviewProjectionGridTool(PanosphereOverviewToolHelper *helper) : PanosphereOverviewTool(helper), ProjectionGridTool(helper) {}
00068 
00069     void createMesh();
00070 
00071     void AfterDrawImagesBackEvent();
00072     void BeforeDrawImagesBackEvent();
00073 
00074     void AfterDrawImagesFrontEvent();
00075     void BeforeDrawImagesFrontEvent();
00076 protected:
00077 
00078 };
00079 
00080 #endif
00081 

Generated on Sun Aug 31 01:25:36 2014 for Hugintrunk by  doxygen 1.3.9.1