SourceForge has been redesigned. Learn more.
Close

Diff of /src/panocanvas.h [c4131a] .. [800bc1]  Maximize  Restore

Switch to side-by-side view

--- a/src/panocanvas.h
+++ b/src/panocanvas.h
@@ -158,6 +158,17 @@
   const CPosition &getPosition();
   void createPanorama(const wxImage &image);
   void deletePanorama();
+
+  const CBoundaries &getImageBoundaries() const
+  {
+    return m_imageboundaries;
+  }
+
+  void setImageBoundaries(const CBoundaries &newboundaries)
+  {
+    m_imageboundaries = newboundaries;
+  }
+
 protected:
   void position();
   void showPanorama();
@@ -180,9 +191,12 @@
   double   m_thetainterval;
   double   m_phistep;
   double   m_thetastep;
+  double   m_phistart;
+  double   m_thetastart;
   double   m_maxtexturex;
   double   m_maxtexturey;
-  CBoundaries m_currentboundaries;  
+  CBoundaries m_currentboundaries;
+  CBoundaries m_imageboundaries;
   bool     m_initialized;
   DECLARE_EVENT_TABLE();
 };