|
| H3DVideoClipDecoderNode () |
| Constructor.
|
|
virtual bool | loadClip (const string &url)=0 |
| Pure virtual function to load an video clip from a url. More...
|
|
virtual bool | haveNewFrame ()=0 |
| Returns true when a new frame is available.
|
|
virtual void | getNewFrame (unsigned char *buffer)=0 |
| Get the new frame. The buffer must be at least getFrameSize() bytes.
|
|
virtual unsigned int | getFrameSize ()=0 |
| The size in bytes of the current frame.
|
|
virtual unsigned int | getFrameWidth ()=0 |
| The width in pixels of the current frame.
|
|
virtual unsigned int | getFrameHeight ()=0 |
| The height in pixels of the current frame.
|
|
virtual Image::PixelType | getFramePixelType ()=0 |
| The pixel type of the current frame.
|
|
virtual unsigned int | getFrameByteAlignment () |
| The byte alignment of each row in the buffer data from getNewFrame.
|
|
virtual Image::PixelComponentType | getFramePixelComponentType ()=0 |
| The pixel component type of the current frame.
|
|
virtual unsigned int | getFrameBitsPerPixel ()=0 |
| Get the number of bits per pixel in the current frame.
|
|
virtual void | startPlaying ()=0 |
| Start decoding the video clip.
|
|
virtual void | stopPlaying ()=0 |
| Stop decoding the video clip and set the position to the start position.
|
|
virtual void | pausePlaying ()=0 |
| Pause the decoding of the video clip.
|
|
virtual void | setLooping (bool on)=0 |
| Set whether the clip should loop and start from the start again when the end has been reached.
|
|
virtual H3DTime | getPosition ()=0 |
| Get the current position in the clip (in seconds from start position)
|
|
virtual void | setPosition (H3DTime pos)=0 |
| Set the current position in the clip(in seconds from start position)
|
|
virtual bool | setRate (double r)=0 |
| Set the playback rate. More...
|
|
virtual H3DTime | getDuration ()=0 |
| Returns the duration in seconds at normal play rate of the currently loaded video clip.
|
|
PlayStatus | getPlayStatus () |
| Returns the current play status.
|
|
virtual string | defaultXMLContainerField () |
| Returns the default xml containerField attribute value. More...
|
|
| Node () |
| Constructor.
|
|
virtual Node * | clone (bool deepCopy=true, DeepCopyMap *deepCopyMap=NULL) |
| Returns a new instance of this node type with the same state as this one. More...
|
|
virtual | ~Node () |
| Destructor.
|
|
X3DPrototypeInstance * | getProtoInstanceParent () |
| If this node is the root node in the proto body of a X3DPrototypeInstance then this will return that node. More...
|
|
void | setProtoInstanceParent (X3DPrototypeInstance *p) |
| Set the X3DPrototypeInstance this node is the the root node if applicaple.
|
|
virtual void | render () |
| the render() function is used for the depth-first rendering traversal of the scene-graph. More...
|
|
virtual void | traverseSG (TraverseInfo &ti) |
| traverseSG is called once per scenegraph loop on the scene in order to traverse the scenegraph. More...
|
|
virtual bool | lineIntersect (const Vec3f &from, const Vec3f &to, LineIntersectResult &result) |
| Detect intersection between a line segment and the Node. More...
|
|
virtual void | closestPoint (const Vec3f &p, NodeIntersectResult &result) |
| Find closest point on Node to p. More...
|
|
virtual bool | movingSphereIntersect (H3DFloat radius, const Vec3f &from, const Vec3f &to, NodeIntersectResult &result) |
| Detect collision between a moving sphere and the Node. More...
|
|
virtual Field * | getField (const string &_name) const |
| return a pointer to the field specified by name within this instance
|
|
int | addDestructCallback (void(*func)(Node *, void *), void *args) |
| Add a callback function to be run on destruction of node. More...
|
|
int | removeDestructCallback (void(*func)(Node *, void *), void *args) |
| Add a callback function to be run on destruction of node. More...
|
|
H3DVideoClipDecoderNode is a virtual base class for classes decoding video clips making new frames available to render.