OpenSceneGraph
|
spherical display by rendering main scene to a panoramic 2:1 texture and then doing distortion correction to present onto a spherical display. More...
Public Member Functions | |
ViewForPanoramicSphericalDisplay (double radius=1.0, double collar=0.45, unsigned int screenNum=0, osg::Image *intensityMap=0, const osg::Matrixd &projectorMatrix=osg::Matrixd()) | |
ViewForPanoramicSphericalDisplay (const ViewForPanoramicSphericalDisplay &rhs, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
META_Object (osgViewer, ViewOnSingleScreen) | |
virtual void | configure (osgViewer::View &view) const |
void | setRadius (double r) |
double | getRadius () const |
void | setCollar (double r) |
double | getCollar () const |
void | setScreenNum (unsigned int n) |
unsigned int | getScreenNum () const |
void | setIntensityMap (osg::Image *im) |
const osg::Image * | getIntensityMap () const |
void | setProjectionMatrix (const osg::Matrixd &m) |
const osg::Matrixd & | getProjectionMatrix () const |
Protected Attributes | |
double | _radius |
double | _collar |
unsigned int | _screenNum |
osg::ref_ref< osg::Image > | _intensityMap |
osg::Matrixd | _projectorMatrix |
spherical display by rendering main scene to a panoramic 2:1 texture and then doing distortion correction to present onto a spherical display.