43 #include <kaydaradef.h>
48 #define FBSDK_DLL K_DLLIMPORT
54 #ifdef FBSDKUseNamespace
55 namespace FBSDKNamespace {
67 enum FBCameraFrameSizeMode {
69 kFBFrameSizeFixedRatio,
70 kFBFrameSizeFixedResolution,
71 kFBFrameSizeFixedWidthResolution,
72 kFBFrameSizeFixedHeightResolution
77 enum FBCameraResolutionMode {
88 kFBResolutionFullScreen
93 enum FBCameraApertureMode {
95 kFBApertureHorizontal,
97 kFBApertureFocalLength
102 enum FBCameraFilmBackType {
104 kFBFilmBack16mmTheatrical,
105 kFBFilmBackSuper16mm,
106 kFBFilmBack35mmAcademy,
107 kFBFilmBack35mmTVProjection,
108 kFBFilmBack35mmFullAperture,
109 kFBFilmBack35mm185Projection,
110 kFBFilmBack35mmAnamorphic,
111 kFBFilmBack70mmProjection,
112 kFBFilmBackVistaVision,
113 kFBFilmBackDynavision,
119 enum FBCameraViewPlaneMode {
120 kFBViewPlaneDisabled,
122 kFBViewPlaneWhenMedia
127 enum FBCameraDistanceMode {
128 kFBDistModeRelativeToInterest,
129 kFBDistModeAbsoluteFromCamera
134 enum FBCameraSafeAreaMode {
141 enum FBCameraAntiAliasingMethod {
142 kFBAntiAliasingSoftware,
143 kFBAntialiasingMultiSamplingOnyx
148 enum FBCameraSamplingType {
150 kFBSamplingStochastic
155 enum FBCameraFocusDistanceSource {
156 kFBFocusDistanceCameraInterest,
157 kFBFocusDistanceSpecificDistance,
158 kFBFocusDistanceModel
164 kFBCameraTypePerspective,
165 kFBCameraTypeOrthogonal
170 enum FBCameraMatrixType {
213 FBCamera(
const char * pName, HIObject pObject=NULL);
408 enum FBCameraStereoType
411 kFBCameraStereoConverged,
412 kFBCameraStereoOff_Axis,
413 kFBCameraStereoParallel
492 #ifdef FBSDKUseNamespace
A box is a fundamental building block in the application architecture.
Creates custom cameras and manages system cameras.
FBPropertyBool ViewShowTimeCode
Read Write Property: Show time code?
FBPropertyBool UseAntiAliasing
Read Write Property: Use anti-aliasing?
FBPropertyTexture BackGroundTexture
Read Write Property: Background Texture
FBPropertyListHUD HUDs
List : HUDs present in this camera
FBPropertyInt CameraViewportHeight
Read Only Property: Camera Viewport height
FBPropertyAnimatableDouble ForeGroundImageScaleX
Read Write Property: Ignored if ForeGroundImageFit is true. X scale, in term of percentage of the fit...
FBPropertyAnimatableDouble OpticalCenterY
Read Write Property: Optical Center Y (mm).
FBPropertyAnimatableDouble Roll
Read Write Property: Camera's roll on it's Z axis.
FBPropertyBool UseRealTimeMotionBlur
Read Write Property: Enable Real-time Motion Blur.
FBPropertyInt CameraViewportWidth
Read Only Property: Camera Viewport width
FBPropertyAnimatableDouble BackGroundImageScaleX
Read Write Property: Ignored if BackGroundImageFit is true. X scale, in term of percentage of the fit...
FBPropertyInt NumberOfSamples
Read Write Property: Number of samples to oversample with.
FBPropertyCameraFilmBackType FilmBackType
Read Write Property: Film back standard type.
FBPropertyAnimatableDouble FocalLength
Read Write Property: Focal Length.
FBPropertyVideo ForeGroundMedia
FBPropertyTexture ForeGroundTexture
Read Write Property: ForeGround Texture
FBPropertyCameraResolutionMode ResolutionMode
Read Write Property: Resolution standard mode.
FBPropertyAnimatableDouble FieldOfView
Read Write Property: Field of View (used when in horizontal or vertical aperture modes).
FBPropertyBool DisplayTurnTableIcon
Read Write Property: Enable/Disable the drawing of the Turn Table icon.
FBPropertyBool ViewShowName
Read Write Property: Show name?
FBPropertyColor FrameColor
Read Write Property: Frame color for camera.
FBPropertyBool ForeGroundImageCrop
Read Write Property: Crop the foreground image
FBPropertyBool ViewShowGrid
Read Write Property: Show grid?
FBPropertyAnimatableDouble FieldOfViewX
Read Write Property: Field of View X angle (used in horizontal and vertical aperture mode).
FBPropertyDouble OrthoZoom
Read Write Property: Zoom factor of an orthographic camera.
FBPropertyBool ViewDisplaySafeArea
Read Write Property: Display safe area?
FBPropertyDouble AntiAliasingIntensity
Read Write Property: Anti-aliasing intensity.
void GetCameraMatrix(FBMatrix &pMatrix, FBCameraMatrixType pType, FBEvaluateInfo *pEvalInfo=NULL)
Obtains the camera's matrix.
FBPropertyBool UseFrameColor
Read Write Property: Use frame color?
FBPropertyBool ViewShowManipulators
Read Write Property: Show manipulators?
FBPropertyBool ForeGroundImageFit
Read Write Property: Fit the foreground image
FBPropertyCameraDistanceMode BackGroundPlaneDistanceMode
Read Write Property: Select mode for the background plane's distance.
FBPropertyDouble WindowHeight
Read Only Property: Window height.
FBPropertyDouble WindowWidth
Read Only Property: Window width.
FBPropertyDouble NearPlaneDistance
Read Write Property: Near plane distance.
FBPropertyCameraApertureMode ApertureMode
Read Write Property: Aperture mode.
FBPropertyAnimatableDouble BackGroundImageScaleY
Read Write Property: Ignored if BackGroundImageFit and/or BackGroundImageKeepRatio is true....
FBPropertyAnimatableDouble ForeGroundAlpha
Read Write Property: Opacity of foreground.
FBPropertyCameraFocusDistanceSource FocusDistanceSource
Read Write Property: Select source for focusing.
FBPropertyAnimatableDouble MotionBlurIntensity
Read Write Property: Motion Blur Intensity.
FBPropertyBool ForeGroundTransparent
Read Write Property: Is the foreground transparent?
FBPropertyModel FocusModel
Read Write Property: Another model that determines the focus distance.
FBPropertyAnimatableDouble MagnifierPosY
Read Write Property: 2D Magnifier Y Position.
FBPropertyBool ViewCameraInterest
Read Write Property: Show the camera interest?
FBPropertyAnimatableColor BackGroundColor
Read Write Property: Background color for camera.
FBPropertyBool BackGroundImageKeepRatio
Read Write Property: Keep the background image's ratio
FBPropertyBool UseAccumulationBuffer
Read Write Property: Use accumulation buffer?
FBPropertyCameraAntiAliasingMethod AntiAliasingMethod
Read Write Property: Anti-aliasing method.
FBPropertyCameraDistanceMode ForeGroundPlaneDistanceMode
Read Write Property: Select mode for the foreground plane's distance.
FBPropertyDouble ForeGroundPlaneDistance
Read Write Property: Set the distance for the foreground plane.
FBPropertyInt CameraViewportX
Read Only Property: Camera Viewport start position's X value
FBPropertyAnimatableDouble FocusAngle
Read Write Property: Focus Angle (rendering dof).
FBPropertyDouble FarPlaneDistance
Read Write Property: Far plane distance.
FBPropertyAnimatableDouble ForeGroundImageOffsetX
Read Write Property: Ignored if ForeGroundImageFit is true. X offset, in term of percentage of the fi...
FBPropertyBool ForeGroundImageKeepRatio
Read Write Property: Keep the foreground image's ratio?
FBPropertyBool ForeGroundImageCenter
Read Write Property: Center the foreground image
FBPropertyCameraSamplingType SamplingType
Read Write Property: Type of over sampling.
FBPropertyDouble FilmSizeHeight
Read Write Property: Height of the film.
FBPropertyBool BackGroundImageCenter
Read Write Property: Center the background image
FBPropertyDouble SqueezeRatio
Read Write Property: Squeeze ratio.
FBPropertyDouble PixelAspectRatio
Read Write Property: Pixel aspect ratio.
FBPropertyDouble FilmAspectRatio
Read Write Property: Film aspect ratio.
FBPropertyDouble BackGroundPlaneDistance
Read Write Property: Set the distance for the background plane.
FBPropertyCameraType Type
Read Write Property: Type of camera
FBPropertyBool ViewOpticalCenter
Read Write Property: View optical center?
FBPropertyBool BackGroundImageFit
Read Write Property: Fit the background image
FBPropertyAnimatableDouble MagnifierZoom
Read Write Property: 2D Magnifier Zoom value.
FBPropertyDouble ResolutionWidth
Read Write Property: Resolution width.
FBPropertyAnimatableDouble BackGroundImageOffsetX
Read Write Property: Ignored if BackGroundImageFit is true. X offset, in term of percentage of the fi...
FBPropertyAnimatableDouble FieldOfViewY
Read Write Property: Field of View Y angle (used in horizontal and vertical aperture mode).
FBPropertyBool InteractiveMode
Read Write Property: Interactive mode?
FBPropertyDouble FilmSizeWidth
Read Write Property: Width of the film.
FBPropertyDouble ResolutionHeight
Read Write Property: Resolution height.
FBPropertyBool Display2DMagnifierFrame
Read Write Property: Enable/Disable the drawing of the 2D Magnifier frame box.
FBPropertyAnimatableDouble FocusSpecificDistance
Read Write Property: Specfic distance for focusing.
FBPropertyInt CameraViewportY
Read Only Property: Camera Viewport start position's Y value
FBPropertyBool UseMotionBlur
Read Write Property: Enable Motion Blur.
FBPropertyModel Interest
Read Write Property: Direct camera's interest.
FBPropertyCameraViewPlaneMode ViewBackGroundPlaneMode
Read Write Property: Background plane view mode
FBVector4d InverseProjection(int pX, int pY, double pDistanceFromCamera, bool pRelativeToViewport=false)
Returns the world coordinates based on screen coordinates and input distance from the camera.
FBPropertyAnimatableDouble ForeGroundImageScaleY
Read Write Property: Ignored if ForeGroundImageFit and/or ForeGroundImageKeepRatio is true....
FBPropertyAnimatableBool UseDepthOfField
Read Write Property: Use depth of field calculations?
FBPropertyBool SystemCamera
Read Only Property: Indicate if this a producer (default or system) camera or a custom (user-created)...
FBPropertyBool ViewNearFarPlane
Read Write Property: Show near/far planes?
FBPropertyCameraViewPlaneMode ViewForeGroundPlaneMode
Read Write Property: Foreground plane view mode
FBPropertyDouble ForeGroundMaterialThreshold
Read Write Property: Material threshold for a transparent foreground.
FBPropertyBool MouseLockCamera
Read Write Property: Mouse lock for camera?
FBPropertyAnimatableDouble OpticalCenterX
Read Write Property: Optical Center X (mm).
FBPropertyVideo BackGroundMedia
FBPropertyAnimatableDouble MagnifierPosX
Read Write Property: 2D Magnifier X Position.
FBPropertyCameraFrameSizeMode FrameSizeMode
Read Write Property: Frame size standard mode.
FBPropertyCameraSafeAreaMode SafeAreaMode
Read Write Property: Select mode for safe area.
FBPropertyBool BackGroundImageCrop
Read Write Property: Crop the background image
FBPropertyAnimatableDouble TurnTable
Read Write Property: Camera's rotation around its interest.
FBCamera(const char *pName, HIObject pObject=NULL)
Constructor.
static const double OrthoFactor
Constant scale factor to be used with OrthoZoom for orthographic cameras.
FBPropertyAnimatableDouble BackGroundImageOffsetY
Read Write Property: Ignored if BackGroundImageFit is true. Y offset, in term of percentage of the fi...
FBPropertyAnimatableDouble ForeGroundImageOffsetY
Read Write Property: Ignored if ForeGroundImageFit is true. Y offset, in term of percentage of the fi...
FBPropertyBool Use2DMagnifier
Read Write Property: Enable/Disable the 2D Magnifier.
FBPropertyBool ViewShowAxis
Read Write Property: Show axis?
FBPropertyColor ZeroParallaxPlaneColor
Read Write Property: Zero parallax plane color.
FBPropertyAnimatableDouble InteraxialSeparation
Read Write Property: This property handles the distance between left and right cameras.
FBPropertyAnimatableDouble ZeroParallax
Read Write Property: This property handles the distance on the camera view axis where the zero paral...
FBPropertyCamera LeftCamera
Read Write Property: This property hold the left camera connected to it.
FBPropertyString PrecompFileName
Read Write Property: This property handles the precomp file name.
FBPropertyString RelativePrecompFileName
Read Write Property: This property handles the relative precomp file name.
FBCameraStereo(const char *pName, HIObject pObject=NULL)
Constructor.
FBPropertyCamera RightCamera
Read Write Property: This property hold the right camera connected to it.
FBPropertyAnimatableDouble ToeInAdjust
Read Write Property: This property is to offset the computed toe-in effect when it's in Converged mo...
FBPropertyBool DisplayZeroParallaxPlane
Read Write Property: Display the zero parallax plane.
FBPropertyCameraStereoType Stereo
Read Write Property: //!< This property handles the types of Stereo camera.
FBPropertyAnimatableDouble FilmOffsetLeftCam
Read Write Property: This property handles the film offset for the left camera. (inch)
FBPropertyCamera CenterCamera
Read Write Property: This property hold the center camera connected to it. Must be either the master...
FBPropertyDouble ZeroParallaxPlaneTransparency
Read Write Property: Zero parallax plane transparency.
FBPropertyAnimatableDouble FilmOffsetRightCam
Read Write Property: This property handles the film offset for the right camera. (inch)
bool PlotToCamera(FBCamera *pCamera)
Plot the Camera Switcher animation onto a destination camera.
FBPropertyInt CurrentCameraIndex
Read Write Property: Camera index currently being used by the switcher. Set to -1 to turn on evaluate...
FBPropertyCamera CurrentCamera
Read Write Property: Camera currently being used by the switcher. Set to NULL to turn on evaluate swi...
FBCameraSwitcher()
Constructor.
AnimationNodeNotify evaluation information.
Four x Four (double) Matrix.
FBCamera * operator[](int pIndex)
Get the model at pIndex.
PropertyList: Concrete class for PropertyList of component
Property class: const char * (String).
#define __FBClassDeclare(Name, Parent)
For internal use only.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
class K_DLLIMPORT FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
class K_DLLIMPORT FBPropertyBaseAnimatable< FBColor, kFBPT_ColorRGB > FBPropertyAnimatableColor
FBPropertyAnimatableColor type definition.
class K_DLLIMPORT FBPropertyBaseAnimatable< double, kFBPT_double > FBPropertyAnimatableDouble
FBPropertyBaseAnimatableDouble type definition.
class K_DLLIMPORT FBPropertyBaseAnimatable< bool, kFBPT_bool > FBPropertyAnimatableBool
FBPropertyAnimatableBool type definition.
class K_DLLIMPORT FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
class K_DLLIMPORT FBPropertyBase< FBColor, kFBPT_ColorRGB > FBPropertyColor
FBPropertyColor type definition.
class K_DLLIMPORT FBPropertyBase< double, kFBPT_double > FBPropertyDouble
Property: double
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
class K_DLLIMPORT FBVector4< double > FBVector4d
4D vector