This reference page is linked to from the following overview topics: 2012.1, List of Python FBX classes.
FBX SDK video class.
Definition at line 32 of file kfbxvideo.h.
#include <kfbxvideo.h>
Public Types |
|
enum | EInterlaceMode
{ None, Fields, HalfEven, HalfOdd, FullEven, FullOdd, FullEvenOdd, FullOddEven } |
Video interlace modes. More... |
|
enum | EAccessMode { Disk, Memory, DiskAsync } |
Video clip access mode. More... |
|
Public Member Functions |
|
double | GetFrameRate () const |
Retrieve the Frame rate of the video clip.
|
|
int | GetLastFrame () const |
Retrieve the last frame of the video clip.
|
|
int | GetWidth () const |
Retrieve the clip width. |
|
int | GetHeight () const |
Retrieve the clip height. |
|
void | SetStartFrame (int pStartFrame) |
Set the start frame of the video clip.
|
|
int | GetStartFrame () const |
Retrieve the start frame of the video clip.
|
|
void | SetStopFrame (int pStopFrame) |
Set the stop frame of the video clip.
|
|
int | GetStopFrame () const |
Retrieve the stop frame of the video clip.
|
|
void | SetPlaySpeed (double pPlaySpeed) |
Set the play speed of the video clip.
|
|
double | GetPlaySpeed () const |
Retrieve the play speed of the video clip.
|
|
void | SetOffset (KTime pTime) |
Set the time offset. |
|
KTime | GetOffset () const |
void | SetFreeRunning (bool pState) |
Set the Free Running state of the video
clip. |
|
bool | GetFreeRunning () const |
Retrieve the Free Running state. |
|
void | SetLoop (bool pLoop) |
Set the Loop state of the video clip.
|
|
bool | GetLoop () const |
Retrieve the Loop state. |
|
void | SetInterlaceMode (EInterlaceMode pInterlaceMode) |
Set the Interlace mode. |
|
EInterlaceMode | GetInterlaceMode () const |
Retrieve the Interlace mode. |
|
void | SetAccessMode (EAccessMode pAccessMode) |
Set the clip Access Mode. |
|
EAccessMode | GetAccessMode () const |
Retrieve the clip Access Mode. |
|
virtual KFbxObject & | Copy (const KFbxObject &pObject) |
Copy an object content into this object.
|
|
virtual KStringList | GetTypeFlags () const |
void | SetOriginalFormat (bool pState) |
bool | GetOriginalFormat () const |
void | SetOriginalFilename (const char *pOriginalFilename) |
const char * | GetOriginalFilename () const |
Protected Member Functions |
|
KFbxVideo (KFbxSdkManager &pManager, char const *pName) | |
virtual void | Construct (const KFbxVideo *pFrom) |
virtual bool | ConstructProperties (bool pForceSet) |
virtual bool | ConnecNotify (KFbxConnectEvent const &pEvent) |
void | Init () |
Protected Attributes |
|
KFbxTypedProperty< fbxBool1 > | ImageSequence |
KFbxTypedProperty< fbxInteger1 > | ImageSequenceOffset |
KFbxTypedProperty< fbxDouble1 > | FrameRate |
KFbxTypedProperty< fbxInteger1 > | LastFrame |
KFbxTypedProperty< fbxInteger1 > | Width |
KFbxTypedProperty< fbxInteger1 > | Height |
KFbxTypedProperty< fbxString > | Path |
KFbxTypedProperty< fbxInteger1 > | StartFrame |
KFbxTypedProperty< fbxInteger1 > | StopFrame |
KFbxTypedProperty< fbxDouble1 > | PlaySpeed |
KFbxTypedProperty< fbxTime > | Offset |
KFbxTypedProperty< EInterlaceMode > | InterlaceMode |
KFbxTypedProperty< fbxBool1 > | FreeRunning |
KFbxTypedProperty< fbxBool1 > | Loop |
KFbxTypedProperty< EAccessMode > | AccessMode |
bool | mUseMipMap |
bool | mOriginalFormat |
KString | mOriginalFilename |
KString | mRelativeFilename |
Static Protected Attributes |
|
static KError | smError |
Reset video |
|
void | Reset () |
Reset the video to default values. |
|
Video attributes Management |
|
void | ImageTextureSetMipMap (bool pUseMipMap) |
Set the use of MipMap on the video. |
|
bool | ImageTextureGetMipMap () const |
Retrieve use MipMap state. |
|
bool | SetFileName (char const *pName) |
Specify the Video full filename. |
|
KString | GetFileName () const |
Retrieve the Video full filename. |
|
bool | SetRelativeFileName (char const *pName) |
Specify the Video relative filename.
|
|
const char * | GetRelativeFileName () const |
Retrieve the Video relative filename.
|
|
Image sequence attributes Management |
|
Besides storing video
clips, the KFbxVideo object can also store image
sequences.This section contains the manipulation methods used in
this specialized mode. Note that, except for the GetFileName(),
SetFileName(), GetRelativeFileName(),
SetRelativeFileName()
and the methods in this section, all the other ones are not
mandatory therefore could contain uninitialized or default data
values. |
|
void | SetImageSequence (bool pImageSequence) |
Specify if this video object is holding the
starting point of an image sequence. |
|
bool | GetImageSequence () const |
Get the current state of the ImageSequence
property. |
|
void | SetImageSequenceOffset (int pOffset) |
Specify the frame offset to be applied to
the image sequence. |
|
int | GetImageSequenceOffset () const |
Get the current value of the
ImageSequenceOffset property. |
|
Error Management |
|
enum | EError { eTAKE_NODE_ERROR, eERROR_COUNT } |
Error identifiers. More... |
|
KError & | GetError () |
Retrieve error object. |
|
EError | GetLastErrorID () const |
Get last error code. |
|
const char * | GetLastErrorString () const |
Get last error string. |
enum EInterlaceMode |
Video interlace modes.
Definition at line 210 of file kfbxvideo.h.
{ None, Fields, HalfEven, HalfOdd, FullEven, FullOdd, FullEvenOdd, FullOddEven } EInterlaceMode;
enum EAccessMode |
Video clip access mode.
Definition at line 235 of file kfbxvideo.h.
{ Disk, Memory, DiskAsync } EAccessMode;
enum EError |
Error identifiers.
Definition at line 264 of file kfbxvideo.h.
KFbxVideo | ( | KFbxSdkManager & | pManager, |
char const * | pName | ||
) | [protected] |
void Reset | ( | ) |
Reset the video to default values.
void ImageTextureSetMipMap | ( | bool | pUseMipMap | ) |
Set the use of MipMap on the video.
pUseMipMap | If true , use MipMap on the video. |
bool ImageTextureGetMipMap | ( | ) | const |
bool SetFileName | ( | char const * | pName | ) |
Specify the Video full filename.
pName | Video full filename. |
True
,if update successfully, false
otherwise.KString GetFileName | ( | ) | const |
bool SetRelativeFileName | ( | char const * | pName | ) |
Specify the Video relative filename.
pName | Video relative filename. |
True
, if update successfully, false
otherwise.const char* GetRelativeFileName | ( | ) | const |
void SetImageSequence | ( | bool | pImageSequence | ) |
Specify if this video object is holding the starting point of an image sequence.
pImageSequence | If true , this object is holding an image
sequence. |
bool GetImageSequence | ( | ) | const |
Get the current state of the ImageSequence property.
void SetImageSequenceOffset | ( | int | pOffset | ) |
Specify the frame offset to be applied to the image sequence.
pOffset | The frame offset value. |
int GetImageSequenceOffset | ( | ) | const |
Get the current value of the ImageSequenceOffset property.
double GetFrameRate | ( | ) | const |
int GetLastFrame | ( | ) | const |
int GetWidth | ( | ) | const |
int GetHeight | ( | ) | const |
void SetStartFrame | ( | int | pStartFrame | ) |
Set the start frame of the video clip.
pStartFrame | Start frame number. |
int GetStartFrame | ( | ) | const |
void SetStopFrame | ( | int | pStopFrame | ) |
Set the stop frame of the video clip.
pStopFrame | Stop frame number. |
int GetStopFrame | ( | ) | const |
void SetPlaySpeed | ( | double | pPlaySpeed | ) |
Set the play speed of the video clip.
pPlaySpeed | Playback speed of the clip. |
double GetPlaySpeed | ( | ) | const |
void SetOffset | ( | KTime | pTime | ) |
Set the time offset.
The offset can be used to shift the playback start time of the clip.
pTime | Time offset of the clip. |
KTime GetOffset | ( | ) | const |
void SetFreeRunning | ( | bool | pState | ) |
Set the Free Running state of the video clip.
The Free Running flag can be used by a client application to implement a playback scheme that is independent of the main timeline.
pState | State of the Free running flag. |
bool GetFreeRunning | ( | ) | const |
void SetLoop | ( | bool | pLoop | ) |
Set the Loop state of the video clip.
The Loop flag can be used by a client application to implement the loop playback of the video clip.
pLoop | State of the loop flag. |
bool GetLoop | ( | ) | const |
void SetInterlaceMode | ( | EInterlaceMode | pInterlaceMode | ) |
Set the Interlace mode.
pInterlaceMode | Interlace mode identifier. |
EInterlaceMode GetInterlaceMode | ( | ) | const |
void SetAccessMode | ( | EAccessMode | pAccessMode | ) |
Set the clip Access Mode.
pAccessMode | Clip access mode identifier. |
EAccessMode GetAccessMode | ( | ) | const |
KError& GetError | ( | ) |
EError GetLastErrorID | ( | ) | const |
const char* GetLastErrorString | ( | ) | const |
virtual void Construct | ( | const KFbxVideo * | pFrom | ) | [protected, virtual] |
virtual bool ConstructProperties | ( | bool | pForceSet | ) | [protected, virtual] |
Reimplemented from KFbxObject.
virtual bool ConnecNotify | ( | KFbxConnectEvent const & | pEvent | ) | [protected, virtual] |
Reimplemented from KFbxObject.
virtual KFbxObject& Copy | ( | const KFbxObject & | pObject | ) | [virtual] |
Copy an object content into this object.
pObject | The source object to copy data from. |
Reimplemented from KFbxObject.
virtual KStringList GetTypeFlags | ( | ) | const [virtual] |
Reimplemented from KFbxObject.
void SetOriginalFormat | ( | bool | pState | ) |
bool GetOriginalFormat | ( | ) | const |
void SetOriginalFilename | ( | const char * | pOriginalFilename | ) |
const char* GetOriginalFilename | ( | ) | const |
void Init | ( | ) | [protected] |
Definition at line 302 of file kfbxvideo.h.
KFbxTypedProperty<fbxBool1>
ImageSequence
[protected] |
Definition at line 304 of file kfbxvideo.h.
KFbxTypedProperty<fbxInteger1>
ImageSequenceOffset
[protected] |
Definition at line 305 of file kfbxvideo.h.
KFbxTypedProperty<fbxDouble1>
FrameRate
[protected] |
Definition at line 306 of file kfbxvideo.h.
KFbxTypedProperty<fbxInteger1>
LastFrame
[protected] |
Definition at line 307 of file kfbxvideo.h.
KFbxTypedProperty<fbxInteger1>
Width
[protected] |
Definition at line 308 of file kfbxvideo.h.
KFbxTypedProperty<fbxInteger1>
Height
[protected] |
Definition at line 309 of file kfbxvideo.h.
KFbxTypedProperty<fbxString> Path
[protected] |
Definition at line 310 of file kfbxvideo.h.
KFbxTypedProperty<fbxInteger1>
StartFrame
[protected] |
Definition at line 311 of file kfbxvideo.h.
KFbxTypedProperty<fbxInteger1>
StopFrame
[protected] |
Definition at line 312 of file kfbxvideo.h.
KFbxTypedProperty<fbxDouble1>
PlaySpeed
[protected] |
Definition at line 313 of file kfbxvideo.h.
KFbxTypedProperty<fbxTime> Offset
[protected] |
Definition at line 314 of file kfbxvideo.h.
KFbxTypedProperty<EInterlaceMode>
InterlaceMode
[protected] |
Definition at line 315 of file kfbxvideo.h.
KFbxTypedProperty<fbxBool1>
FreeRunning
[protected] |
Definition at line 316 of file kfbxvideo.h.
KFbxTypedProperty<fbxBool1>
Loop
[protected] |
Definition at line 317 of file kfbxvideo.h.
KFbxTypedProperty<EAccessMode>
AccessMode
[protected] |
Definition at line 318 of file kfbxvideo.h.
bool mUseMipMap
[protected] |
Definition at line 320 of file kfbxvideo.h.
bool mOriginalFormat
[protected] |
Definition at line 321 of file kfbxvideo.h.
KString mOriginalFilename
[protected] |
Definition at line 322 of file kfbxvideo.h.
KString mRelativeFilename
[protected] |
Definition at line 325 of file kfbxvideo.h.