Hi Aditi,
I presuem you mean osgProducer::Viewer as there isn't a
Producer::Viewer class. There arn't any resize funciton in the Viewer
class as it designed to manage things at a high level, with the
windows managed within it via Producer.
Within Producer you'll find Producer::RenderSurface, and it has a method
void setWindowRectangle( int x, int y, unsigned int width,
unsigned int height, bool resize=true );
The Viewer classes has a list of Producer::Camera, each of which has
(and can share) a Producer::RenderSurface.
Robert.
On 6/22/06, Aditi Goswami <[EMAIL PROTECTED]> wrote:
Hello all,
I was trying to find a function which could let me set the size of my
window using Producer::Viewer class but i m unable to do so. Please lemme
know if there is such a function available. If not, please tell me the
alternative class which i can look into.
Thanks
Aditi
--
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/