ProjectionGridTool Class Reference

tool to draw a grid to create correspondence between the overview and the preview More...

#include <ProjectionGridTool.h>

Inheritance diagram for ProjectionGridTool:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ProjectionGridTool (ToolHelper *helper)
virtual ~ProjectionGridTool ()

Protected Member Functions

bool createTexture ()
 create the texture by iterating through each pixela and checking how much each pixel should be filled

Protected Attributes

bool texture_created
unsigned int texture_num
MeshManager::MeshInfomesh_info
ToolHelperhelper_g

Detailed Description

tool to draw a grid to create correspondence between the overview and the preview

Definition at line 30 of file ProjectionGridTool.h.


Constructor & Destructor Documentation

ProjectionGridTool::ProjectionGridTool ( ToolHelper helper  ) 

Definition at line 42 of file ProjectionGridTool.cpp.

References mesh_info, and texture_created.

ProjectionGridTool::~ProjectionGridTool (  )  [virtual]

Definition at line 48 of file ProjectionGridTool.cpp.

References mesh_info.


Member Function Documentation

bool ProjectionGridTool::createTexture (  )  [protected]

create the texture by iterating through each pixela and checking how much each pixel should be filled

Definition at line 253 of file ProjectionGridTool.cpp.

References DEBUG_ERROR, DEBUG_INFO, ViewState::GetSupportMultiTexture(), ToolHelper::GetViewStatePtr(), helper_g, celeste::min(), texture_created, and texture_num.

Referenced by PanosphereOverviewProjectionGridTool::AfterDrawImagesBackEvent(), PreviewProjectionGridTool::AfterDrawImagesEvent(), and PanosphereOverviewProjectionGridTool::AfterDrawImagesFrontEvent().


Member Data Documentation

ToolHelper* ProjectionGridTool::helper_g [protected]

Definition at line 45 of file ProjectionGridTool.h.

Referenced by createTexture().

MeshManager::MeshInfo* ProjectionGridTool::mesh_info [protected]

Definition at line 43 of file ProjectionGridTool.h.

Referenced by PanosphereOverviewProjectionGridTool::AfterDrawImagesBackEvent(), PreviewProjectionGridTool::AfterDrawImagesEvent(), PanosphereOverviewProjectionGridTool::AfterDrawImagesFrontEvent(), PanosphereOverviewProjectionGridTool::createMesh(), PreviewProjectionGridTool::createMesh(), ProjectionGridTool(), and ~ProjectionGridTool().

bool ProjectionGridTool::texture_created [protected]

Definition at line 40 of file ProjectionGridTool.h.

Referenced by PanosphereOverviewProjectionGridTool::AfterDrawImagesBackEvent(), PreviewProjectionGridTool::AfterDrawImagesEvent(), PanosphereOverviewProjectionGridTool::AfterDrawImagesFrontEvent(), createTexture(), and ProjectionGridTool().

unsigned int ProjectionGridTool::texture_num [protected]

Definition at line 41 of file ProjectionGridTool.h.

Referenced by PanosphereOverviewProjectionGridTool::AfterDrawImagesBackEvent(), PreviewProjectionGridTool::AfterDrawImagesEvent(), PanosphereOverviewProjectionGridTool::AfterDrawImagesFrontEvent(), and createTexture().


The documentation for this class was generated from the following files:
Generated on 5 Dec 2014 for Hugintrunk by  doxygen 1.4.7