osgWidget::PdfImage Class Reference

Pure virtual base class for interfacing with implementation of PDF reader. More...

Inheritance diagram for osgWidget::PdfImage:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 PdfImage ()
void setBackgroundColor (const osg::Vec4 &backgroundColor)
const osg::Vec4getBackgroundColor () 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


Detailed Description

Pure virtual base class for interfacing with implementation of PDF reader.


Constructor & Destructor Documentation

osgWidget::PdfImage::PdfImage (  )  [inline]

virtual osgWidget::PdfImage::~PdfImage (  )  [inline, protected, virtual]


Member Function Documentation

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.

bool osgWidget::PdfImage::next (  )  [inline]

References _pageNum, and page().

virtual bool osgWidget::PdfImage::page ( int  pageNum  )  [pure virtual]

Referenced by next(), and previous().

bool osgWidget::PdfImage::previous (  )  [inline]

References _pageNum, and page().

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.


Member Data Documentation

Referenced by getPageNum(), next(), and previous().


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

osg logo
Generated at Mon Feb 23 17:56:24 2009 for the OpenSceneGraph by doxygen 1.5.8.