Public Member Functions | |
| PdfImage () | |
| void | setBackgroundColor (const osg::Vec4 &backgroundColor) |
| const osg::Vec4 & | getBackgroundColor () const |
| int | getPageNum () const |
| virtual int | getNumOfPages ()=0 |
| virtual bool | page (int pageNum)=0 |
| bool | previous () |
| bool | next () |
| void | setNextPageKeyEvent (int key) |
| int | getNextPageKeyEvent () const |
| void | setPreviousPageKeyEvent (int key) |
| int | getPreviousPageKeyEvent () const |
Protected Member Functions | |
| virtual | ~PdfImage () |
Protected Attributes | |
| osg::Vec4 | _backgroundColor |
| int | _pageNum |
| int | _nextPageKeyEvent |
| int | _previousPageKeyEvent |
Pure virtual base class for interfacing with implementation of PDF reader.
| osgWidget::PdfImage::PdfImage | ( | ) | [inline] |
| virtual osgWidget::PdfImage::~PdfImage | ( | ) | [inline, protected, virtual] |
| const osg::Vec4& osgWidget::PdfImage::getBackgroundColor | ( | ) | const [inline] |
References _backgroundColor.
| int osgWidget::PdfImage::getNextPageKeyEvent | ( | ) | const [inline] |
References _nextPageKeyEvent.
| virtual int osgWidget::PdfImage::getNumOfPages | ( | ) | [pure virtual] |
| int osgWidget::PdfImage::getPageNum | ( | ) | const [inline] |
References _pageNum.
| int osgWidget::PdfImage::getPreviousPageKeyEvent | ( | ) | const [inline] |
References _previousPageKeyEvent.
| virtual bool osgWidget::PdfImage::page | ( | int | pageNum | ) | [pure virtual] |
Referenced by next(), and previous().
| void osgWidget::PdfImage::setBackgroundColor | ( | const osg::Vec4 & | backgroundColor | ) | [inline] |
References _backgroundColor.
| void osgWidget::PdfImage::setNextPageKeyEvent | ( | int | key | ) | [inline] |
References _nextPageKeyEvent.
| void osgWidget::PdfImage::setPreviousPageKeyEvent | ( | int | key | ) | [inline] |
References _previousPageKeyEvent.
osg::Vec4 osgWidget::PdfImage::_backgroundColor [protected] |
Referenced by getBackgroundColor(), and setBackgroundColor().
int osgWidget::PdfImage::_nextPageKeyEvent [protected] |
Referenced by getNextPageKeyEvent(), and setNextPageKeyEvent().
int osgWidget::PdfImage::_pageNum [protected] |
Referenced by getPageNum(), next(), and previous().
int osgWidget::PdfImage::_previousPageKeyEvent [protected] |
Referenced by getPreviousPageKeyEvent(), and setPreviousPageKeyEvent().
1.7.1