float viewportHeight() const;
//! return width of the viewport in world coordinates
float viewportWidth() const;
+
+ //! return viewport height in pixels
+ int viewportPixelHeight() const;
+ //! return viewport width in pixels
+ int viewportPixelWidth() const;
//! zoom out far enough to show the full size of the sequence
double zoomOut();
float viewport_center;
double zoom_level;
boost::shared_ptr<AnnotationColors> color_mapper;
- //! container of all the GlSequences loaded into our scene
- std::vector<boost::shared_ptr<GlSequence> > track_container;
//! counter for each path added to us via connect
int pathid;
protected:
+ //! container of all the GlSequences loaded into our scene
+ std::vector<boost::shared_ptr<GlSequence> > track_container;
//! where to draw our box (world coordinates)
rect<float> selectedRegion;
//! true if we have a selection