Definition at line 157 of file fbvideo.h.
Public Member Functions |
|
FBVideoClip (char *pName, HIObject pObject=NULL) | |
Constructor. |
|
virtual void | FBDelete () |
Open Reality deletion function. |
|
bool | IsValid () |
Verifies the validity of the FBVideo
object. |
|
virtual void | DrawImage (int pX=0, int pY=0, int pW=-1, int pH=-1, int pFrame=-1) |
Draw a frame of the image to the current
view. |
|
virtual unsigned char * | GetImage (int pFrame=-1) |
Get the current image buffer. |
|
virtual unsigned char * | GetPowerOfTwoImage () |
Get the current image buffer resized with
width and height power of two. |
|
int | GetTextureID () |
Get the texture ID. |
|
Public Attributes |
|
FBPropertyString | Filename |
Read Write Property: Filename of
media. |
|
FBPropertyString | RelativePath |
Read Only Property: Relative path of
media. |
|
FBPropertyVideoProxyMode | ProxyMode |
Read Write Property: Proxy mode.
|
|
FBPropertyVideoStorageMode | StorageMode |
Read Write Property: Storage mode.
|
|
FBPropertyInt | Width |
Read Only Property: Width of image.
|
|
FBPropertyInt | Height |
Read Only Property: Height of image.
|
|
FBPropertyInt | PowerOfTwoWidth |
Read Only Property: Closest power of
two walue superior to width of image. |
|
FBPropertyInt | PowerOfTwoHeight |
Read Only Property: Closest power of
two walue superior to height of image. |
|
FBPropertyVideoInterlaceMode | InterlaceMode |
Read Write Property: Interlace mode.
|
|
FBPropertyVideoFormat | Format |
Read Only Property: Video format.
|
|
FBPropertyTime | TimeOffset |
Read Write Property: Temporal offset
for beginning of video. |
|
FBPropertyInt | StartFrame |
Read Write Property: Frame to begin
video playback from. |
|
FBPropertyInt | StopFrame |
Read Write Property: Frame to end
video playback at. |
|
FBPropertyDouble | FPS |
Read Only Property: Frame rate.
|
|
FBPropertyDouble | PlaySpeed |
Read Write Property: Playback speed.
|
|
FBPropertyBool | FreeRunning |
Read Write Property: Is free Running
on? |
|
FBPropertyBool | Loop |
Read Write Property: Loop video clip?
|
|
FBPropertyTime | FrameTime |
Read Only Property: Inverse of FPS,
time per frame |
|
FBPropertyInt | CurrentFrame |
Read Write Property: Current frame.
|
|
FBPropertyInt | LastFrame |
Read Only Property: Last frame in
clip. |
|
FBPropertyTime | LastFrameTime |
Read Only Property: Time of last
frame |
|
FBPropertyTime | CurrentFrameTime |
Read Write Property: Current time in
clip. |
FBVideoClip | ( | char * | pName, | |
HIObject | pObject = NULL |
|||
) |
Constructor.
pName | Name of video media. | |
pObject | Internal parent object(default=NULL). |
virtual void FBDelete | ( | ) | [virtual] |
Open Reality deletion function.
Reimplemented from FBComponent.
bool IsValid | ( | ) |
Verifies the validity of the FBVideo object.
virtual void DrawImage | ( | int | pX = 0 , |
|
int | pY = 0 , |
|||
int | pW = -1 , |
|||
int | pH = -1 , |
|||
int | pFrame = -1 |
|||
) | [virtual] |
Draw a frame of the image to the current view.
pX | X position of image (default=0). | |
pY | Y position of image (default=0). | |
pW | Width of image (default=-1). | |
pH | Height of image (default=-1). | |
pFrame | Frame to draw (default=-1). |
virtual unsigned char* GetImage | ( | int | pFrame = -1 |
) | [virtual] |
Get the current image buffer.
pFrame | Frame to get image for (default=-1). |
virtual unsigned char* GetPowerOfTwoImage | ( | ) | [virtual] |
Get the current image buffer resized with width and height power of two.
int GetTextureID | ( | ) |
Get the texture ID.
FBPropertyVideoProxyMode ProxyMode |
FBPropertyVideoStorageMode StorageMode |
FBPropertyVideoInterlaceMode InterlaceMode |
FBPropertyVideoFormat Format |