Open Reality Reference Guide
|
|
Go to the documentation of this file. 1 #ifndef __FBVIDEOGRABBER_H__
2 #define __FBVIDEOGRABBER_H__
43 #include <kaydaradef.h>
48 #define FBSDK_DLL K_DLLIMPORT
54 #include <fbsdk/fbcamera.h>
57 #ifdef FBSDKUseNamespace
58 namespace FBSDKNamespace {
213 FBImage*
RenderSnapshot(
int pWidth=-1,
int pHeight=-1,
bool pCameraLabel=
false,
bool pTimeCode=
false,
bool pSafeArea=
false,
bool pAxis=
false,
bool pGrid=
false,
bool pFrontPlate=
false,
bool pBackPlate=
false);
229 #ifdef FBSDKUseNamespace
FBVideoRenderDepth
Enum FBVideoRenderDepth.
void SetRefreshViewFunc(void *pThis, void(*pCallbackFuncPtr)(void *))
SetRefreshViewFunc.
FBTime mTimeSteps
Time step length between each grab.
Image interface for FBSDK.
FBVideoRenderViewingMode mViewingMode
Video grab viewing mode.
void ResetOptions()
SetDefaultOptions.
bool mShowCameraLabel
If true, display camera label information. NOTE: If you use your own FBView, set also this option in ...
int mRendererCallbackIndex
Specify renderer callback index. Set to -1 to use MotionBuilder default renderer, or any valid non-ne...
bool mRenderAudio
If true and there's audio in the scene, render the audio as well.
@ FBVideoRenderDepthCount
Depth Count.
@ FBAudioOutputLocationStandalone
The audio is rendered in a standalone output file.
Audio formats definition.
bool BeginGrab()
BeginGrab.
bool mShowSafeArea
If true, display safe area. NOTE: If you use your own FBView, set also this option in FBViewingOption...
int mStillImageCompression
Compression ratio for image(jpg) 0-100 where 0=Greatest compression, 100=Least Compression....
bool mShowTimeCode
If true, display time code information. NOTE: If you use your own FBView, set also this option in FBV...
FBAudioFmt mAudioRenderFormat
Audio render format.
@ FBFieldModeNoField
No Field.
FBAudioOutputLocation
Type of locations where the audio is rendered when rendering a scene using a video format.
FBVideoRenderFieldMode
Enum FBVideoRenderFieldMode.
const char * GetLastErrorMsg()
GetLastErrorMsg.
@ FBAudioOutputLocationCount
Count.
@ FBFieldModeHalfField1
Half Field 1.
Video Grabbing Statistics structure.
FBString mOutputFileName
Grabbing destination file. When the image files are being rendered, the hash letters (###) specified ...
int mRemainingFrameCount
Remaining frame count to grab.
FBAudioOutputLocation mAudioOutputLocation
Audio output location when rendering using a video format (for still image formats & SWF (Flash) form...
FBTime mEstimatedTime
Estimated time to complete grab.
#define __FBClassDeclare(Name, Parent)
For internal use only.
@ FBVideoRender24Bits
24 bits
@ FBFieldModeField0
Field 0.
FBVideoGrabber(HIObject pObject=NULL)
Constructor.
@ FBVideoRender32Bits
32 bits
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
FBImage * RenderSnapshot(int pWidth=-1, int pHeight=-1, bool pCameraLabel=false, bool pTimeCode=false, bool pSafeArea=false, bool pAxis=false, bool pGrid=false, bool pFrontPlate=false, bool pBackPlate=false)
Render a snapshot of the actual display.
FBString mAudioCustomStandaloneFileName
Destination for the custom audio standalone file, if mAudioUseCustomStandaloneFileName is set to true...
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
void SetOptions(FBVideoGrabOptions *pOptions)
SetOptions.
@ FBViewingModeXRay
X-Ray.
@ FBViewingModeModelsOnly
Model Only.
FBTime mTimePerFrame
Time it took to render and grab previous frame.
@ FBViewingModeCurrent
Current.
void SetPostRenderFrameCallback(void *pThis, void(*pCallbackFuncPtr)(void *))
SetPostRenderFrameCallback.
@ FBViewingModeStandard
Standard.
FBVideoRenderDepth mBitsPerPixel
Video grab color depth.
FBCameraResolutionMode mCameraResolution
Camera Resolution.
@ FBViewingModeCount
Count.
FBVideoGrabOptions GetOptions()
GetOptions give you a copy of current grabbing options.
int mRendererCallbackPrefIndex
Specify custom renderer callback's preference index.
FBTime mTotalTimeElapsed
Current total time elapsed since grabbing has started.
bool mAntiAliasing
If true, video frames will be anti-aliased.
@ FBFieldModeHalfField0
Half Field 0.
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
FBVideoRenderFieldMode mFieldMode
Video grab field mode.
@ FBFieldModeField1
Field 1.
@ FBAudioOutputLocationEmbeddedAndStandalone
The audio is embedded within the video output file and is also rendered in a standalone output file.
FBStereoDisplayMode mStereoDisplayMode
Video grab stereo display mode. default (kFBStereoDisplayModeCount) to use current viewpane's setting...
MotionBuilder SDK base class.
FBVideoGrabStats GetStatistics()
GetStatistics.
int mTotalFrameCount
Total frame count to grab.
FBTime mEstimatedTimeRemaining
Remaining estimated time to complete grab.
bool mAudioUseCustomStandaloneFileName
If true and if the audio is rendered in a standalone output file, the audio file is generated at the ...
@ FBAudioOutputLocationEmbedded
The audio is embedded within the video output file.
FBTimeSpan mTimeSpan
Start and stop selection time to grab.
FBVideoRenderViewingMode
Enum FBVideoRenderViewingMode.
Video Grabbing Options structure.