#include <OverviewOutlinesTool.h>
Inheritance diagram for OverviewOutlinesTool:

Public Member Functions | |
| OverviewOutlinesTool (ToolHelper *, GLViewer *preview) | |
| virtual | ~OverviewOutlinesTool () |
| void | panoramaChanged (HuginBase::PanoramaData &pano) |
| void | panoramaImagesChanged (HuginBase::PanoramaData &, const HuginBase::UIntSet &) |
| virtual void | drawBackground () |
| drawing the background means drawing a mesh that covers the whole panorama for the purpose of darkening the regions outside of the preview canvas | |
Protected Member Functions | |
| void | draw () |
| void | DrawRect (double left, double top, double right, double bottom, bool outline, double linewidth=1.0) |
Protected Attributes | |
| ToolHelper * | thelper |
| bool | dirty_meshes |
| GLViewer * | preview |
| unsigned int | display_list_number_canvas |
| unsigned int | display_list_number_crop |
| unsigned int | display_list_number_canvas_outline |
| unsigned int | display_list_number_crop_outline |
Static Protected Attributes | |
| const double | res = 10 |
| const double | mindist = 2 |
it has two modes of operation:
Definition at line 43 of file OverviewOutlinesTool.h.
|
||||||||||||
|
Definition at line 46 of file OverviewOutlinesTool.cpp. References HuginBase::Panorama::addObserver(), ToolHelper::GetPanoramaPtr(), and thelper. |
|
|
Definition at line 56 of file OverviewOutlinesTool.cpp. |
|
|
|
drawing the background means drawing a mesh that covers the whole panorama for the purpose of darkening the regions outside of the preview canvas
Reimplemented in PanosphereOverviewOutlinesTool, and PlaneOverviewOutlinesTool. Definition at line 91 of file OverviewOutlinesTool.h. Referenced by draw(). |
|
||||||||||||||||||||||||||||
|
|
Definition at line 60 of file OverviewOutlinesTool.cpp. References dirty_meshes, VisualizationState::ForceRequireRedraw(), ToolHelper::GetVisualizationStatePtr(), and thelper. |
|
||||||||||||
|
Definition at line 51 of file OverviewOutlinesTool.h. |
|
|
Definition at line 101 of file OverviewOutlinesTool.h. Referenced by draw(), and panoramaChanged(). |
|
|
Definition at line 110 of file OverviewOutlinesTool.h. Referenced by draw(). |
|
|
Definition at line 112 of file OverviewOutlinesTool.h. Referenced by draw(). |
|
|
Definition at line 111 of file OverviewOutlinesTool.h. Referenced by draw(). |
|
|
Definition at line 113 of file OverviewOutlinesTool.h. Referenced by draw(). |
|
|
Definition at line 44 of file OverviewOutlinesTool.cpp. Referenced by DrawRect(). |
|
|
Definition at line 108 of file OverviewOutlinesTool.h. Referenced by draw(), and DrawRect(). |
|
|
Definition at line 43 of file OverviewOutlinesTool.cpp. Referenced by DrawRect(), and OverviewOutlinesTool::Rect::transformImgCoord(). |
|
|
Definition at line 99 of file OverviewOutlinesTool.h. Referenced by draw(), DrawRect(), OverviewOutlinesTool(), and panoramaChanged(). |
1.3.9.1