
Public Member Functions | |
| GenericVideo () | |
| Default constructor. | |
| GenericVideo (const GenericVideo &container, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| Copy constructor. | |
| GenericVideo & | operator= (const GenericVideo &) |
| assignemnt operator. | |
| virtual osg::Object * | cloneType () const |
| virtual osg::Object * | clone (const osg::CopyOp ©op) const |
| virtual bool | isSameKindAs (const osg::Object *obj) const |
| virtual const char * | libraryName () const |
| virtual const char * | className () const |
| int | getWidth () const |
| x size of the GenericVideo. | |
| int | getHeight () const |
| y size of the GenericVideo. | |
| virtual int | getID () const |
| get GenericVideo id. | |
| OpenThreads::Mutex & | getMutex () |
| Get the mutex for a video object to lock against read/write operations. | |
| Field * | get (const std::string &name) |
| Access a field by its name. | |
| virtual VideoConfiguration * | getVideoConfiguration () |
| Get the video configuration struct. | |
| void | setFlip (bool horizontal, bool vertical) |
| Set internal flipping. | |
Static Public Member Functions | |
| static GenericVideo * | cast (osg::Referenced *instance) |
| Needed for plugin loaded objects which are used in other languages which don't support dynamic casting (e.g. | |
Protected Member Functions | |
| virtual | ~GenericVideo () |
| destructor. | |
Protected Attributes | |
| bool | m_vertical_flip |
| bool | m_horizontal_flip |
| int | m_video_id |
| OpenThreads::Mutex | m_mutex |
Static Protected Attributes | |
| static int | videoNum |
| osgART::GenericVideo::GenericVideo | ( | ) |
Initializes also the FieldContainer explicitly.
| osgART::GenericVideo::GenericVideo | ( | const GenericVideo & | container, | |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY | |||
| ) |
Needed for cloning in OSG
| virtual osgART::GenericVideo::~GenericVideo | ( | ) | [protected, virtual] |
| GenericVideo& osgART::GenericVideo::operator= | ( | const GenericVideo & | ) |
| virtual osg::Object* osgART::GenericVideo::cloneType | ( | ) | const [inline, virtual] |
Reimplemented from osgART::VideoImageStream.
| virtual osg::Object* osgART::GenericVideo::clone | ( | const osg::CopyOp & | copyop | ) | const [inline, virtual] |
Reimplemented from osgART::VideoImageStream.
| virtual bool osgART::GenericVideo::isSameKindAs | ( | const osg::Object * | obj | ) | const [inline, virtual] |
Reimplemented from osgART::VideoImageStream.
| virtual const char* osgART::GenericVideo::libraryName | ( | ) | const [inline, virtual] |
Reimplemented from osgART::VideoImageStream.
| virtual const char* osgART::GenericVideo::className | ( | ) | const [inline, virtual] |
Reimplemented from osgART::VideoImageStream.
| int osgART::GenericVideo::getWidth | ( | ) | const |
| int osgART::GenericVideo::getHeight | ( | ) | const |
| virtual int osgART::GenericVideo::getID | ( | ) | const [virtual] |
| OpenThreads::Mutex& osgART::GenericVideo::getMutex | ( | ) | [inline] |
| Field* osgART::GenericVideo::get | ( | const std::string & | name | ) |
You need to cast the field into its respective type in order to access it.
| name | Name of the field |
Reimplemented from osgART::FieldContainer< T >.
| virtual VideoConfiguration* osgART::GenericVideo::getVideoConfiguration | ( | ) | [virtual] |
| void osgART::GenericVideo::setFlip | ( | bool | horizontal, | |
| bool | vertical | |||
| ) |
| horizontal | switch on and off horizontal flipping | |
| vertical | switch on and off vertical flipping |
| static GenericVideo* osgART::GenericVideo::cast | ( | osg::Referenced * | instance | ) | [static] |
Python)
| instance | instance to be casted to a tracker |
bool osgART::GenericVideo::m_vertical_flip [protected] |
bool osgART::GenericVideo::m_horizontal_flip [protected] |
int osgART::GenericVideo::m_video_id [protected] |
int osgART::GenericVideo::videoNum [static, protected] |
OpenThreads::Mutex osgART::GenericVideo::m_mutex [protected] |
1.5.6