The quick way to do this is to clip the image as necessary to make the aspect ratio right, then resize to desired width and height.
Later replace the render panel with ogre render to texture which would be fixed to the right width and height, and maybe there is no panel display at all, the user could have an Image rviz plugin if they want to see the output.
The quick way to do this is to clip the image as necessary to make the aspect ratio right, then resize to desired width and height.
Later replace the render panel with ogre render to texture which would be fixed to the right width and height, and maybe there is no panel display at all, the user could have an Image rviz plugin if they want to see the output.