OpenSceneGraph
Public Member Functions | Protected Attributes | List of all members
osgViewer::ViewForPanoramicSphericalDisplay Class Reference

spherical display by rendering main scene to a panoramic 2:1 texture and then doing distortion correction to present onto a spherical display. More...

Inheritance diagram for osgViewer::ViewForPanoramicSphericalDisplay:
Inheritance graph
[legend]
Collaboration diagram for osgViewer::ViewForPanoramicSphericalDisplay:
Collaboration graph
[legend]

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 &copyop=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::ImagegetIntensityMap () const
 
void setProjectionMatrix (const osg::Matrixd &m)
 
const osg::MatrixdgetProjectionMatrix () const
 

Protected Attributes

double _radius
 
double _collar
 
unsigned int _screenNum
 
osg::ref_ref< osg::Image_intensityMap
 
osg::Matrixd _projectorMatrix
 

Detailed Description

spherical display by rendering main scene to a panoramic 2:1 texture and then doing distortion correction to present onto a spherical display.


The documentation for this class was generated from the following file: