ODGauge();
virtual ~ODGauge();
- void setSystemAdapter(const SystemAdapterPtr& system_adapter);
-
/**
* Set the size of the render target.
*
*/
void setViewSize(int width, int height = -1);
+ osg::Vec2s getViewSize() const;
+
/**
* DEPRECATED
*
* Say if we can render to a texture.
* @return true if rtt is available
*/
- bool serviceable(void);
+ bool serviceable() const;
/**
* Get the OSG camera for drawing this gauge.
protected:
- SystemAdapterPtr _system_adapter;
-
int _size_x,
_size_y,
_view_width,