Open Reality Reference Guide
fbcamera.h
1 #ifndef __FBCAMERA_H__
2 #define __FBCAMERA_H__
3 /**************************************************************************
4  Copyright (c) 1994 - 2009 Autodesk, Inc. and/or its licensors.
5  All Rights Reserved.
6 
7  The coded instructions, statements, computer programs, and/or related
8  material (collectively the "Data") in these files contain unpublished
9  information proprietary to Autodesk, Inc. and/or its licensors, which is
10  protected by Canada and United States of America federal copyright law
11  and by international treaties.
12 
13  The Data may not be disclosed or distributed to third parties, in whole
14  or in part, without the prior written consent of Autodesk, Inc.
15  ("Autodesk").
16 
17  THE DATA IS PROVIDED "AS IS" AND WITHOUT WARRANTY.
18  ALL WARRANTIES ARE EXPRESSLY EXCLUDED AND DISCLAIMED. AUTODESK MAKES NO
19  WARRANTY OF ANY KIND WITH RESPECT TO THE DATA, EXPRESS, IMPLIED OR
20  ARISING BY CUSTOM OR TRADE USAGE, AND DISCLAIMS ANY IMPLIED WARRANTIES
21  OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
22  PURPOSE OR USE. WITHOUT LIMITING THE FOREGOING, AUTODESK DOES NOT
23  WARRANT THAT THE OPERATION OF THE DATA WILL BE UNINTERRUPTED OR ERROR
24  FREE.
25 
26  IN NO EVENT SHALL AUTODESK, ITS AFFILIATES, PARENT COMPANIES, LICENSORS
27  OR SUPPLIERS ("AUTODESK GROUP") BE LIABLE FOR ANY LOSSES, DAMAGES OR
28  EXPENSES OF ANY KIND (INCLUDING WITHOUT LIMITATION PUNITIVE OR MULTIPLE
29  DAMAGES OR OTHER SPECIAL, DIRECT, INDIRECT, EXEMPLARY, INCIDENTAL, LOSS
30  OF PROFITS, REVENUE OR DATA, COST OF COVER OR CONSEQUENTIAL LOSSES OR
31  DAMAGES OF ANY KIND), HOWEVER CAUSED, AND REGARDLESS OF THE THEORY OF
32  LIABILITY, WHETHER DERIVED FROM CONTRACT, TORT (INCLUDING, BUT NOT
33  LIMITED TO, NEGLIGENCE), OR OTHERWISE, ARISING OUT OF OR RELATING TO THE
34  DATA OR ITS USE OR ANY OTHER PERFORMANCE, WHETHER OR NOT AUTODESK HAS
35  BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE.
36 
37 **************************************************************************/
38 
43 #include <kaydaradef.h>
44 #ifndef FBSDK_DLL
45 
48  #define FBSDK_DLL K_DLLIMPORT
49 #endif
50 
51 #include <fbsdk/fbmodel.h>
52 #include <fbsdk/fbhud.h>
53 
54 #ifdef FBSDKUseNamespace
55  namespace FBSDKNamespace {
56 #endif
57 
59 FB_DEFINE_COMPONENT( FBSDK_DLL, CameraStereo );
60 
62 // FBCamera
65 
67 enum FBCameraFrameSizeMode {
68  kFBFrameSizeWindow,
69  kFBFrameSizeFixedRatio,
70  kFBFrameSizeFixedResolution,
71  kFBFrameSizeFixedWidthResolution,
72  kFBFrameSizeFixedHeightResolution
73 };
74 
76 
77 enum FBCameraResolutionMode {
78  kFBResolutionCustom,
79  kFBResolutionD1NTSC,
80  kFBResolutionNTSC,
81  kFBResolutionPAL,
82  kFBResolutionD1PAL,
83  kFBResolutionHD,
84  kFBResolution640x480,
85  kFBResolution320x200,
86  kFBResolution320x240,
87  kFBResolution128x128,
88  kFBResolutionFullScreen
89 };
90 
92 
93 enum FBCameraApertureMode {
94  kFBApertureVertical,
95  kFBApertureHorizontal,
96  kFBApertureVertHoriz,
97  kFBApertureFocalLength
98 };
99 
101 
102 enum FBCameraFilmBackType {
103  kFBFilmBackCustom,
104  kFBFilmBack16mmTheatrical,
105  kFBFilmBackSuper16mm,
106  kFBFilmBack35mmAcademy,
107  kFBFilmBack35mmTVProjection,
108  kFBFilmBack35mmFullAperture,
109  kFBFilmBack35mm185Projection,
110  kFBFilmBack35mmAnamorphic,
111  kFBFilmBack70mmProjection,
112  kFBFilmBackVistaVision,
113  kFBFilmBackDynavision,
114  kFBFilmBackIMAX
115 };
116 
118 
119 enum FBCameraViewPlaneMode {
120  kFBViewPlaneDisabled,
121  kFBViewPlaneAlways,
122  kFBViewPlaneWhenMedia
123 };
124 
126 
127 enum FBCameraDistanceMode {
128  kFBDistModeRelativeToInterest,
129  kFBDistModeAbsoluteFromCamera
130 };
131 
133 
134 enum FBCameraSafeAreaMode {
135  kFBSafeAreaSquare,
136  kFBSafeAreaRound
137 };
138 
140 
141 enum FBCameraAntiAliasingMethod {
142  kFBAntiAliasingSoftware,
143  kFBAntialiasingMultiSamplingOnyx
144 };
145 
147 
148 enum FBCameraSamplingType {
149  kFBSamplingUniform,
150  kFBSamplingStochastic
151 };
152 
154 
155 enum FBCameraFocusDistanceSource {
156  kFBFocusDistanceCameraInterest,
157  kFBFocusDistanceSpecificDistance,
158  kFBFocusDistanceModel
159 };
160 
162 
163 enum FBCameraType {
164  kFBCameraTypePerspective,
165  kFBCameraTypeOrthogonal
166 };
167 
169 
170 enum FBCameraMatrixType {
171  kFBProjection,
172  kFBModelView,
173  kFBModelViewProj,
174  kFBProjInverse
175 };
176 
177 FB_DEFINE_ENUM( FBSDK_DLL, CameraType );
178 FB_DEFINE_ENUM( FBSDK_DLL, CameraApertureMode );
179 FB_DEFINE_ENUM( FBSDK_DLL, CameraFilmBackType );
180 FB_DEFINE_ENUM( FBSDK_DLL, CameraFrameSizeMode );
181 FB_DEFINE_ENUM( FBSDK_DLL, CameraResolutionMode );
182 FB_DEFINE_ENUM( FBSDK_DLL, CameraViewPlaneMode );
183 FB_DEFINE_ENUM( FBSDK_DLL, CameraDistanceMode );
184 FB_DEFINE_ENUM( FBSDK_DLL, CameraSafeAreaMode );
185 FB_DEFINE_ENUM( FBSDK_DLL, CameraAntiAliasingMethod );
186 FB_DEFINE_ENUM( FBSDK_DLL, CameraSamplingType );
187 FB_DEFINE_ENUM( FBSDK_DLL, CameraFocusDistanceSource );
188 FB_DEFINE_ENUM( FBSDK_DLL, CameraMatrixType );
189 
206 class FBSDK_DLL FBCamera : public FBModel {
208 public:
213  FBCamera(const char * pName, HIObject pObject=NULL);
214 
216 
217  // Camera Format
218  FBPropertyCameraFrameSizeMode FrameSizeMode;
219  FBPropertyCameraResolutionMode ResolutionMode;
228  FBPropertyCameraType Type;
229  FBPropertyCameraApertureMode ApertureMode;
231 
237 
238  FBPropertyCameraFilmBackType FilmBackType;
243 
244  static const double OrthoFactor;
245 
275 
276 
277  // Camera Background options
278  FBPropertyTexture BackGroundTexture;
279  FBPropertyVideo BackGroundMedia;
280  FBPropertyCameraViewPlaneMode ViewBackGroundPlaneMode;
290  FBPropertyCameraDistanceMode BackGroundPlaneDistanceMode;
291 
292  // Camera Foreground options
296  FBPropertyTexture ForeGroundTexture;
297  FBPropertyVideo ForeGroundMedia;
298  FBPropertyCameraViewPlaneMode ViewForeGroundPlaneMode;
308  FBPropertyCameraDistanceMode ForeGroundPlaneDistanceMode;
309 
310  // Camera View Options
319  FBPropertyCameraSafeAreaMode SafeAreaMode;
320 
324 
325  // Camera Render Options
326  // Rendering Options
330 
331  // Anti-aliasing Options
333  FBPropertyCameraAntiAliasingMethod AntiAliasingMethod;
335  FBPropertyCameraSamplingType SamplingType;
337 
338  // Depth of Field Options
339  FBPropertyCameraFocusDistanceSource FocusDistanceSource;
341  FBPropertyModel FocusModel;
343 
344  // 2D Magnifier
350 
351  // Other Attributes
352  FBPropertyModel Interest;
356 
357  // MotionBlur
361 
362  // Viewport dimension (those property values are only updated & valid during custom renderer callback
367 
368 #ifndef K_NO_HUD
370 #endif
371 
377  void GetCameraMatrix( FBMatrix& pMatrix, FBCameraMatrixType pType, FBEvaluateInfo* pEvalInfo = NULL );
378 
386  FBVector4d InverseProjection( int pX, int pY, double pDistanceFromCamera, bool pRelativeToViewport = false );
387 
388 /*
390 BACK-COMP implementation:
391 The proper implementation is to change UseDepthOfField from
392 FBPropertyBool to FBPropertyAnimatableBool. This breaks
393 backward compatibility and should only be done for major releases
395 */
396  void GetAnimatableFarPlane(FBPropertyAnimatableDouble *pProp);
397  void GetAnimatableNearPlane(FBPropertyAnimatableDouble *pProp);
398 };
399 
401 // FBCameraStereo
404 
406 /* Stereo Type */
407 enum FBCameraStereoType
408 {
409  kFBCameraStereoNone,
410  kFBCameraStereoConverged,
411  kFBCameraStereoOff_Axis,
412  kFBCameraStereoParallel
413 };
414 
415 FB_DEFINE_ENUM( FBSDK_DLL, CameraStereoType);
416 
418 {
420 public:
425  FBCameraStereo(const char * pName, HIObject pObject=NULL);
426 
427  FBPropertyCameraStereoType Stereo;
433 
434  FBPropertyCamera RightCamera;
435  FBPropertyCamera LeftCamera;
436  FBPropertyCamera CenterCamera;
437 
440 
444 };
445 
447 // FBPropertyListCamera
451 {
452 public:
458  FBCamera* operator[](int pIndex);
459 };
460 
462 // FBCameraSwitcher
465 
472 {
474 public:
478 
479  FBPropertyCamera CurrentCamera;
481 
487  bool PlotToCamera( FBCamera* pCamera );
488 };
489 
490 
491 #ifdef FBSDKUseNamespace
492  }
493 #endif
494 #endif
FBCameraSwitcher::PlotToCamera
bool PlotToCamera(FBCamera *pCamera)
Plot the Camera Switcher animation onto a destination camera.
FBCamera::ResolutionWidth
FBPropertyDouble ResolutionWidth
Read Write Property: Resolution width.
Definition: fbcamera.h:220
FBCamera::ViewShowTimeCode
FBPropertyBool ViewShowTimeCode
Read Write Property: Show time code?
Definition: fbcamera.h:316
FBCameraStereo::ZeroParallaxPlaneTransparency
FBPropertyDouble ZeroParallaxPlaneTransparency
Read Write Property: Zero parallax plane transparency.
Definition: fbcamera.h:442
FBCamera::Display2DMagnifierFrame
FBPropertyBool Display2DMagnifierFrame
Read Write Property: Enable/Disable the drawing of the 2D Magnifier frame box.
Definition: fbcamera.h:346
FBCamera::GetCameraMatrix
void GetCameraMatrix(FBMatrix &pMatrix, FBCameraMatrixType pType, FBEvaluateInfo *pEvalInfo=NULL)
Obtains the camera's matrix.
FBCamera::AntiAliasingMethod
FBPropertyCameraAntiAliasingMethod AntiAliasingMethod
Read Write Property: Anti-aliasing method.
Definition: fbcamera.h:333
FBCamera::SamplingType
FBPropertyCameraSamplingType SamplingType
Read Write Property: Type of over sampling.
Definition: fbcamera.h:335
FBCamera::ForeGroundMaterialThreshold
FBPropertyDouble ForeGroundMaterialThreshold
Read Write Property: Material threshold for a transparent foreground.
Definition: fbcamera.h:294
FBCamera::BackGroundImageKeepRatio
FBPropertyBool BackGroundImageKeepRatio
Read Write Property: Keep the background image's ratio
Definition: fbcamera.h:283
FBCameraStereo::RelativePrecompFileName
FBPropertyString RelativePrecompFileName
Read Write Property: This property handles the relative precomp file name.
Definition: fbcamera.h:439
FBCamera::ViewShowGrid
FBPropertyBool ViewShowGrid
Read Write Property: Show grid?
Definition: fbcamera.h:314
FB_DEFINE_ENUM
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
Definition: fbproperties.h:150
FBCamera::FocusSpecificDistance
FBPropertyAnimatableDouble FocusSpecificDistance
Read Write Property: Specfic distance for focusing.
Definition: fbcamera.h:340
FBCamera::ViewOpticalCenter
FBPropertyBool ViewOpticalCenter
Read Write Property: View optical center?
Definition: fbcamera.h:318
FBCameraSwitcher::CurrentCamera
FBPropertyCamera CurrentCamera
Read Write Property: Camera currently being used by the switcher. Set to NULL to turn on evaluate swi...
Definition: fbcamera.h:479
FBCamera::FocusAngle
FBPropertyAnimatableDouble FocusAngle
Read Write Property: Focus Angle (rendering dof).
Definition: fbcamera.h:342
FBCamera::InteractiveMode
FBPropertyBool InteractiveMode
Read Write Property: Interactive mode?
Definition: fbcamera.h:329
FBPropertyInt
class K_DLLIMPORT FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
Definition: fbproperties.h:1331
FBCamera::UseAntiAliasing
FBPropertyBool UseAntiAliasing
Read Write Property: Use anti-aliasing?
Definition: fbcamera.h:327
FBCamera::ForeGroundImageCenter
FBPropertyBool ForeGroundImageCenter
Read Write Property: Center the foreground image
Definition: fbcamera.h:299
FBCamera::ViewDisplaySafeArea
FBPropertyBool ViewDisplaySafeArea
Read Write Property: Display safe area?
Definition: fbcamera.h:317
FBCamera::UseMotionBlur
FBPropertyBool UseMotionBlur
Read Write Property: Enable Motion Blur.
Definition: fbcamera.h:359
FBCameraSwitcher::CurrentCameraIndex
FBPropertyInt CurrentCameraIndex
Read Write Property: Camera index currently being used by the switcher. Set to -1 to turn on evaluate...
Definition: fbcamera.h:480
FBCamera::ForeGroundAlpha
FBPropertyAnimatableDouble ForeGroundAlpha
Read Write Property: Opacity of foreground.
Definition: fbcamera.h:293
FBPropertyAnimatableColor
class K_DLLIMPORT FBPropertyBaseAnimatable< FBColor, kFBPT_ColorRGB > FBPropertyAnimatableColor
FBPropertyAnimatableColor type definition.
Definition: fbproperties.h:1776
FBCamera::ForeGroundPlaneDistanceMode
FBPropertyCameraDistanceMode ForeGroundPlaneDistanceMode
Read Write Property: Select mode for the foreground plane's distance.
Definition: fbcamera.h:308
FBCamera::DisplayTurnTableIcon
FBPropertyBool DisplayTurnTableIcon
Read Write Property: Enable/Disable the drawing of the Turn Table icon.
Definition: fbcamera.h:355
FBCameraStereo::ZeroParallaxPlaneColor
FBPropertyColor ZeroParallaxPlaneColor
Read Write Property: Zero parallax plane color.
Definition: fbcamera.h:443
FBCamera::FarPlaneDistance
FBPropertyDouble FarPlaneDistance
Read Write Property: Far plane distance.
Definition: fbcamera.h:226
FBBox
A box is a fundamental building block in the application architecture.
Definition: fbcore.h:218
FBCamera::CameraViewportHeight
FBPropertyInt CameraViewportHeight
Read Only Property: Camera Viewport height
Definition: fbcamera.h:366
FBCamera::UseAccumulationBuffer
FBPropertyBool UseAccumulationBuffer
Read Write Property: Use accumulation buffer?
Definition: fbcamera.h:336
FBCamera::SqueezeRatio
FBPropertyDouble SqueezeRatio
Read Write Property: Squeeze ratio.
Definition: fbcamera.h:242
FBCamera::ForeGroundImageFit
FBPropertyBool ForeGroundImageFit
Read Write Property: Fit the foreground image
Definition: fbcamera.h:300
FBCamera::UseRealTimeMotionBlur
FBPropertyBool UseRealTimeMotionBlur
Read Write Property: Enable Real-time Motion Blur.
Definition: fbcamera.h:360
FBCamera::ViewShowName
FBPropertyBool ViewShowName
Read Write Property: Show name?
Definition: fbcamera.h:313
FBCamera::FilmSizeWidth
FBPropertyDouble FilmSizeWidth
Read Write Property: Width of the film.
Definition: fbcamera.h:239
FBSDK_DLL
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
Definition: fbconstraintlayout.h:48
FBCameraStereo::FBCameraStereo
FBCameraStereo(const char *pName, HIObject pObject=NULL)
Constructor.
FBCamera::MagnifierPosX
FBPropertyAnimatableDouble MagnifierPosX
Read Write Property: 2D Magnifier X Position.
Definition: fbcamera.h:348
FBCamera::FieldOfViewX
FBPropertyAnimatableDouble FieldOfViewX
Read Write Property: Field of View X angle (used in horizontal and vertical aperture mode).
Definition: fbcamera.h:232
FBCamera::FilmBackType
FBPropertyCameraFilmBackType FilmBackType
Read Write Property: Film back standard type.
Definition: fbcamera.h:238
FBPropertyDouble
class K_DLLIMPORT FBPropertyBase< double, kFBPT_double > FBPropertyDouble
Property: double
Definition: fbproperties.h:1340
FBCamera::BackGroundImageOffsetY
FBPropertyAnimatableDouble BackGroundImageOffsetY
Read Write Property: Ignored if BackGroundImageFit is true. Y offset, in term of percentage of the fi...
Definition: fbcamera.h:286
FBCamera::FocusModel
FBPropertyModel FocusModel
Read Write Property: Another model that determines the focus distance.
Definition: fbcamera.h:341
FBCamera::ViewBackGroundPlaneMode
FBPropertyCameraViewPlaneMode ViewBackGroundPlaneMode
Read Write Property: Background plane view mode
Definition: fbcamera.h:280
FBCamera::ResolutionHeight
FBPropertyDouble ResolutionHeight
Read Write Property: Resolution height.
Definition: fbcamera.h:221
FBCameraStereo::ToeInAdjust
FBPropertyAnimatableDouble ToeInAdjust
Read Write Property: This property is to offset the computed toe-in effect when it's in Converged mo...
Definition: fbcamera.h:430
FBCamera::OpticalCenterY
FBPropertyAnimatableDouble OpticalCenterY
Read Write Property: Optical Center Y (mm).
Definition: fbcamera.h:235
FBCamera::Use2DMagnifier
FBPropertyBool Use2DMagnifier
Read Write Property: Enable/Disable the 2D Magnifier.
Definition: fbcamera.h:345
FBPropertyColor
class K_DLLIMPORT FBPropertyBase< FBColor, kFBPT_ColorRGB > FBPropertyColor
FBPropertyColor type definition.
Definition: fbproperties.h:1454
FBCamera::BackGroundTexture
FBPropertyTexture BackGroundTexture
Read Write Property: Background Texture
Definition: fbcamera.h:278
FBCameraSwitcher::FBCameraSwitcher
FBCameraSwitcher()
Constructor.
FBCamera::BackGroundColor
FBPropertyAnimatableColor BackGroundColor
Read Write Property: Background color for camera.
Definition: fbcamera.h:321
FBCamera::CameraViewportY
FBPropertyInt CameraViewportY
Read Only Property: Camera Viewport start position's Y value
Definition: fbcamera.h:364
FBCamera::BackGroundImageOffsetX
FBPropertyAnimatableDouble BackGroundImageOffsetX
Read Write Property: Ignored if BackGroundImageFit is true. X offset, in term of percentage of the fi...
Definition: fbcamera.h:285
FBCamera::UseFrameColor
FBPropertyBool UseFrameColor
Read Write Property: Use frame color?
Definition: fbcamera.h:322
FBCamera::PixelAspectRatio
FBPropertyDouble PixelAspectRatio
Read Write Property: Pixel aspect ratio.
Definition: fbcamera.h:224
FBCamera::AntiAliasingIntensity
FBPropertyDouble AntiAliasingIntensity
Read Write Property: Anti-aliasing intensity.
Definition: fbcamera.h:332
FBCamera::MagnifierZoom
FBPropertyAnimatableDouble MagnifierZoom
Read Write Property: 2D Magnifier Zoom value.
Definition: fbcamera.h:347
FBCamera::BackGroundPlaneDistance
FBPropertyDouble BackGroundPlaneDistance
Read Write Property: Set the distance for the background plane.
Definition: fbcamera.h:289
fbmodel.h
Base class for Cameras.
FBCamera::ForeGroundImageScaleY
FBPropertyAnimatableDouble ForeGroundImageScaleY
Read Write Property: Ignored if ForeGroundImageFit and/or ForeGroundImageKeepRatio is true....
Definition: fbcamera.h:306
FBCamera::ViewShowAxis
FBPropertyBool ViewShowAxis
Read Write Property: Show axis?
Definition: fbcamera.h:315
FBCamera::ForeGroundImageOffsetX
FBPropertyAnimatableDouble ForeGroundImageOffsetX
Read Write Property: Ignored if ForeGroundImageFit is true. X offset, in term of percentage of the fi...
Definition: fbcamera.h:303
FBCamera::FrameColor
FBPropertyColor FrameColor
Read Write Property: Frame color for camera.
Definition: fbcamera.h:323
FBCamera::BackGroundImageCenter
FBPropertyBool BackGroundImageCenter
Read Write Property: Center the background image
Definition: fbcamera.h:281
FBCameraStereo::CenterCamera
FBPropertyCamera CenterCamera
Read Write Property: This property hold the center camera connected to it. Must be either the master...
Definition: fbcamera.h:436
FBCamera::BackGroundImageCrop
FBPropertyBool BackGroundImageCrop
Read Write Property: Crop the background image
Definition: fbcamera.h:284
__FBClassDeclare
#define __FBClassDeclare(Name, Parent)
For internal use only.
Definition: fbcomponent.h:131
FBPropertyAnimatableDouble
class K_DLLIMPORT FBPropertyBaseAnimatable< double, kFBPT_double > FBPropertyAnimatableDouble
FBPropertyBaseAnimatableDouble type definition.
Definition: fbproperties.h:1752
FBCamera::ForeGroundImageScaleX
FBPropertyAnimatableDouble ForeGroundImageScaleX
Read Write Property: Ignored if ForeGroundImageFit is true. X scale, in term of percentage of the fit...
Definition: fbcamera.h:305
FBCamera::HUDs
FBPropertyListHUD HUDs
List : HUDs present in this camera
Definition: fbcamera.h:369
FBCameraStereo::ZeroParallax
FBPropertyAnimatableDouble ZeroParallax
Read Write Property: This property handles the distance on the camera view axis where the zero paral...
Definition: fbcamera.h:429
FBCamera::ForeGroundImageOffsetY
FBPropertyAnimatableDouble ForeGroundImageOffsetY
Read Write Property: Ignored if ForeGroundImageFit is true. Y offset, in term of percentage of the fi...
Definition: fbcamera.h:304
FBPropertyListCamera::operator[]
FBCamera * operator[](int pIndex)
Get the model at pIndex.
FBCamera::MouseLockCamera
FBPropertyBool MouseLockCamera
Read Write Property: Mouse lock for camera?
Definition: fbcamera.h:227
FBCameraStereo::Stereo
FBPropertyCameraStereoType Stereo
Read Write Property: //!< This property handles the types of Stereo camera.
Definition: fbcamera.h:427
__FB_FORWARD
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
Definition: fbtypes.h:68
FBCamera::FieldOfViewY
FBPropertyAnimatableDouble FieldOfViewY
Read Write Property: Field of View Y angle (used in horizontal and vertical aperture mode).
Definition: fbcamera.h:233
FBCamera::OrthoZoom
FBPropertyDouble OrthoZoom
Read Write Property: Zoom factor of an orthographic camera.
Definition: fbcamera.h:274
FBCamera::Roll
FBPropertyAnimatableDouble Roll
Read Write Property: Camera's roll on it's Z axis.
Definition: fbcamera.h:353
FBCamera::FilmAspectRatio
FBPropertyDouble FilmAspectRatio
Read Write Property: Film aspect ratio.
Definition: fbcamera.h:241
FBVector4d
class K_DLLIMPORT FBVector4< double > FBVector4d
4D vector
Definition: fbtypes.h:441
FBCamera::ForeGroundPlaneDistance
FBPropertyDouble ForeGroundPlaneDistance
Read Write Property: Set the distance for the foreground plane.
Definition: fbcamera.h:307
FBCamera::BackGroundImageScaleY
FBPropertyAnimatableDouble BackGroundImageScaleY
Read Write Property: Ignored if BackGroundImageFit and/or BackGroundImageKeepRatio is true....
Definition: fbcamera.h:288
FBPropertyListHUD
PropertyList: Handle.
Definition: fbhud.h:367
FBCamera::WindowHeight
FBPropertyDouble WindowHeight
Read Only Property: Window height.
Definition: fbcamera.h:223
FBCamera::ForeGroundImageCrop
FBPropertyBool ForeGroundImageCrop
Read Write Property: Crop the foreground image
Definition: fbcamera.h:302
FBCamera::UseDepthOfField
FBPropertyAnimatableBool UseDepthOfField
Read Write Property: Use depth of field calculations?
Definition: fbcamera.h:328
FBCamera::BackGroundMedia
FBPropertyVideo BackGroundMedia
Definition: fbcamera.h:279
FBMatrix
Four x Four (double) Matrix.
Definition: fbtypes.h:290
FBCamera::FilmSizeHeight
FBPropertyDouble FilmSizeHeight
Read Write Property: Height of the film.
Definition: fbcamera.h:240
FBCamera::FBCamera
FBCamera(const char *pName, HIObject pObject=NULL)
Constructor.
FBCamera::ResolutionMode
FBPropertyCameraResolutionMode ResolutionMode
Read Write Property: Resolution standard mode.
Definition: fbcamera.h:219
FBCameraStereo::FilmOffsetRightCam
FBPropertyAnimatableDouble FilmOffsetRightCam
Read Write Property: This property handles the film offset for the right camera. (inch)
Definition: fbcamera.h:431
FBCamera::BackGroundPlaneDistanceMode
FBPropertyCameraDistanceMode BackGroundPlaneDistanceMode
Read Write Property: Select mode for the background plane's distance.
Definition: fbcamera.h:290
FBCamera::CameraViewportX
FBPropertyInt CameraViewportX
Read Only Property: Camera Viewport start position's X value
Definition: fbcamera.h:363
FBCamera::OpticalCenterX
FBPropertyAnimatableDouble OpticalCenterX
Read Write Property: Optical Center X (mm).
Definition: fbcamera.h:234
FBCameraStereo::PrecompFileName
FBPropertyString PrecompFileName
Read Write Property: This property handles the precomp file name.
Definition: fbcamera.h:438
FBCamera::WindowWidth
FBPropertyDouble WindowWidth
Read Only Property: Window width.
Definition: fbcamera.h:222
FBCameraStereo
Definition: fbcamera.h:418
FBCamera::SafeAreaMode
FBPropertyCameraSafeAreaMode SafeAreaMode
Read Write Property: Select mode for safe area.
Definition: fbcamera.h:319
FBCamera::SystemCamera
FBPropertyBool SystemCamera
Read Only Property: Indicate if this a producer (default or system) camera or a custom (user-created)...
Definition: fbcamera.h:215
FBPropertyBool
class K_DLLIMPORT FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
Definition: fbproperties.h:1308
FBCamera::ViewCameraInterest
FBPropertyBool ViewCameraInterest
Read Write Property: Show the camera interest?
Definition: fbcamera.h:311
FBCamera::ForeGroundMedia
FBPropertyVideo ForeGroundMedia
Definition: fbcamera.h:297
FBCamera::ViewNearFarPlane
FBPropertyBool ViewNearFarPlane
Read Write Property: Show near/far planes?
Definition: fbcamera.h:312
FBCamera::FocalLength
FBPropertyAnimatableDouble FocalLength
Read Write Property: Focal Length.
Definition: fbcamera.h:236
FBCameraStereo::FilmOffsetLeftCam
FBPropertyAnimatableDouble FilmOffsetLeftCam
Read Write Property: This property handles the film offset for the left camera. (inch)
Definition: fbcamera.h:432
FBPropertyListComponent
PropertyList: Concrete class for PropertyList of component
Definition: fbcomponent.h:536
FBCamera::MagnifierPosY
FBPropertyAnimatableDouble MagnifierPosY
Read Write Property: 2D Magnifier Y Position.
Definition: fbcamera.h:349
FBCameraSwitcher
Camera switcher.
Definition: fbcamera.h:472
FBCamera::FieldOfView
FBPropertyAnimatableDouble FieldOfView
Read Write Property: Field of View (used when in horizontal or vertical aperture modes).
Definition: fbcamera.h:230
fbhud.h
HUD (Head Up Display)
FBCameraStereo::LeftCamera
FBPropertyCamera LeftCamera
Read Write Property: This property hold the left camera connected to it.
Definition: fbcamera.h:435
FBPropertyListCamera
PropertyList: Camera
Definition: fbcamera.h:451
FBCamera::FrameSizeMode
FBPropertyCameraFrameSizeMode FrameSizeMode
Read Write Property: Frame size standard mode.
Definition: fbcamera.h:218
FBCamera::TurnTable
FBPropertyAnimatableDouble TurnTable
Read Write Property: Camera's rotation around its interest.
Definition: fbcamera.h:354
FB_DEFINE_COMPONENT
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
FBCamera::ForeGroundImageKeepRatio
FBPropertyBool ForeGroundImageKeepRatio
Read Write Property: Keep the foreground image's ratio?
Definition: fbcamera.h:301
FBCamera::NearPlaneDistance
FBPropertyDouble NearPlaneDistance
Read Write Property: Near plane distance.
Definition: fbcamera.h:225
FBCamera::ApertureMode
FBPropertyCameraApertureMode ApertureMode
Read Write Property: Aperture mode.
Definition: fbcamera.h:229
FBCamera::BackGroundImageFit
FBPropertyBool BackGroundImageFit
Read Write Property: Fit the background image
Definition: fbcamera.h:282
FBCamera
Creates custom cameras and manages system cameras.
Definition: fbcamera.h:206
FBCamera::CameraViewportWidth
FBPropertyInt CameraViewportWidth
Read Only Property: Camera Viewport width
Definition: fbcamera.h:365
FBCamera::InverseProjection
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.
FBCamera::NumberOfSamples
FBPropertyInt NumberOfSamples
Read Write Property: Number of samples to oversample with.
Definition: fbcamera.h:334
FBEvaluateInfo
AnimationNodeNotify evaluation information.
Definition: fbevaluateinfo.h:79
FBCamera::ForeGroundTexture
FBPropertyTexture ForeGroundTexture
Read Write Property: ForeGround Texture
Definition: fbcamera.h:296
FBCamera::ForeGroundTransparent
FBPropertyBool ForeGroundTransparent
Read Write Property: Is the foreground transparent?
Definition: fbcamera.h:295
FBPropertyString
Property class: const char * (String).
Definition: fbproperties.h:1281
FBModel
Model class.
Definition: fbmodel.h:274
FBPropertyAnimatableBool
class K_DLLIMPORT FBPropertyBaseAnimatable< bool, kFBPT_bool > FBPropertyAnimatableBool
FBPropertyAnimatableBool type definition.
Definition: fbproperties.h:1732
FBCamera::MotionBlurIntensity
FBPropertyAnimatableDouble MotionBlurIntensity
Read Write Property: Motion Blur Intensity.
Definition: fbcamera.h:358
FBCamera::BackGroundImageScaleX
FBPropertyAnimatableDouble BackGroundImageScaleX
Read Write Property: Ignored if BackGroundImageFit is true. X scale, in term of percentage of the fit...
Definition: fbcamera.h:287
FBCamera::ViewForeGroundPlaneMode
FBPropertyCameraViewPlaneMode ViewForeGroundPlaneMode
Read Write Property: Foreground plane view mode
Definition: fbcamera.h:298
FBCamera::FocusDistanceSource
FBPropertyCameraFocusDistanceSource FocusDistanceSource
Read Write Property: Select source for focusing.
Definition: fbcamera.h:339
FBCamera::Interest
FBPropertyModel Interest
Read Write Property: Direct camera's interest.
Definition: fbcamera.h:352
FBCameraStereo::DisplayZeroParallaxPlane
FBPropertyBool DisplayZeroParallaxPlane
Read Write Property: Display the zero parallax plane.
Definition: fbcamera.h:441
FBCameraStereo::InteraxialSeparation
FBPropertyAnimatableDouble InteraxialSeparation
Read Write Property: This property handles the distance between left and right cameras.
Definition: fbcamera.h:428
FBCamera::Type
FBPropertyCameraType Type
Read Write Property: Type of camera
Definition: fbcamera.h:228
FBCameraStereo::RightCamera
FBPropertyCamera RightCamera
Read Write Property: This property hold the right camera connected to it.
Definition: fbcamera.h:434
FBCamera::OrthoFactor
static const double OrthoFactor
Constant scale factor to be used with OrthoZoom for orthographic cameras.
Definition: fbcamera.h:244