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
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
320  FBPropertyCameraSafeAreaMode SafeAreaMode;
321 
325 
326  // Camera Render Options
327  // Rendering Options
331 
332  // Anti-aliasing Options
334  FBPropertyCameraAntiAliasingMethod AntiAliasingMethod;
336  FBPropertyCameraSamplingType SamplingType;
338 
339  // Depth of Field Options
340  FBPropertyCameraFocusDistanceSource FocusDistanceSource;
342  FBPropertyModel FocusModel;
344 
345  // 2D Magnifier
351 
352  // Other Attributes
353  FBPropertyModel Interest;
357 
358  // MotionBlur
362 
363  // Viewport dimension (those property values are only updated & valid during custom renderer callback
368 
369 #ifndef K_NO_HUD
371 #endif
372 
378  void GetCameraMatrix( FBMatrix& pMatrix, FBCameraMatrixType pType, FBEvaluateInfo* pEvalInfo = NULL );
379 
387  FBVector4d InverseProjection( int pX, int pY, double pDistanceFromCamera, bool pRelativeToViewport = false );
388 
389 /*
391 BACK-COMP implementation:
392 The proper implementation is to change UseDepthOfField from
393 FBPropertyBool to FBPropertyAnimatableBool. This breaks
394 backward compatibility and should only be done for major releases
396 */
397  void GetAnimatableFarPlane(FBPropertyAnimatableDouble *pProp);
398  void GetAnimatableNearPlane(FBPropertyAnimatableDouble *pProp);
399 };
400 
402 // FBCameraStereo
405 
407 /* Stereo Type */
408 enum FBCameraStereoType
409 {
410  kFBCameraStereoNone,
411  kFBCameraStereoConverged,
412  kFBCameraStereoOff_Axis,
413  kFBCameraStereoParallel
414 };
415 
416 FB_DEFINE_ENUM( FBSDK_DLL, CameraStereoType);
417 
419 {
421 public:
426  FBCameraStereo(const char * pName, HIObject pObject=NULL);
427 
428  FBPropertyCameraStereoType Stereo;
434 
435  FBPropertyCamera RightCamera;
436  FBPropertyCamera LeftCamera;
437  FBPropertyCamera CenterCamera;
438 
441 
445 };
446 
448 // FBPropertyListCamera
452 {
453 public:
459  FBCamera* operator[](int pIndex);
460 };
461 
463 // FBCameraSwitcher
466 
473 {
475 public:
479 
480  FBPropertyCamera CurrentCamera;
482 
488  bool PlotToCamera( FBCamera* pCamera );
489 };
490 
491 
492 #ifdef FBSDKUseNamespace
493  }
494 #endif
495 #endif
A box is a fundamental building block in the application architecture.
Definition: fbcore.h:218
Creates custom cameras and manages system cameras.
Definition: fbcamera.h:206
FBPropertyBool ViewShowTimeCode
Read Write Property: Show time code?
Definition: fbcamera.h:317
FBPropertyBool UseAntiAliasing
Read Write Property: Use anti-aliasing?
Definition: fbcamera.h:328
FBPropertyTexture BackGroundTexture
Read Write Property: Background Texture
Definition: fbcamera.h:278
FBPropertyListHUD HUDs
List : HUDs present in this camera
Definition: fbcamera.h:370
FBPropertyInt CameraViewportHeight
Read Only Property: Camera Viewport height
Definition: fbcamera.h:367
FBPropertyAnimatableDouble ForeGroundImageScaleX
Read Write Property: Ignored if ForeGroundImageFit is true. X scale, in term of percentage of the fit...
Definition: fbcamera.h:305
FBPropertyAnimatableDouble OpticalCenterY
Read Write Property: Optical Center Y (mm).
Definition: fbcamera.h:235
FBPropertyAnimatableDouble Roll
Read Write Property: Camera's roll on it's Z axis.
Definition: fbcamera.h:354
FBPropertyBool UseRealTimeMotionBlur
Read Write Property: Enable Real-time Motion Blur.
Definition: fbcamera.h:361
FBPropertyInt CameraViewportWidth
Read Only Property: Camera Viewport width
Definition: fbcamera.h:366
FBPropertyAnimatableDouble BackGroundImageScaleX
Read Write Property: Ignored if BackGroundImageFit is true. X scale, in term of percentage of the fit...
Definition: fbcamera.h:287
FBPropertyInt NumberOfSamples
Read Write Property: Number of samples to oversample with.
Definition: fbcamera.h:335
FBPropertyCameraFilmBackType FilmBackType
Read Write Property: Film back standard type.
Definition: fbcamera.h:238
FBPropertyAnimatableDouble FocalLength
Read Write Property: Focal Length.
Definition: fbcamera.h:236
FBPropertyVideo ForeGroundMedia
Definition: fbcamera.h:297
FBPropertyTexture ForeGroundTexture
Read Write Property: ForeGround Texture
Definition: fbcamera.h:296
FBPropertyCameraResolutionMode ResolutionMode
Read Write Property: Resolution standard mode.
Definition: fbcamera.h:219
FBPropertyAnimatableDouble FieldOfView
Read Write Property: Field of View (used when in horizontal or vertical aperture modes).
Definition: fbcamera.h:230
FBPropertyBool DisplayTurnTableIcon
Read Write Property: Enable/Disable the drawing of the Turn Table icon.
Definition: fbcamera.h:356
FBPropertyBool ViewShowName
Read Write Property: Show name?
Definition: fbcamera.h:313
FBPropertyColor FrameColor
Read Write Property: Frame color for camera.
Definition: fbcamera.h:324
FBPropertyBool ForeGroundImageCrop
Read Write Property: Crop the foreground image
Definition: fbcamera.h:302
FBPropertyBool ViewShowGrid
Read Write Property: Show grid?
Definition: fbcamera.h:315
FBPropertyAnimatableDouble FieldOfViewX
Read Write Property: Field of View X angle (used in horizontal and vertical aperture mode).
Definition: fbcamera.h:232
FBPropertyDouble OrthoZoom
Read Write Property: Zoom factor of an orthographic camera.
Definition: fbcamera.h:274
FBPropertyBool ViewDisplaySafeArea
Read Write Property: Display safe area?
Definition: fbcamera.h:318
FBPropertyDouble AntiAliasingIntensity
Read Write Property: Anti-aliasing intensity.
Definition: fbcamera.h:333
void GetCameraMatrix(FBMatrix &pMatrix, FBCameraMatrixType pType, FBEvaluateInfo *pEvalInfo=NULL)
Obtains the camera's matrix.
FBPropertyBool UseFrameColor
Read Write Property: Use frame color?
Definition: fbcamera.h:323
FBPropertyBool ViewShowManipulators
Read Write Property: Show manipulators?
Definition: fbcamera.h:314
FBPropertyBool ForeGroundImageFit
Read Write Property: Fit the foreground image
Definition: fbcamera.h:300
FBPropertyCameraDistanceMode BackGroundPlaneDistanceMode
Read Write Property: Select mode for the background plane's distance.
Definition: fbcamera.h:290
FBPropertyDouble WindowHeight
Read Only Property: Window height.
Definition: fbcamera.h:223
FBPropertyDouble WindowWidth
Read Only Property: Window width.
Definition: fbcamera.h:222
FBPropertyDouble NearPlaneDistance
Read Write Property: Near plane distance.
Definition: fbcamera.h:225
FBPropertyCameraApertureMode ApertureMode
Read Write Property: Aperture mode.
Definition: fbcamera.h:229
FBPropertyAnimatableDouble BackGroundImageScaleY
Read Write Property: Ignored if BackGroundImageFit and/or BackGroundImageKeepRatio is true....
Definition: fbcamera.h:288
FBPropertyAnimatableDouble ForeGroundAlpha
Read Write Property: Opacity of foreground.
Definition: fbcamera.h:293
FBPropertyCameraFocusDistanceSource FocusDistanceSource
Read Write Property: Select source for focusing.
Definition: fbcamera.h:340
FBPropertyAnimatableDouble MotionBlurIntensity
Read Write Property: Motion Blur Intensity.
Definition: fbcamera.h:359
FBPropertyBool ForeGroundTransparent
Read Write Property: Is the foreground transparent?
Definition: fbcamera.h:295
FBPropertyModel FocusModel
Read Write Property: Another model that determines the focus distance.
Definition: fbcamera.h:342
FBPropertyAnimatableDouble MagnifierPosY
Read Write Property: 2D Magnifier Y Position.
Definition: fbcamera.h:350
FBPropertyBool ViewCameraInterest
Read Write Property: Show the camera interest?
Definition: fbcamera.h:311
FBPropertyAnimatableColor BackGroundColor
Read Write Property: Background color for camera.
Definition: fbcamera.h:322
FBPropertyBool BackGroundImageKeepRatio
Read Write Property: Keep the background image's ratio
Definition: fbcamera.h:283
FBPropertyBool UseAccumulationBuffer
Read Write Property: Use accumulation buffer?
Definition: fbcamera.h:337
FBPropertyCameraAntiAliasingMethod AntiAliasingMethod
Read Write Property: Anti-aliasing method.
Definition: fbcamera.h:334
FBPropertyCameraDistanceMode ForeGroundPlaneDistanceMode
Read Write Property: Select mode for the foreground plane's distance.
Definition: fbcamera.h:308
FBPropertyDouble ForeGroundPlaneDistance
Read Write Property: Set the distance for the foreground plane.
Definition: fbcamera.h:307
FBPropertyInt CameraViewportX
Read Only Property: Camera Viewport start position's X value
Definition: fbcamera.h:364
FBPropertyAnimatableDouble FocusAngle
Read Write Property: Focus Angle (rendering dof).
Definition: fbcamera.h:343
FBPropertyDouble FarPlaneDistance
Read Write Property: Far plane distance.
Definition: fbcamera.h:226
FBPropertyAnimatableDouble ForeGroundImageOffsetX
Read Write Property: Ignored if ForeGroundImageFit is true. X offset, in term of percentage of the fi...
Definition: fbcamera.h:303
FBPropertyBool ForeGroundImageKeepRatio
Read Write Property: Keep the foreground image's ratio?
Definition: fbcamera.h:301
FBPropertyBool ForeGroundImageCenter
Read Write Property: Center the foreground image
Definition: fbcamera.h:299
FBPropertyCameraSamplingType SamplingType
Read Write Property: Type of over sampling.
Definition: fbcamera.h:336
FBPropertyDouble FilmSizeHeight
Read Write Property: Height of the film.
Definition: fbcamera.h:240
FBPropertyBool BackGroundImageCenter
Read Write Property: Center the background image
Definition: fbcamera.h:281
FBPropertyDouble SqueezeRatio
Read Write Property: Squeeze ratio.
Definition: fbcamera.h:242
FBPropertyDouble PixelAspectRatio
Read Write Property: Pixel aspect ratio.
Definition: fbcamera.h:224
FBPropertyDouble FilmAspectRatio
Read Write Property: Film aspect ratio.
Definition: fbcamera.h:241
FBPropertyDouble BackGroundPlaneDistance
Read Write Property: Set the distance for the background plane.
Definition: fbcamera.h:289
FBPropertyCameraType Type
Read Write Property: Type of camera
Definition: fbcamera.h:228
FBPropertyBool ViewOpticalCenter
Read Write Property: View optical center?
Definition: fbcamera.h:319
FBPropertyBool BackGroundImageFit
Read Write Property: Fit the background image
Definition: fbcamera.h:282
FBPropertyAnimatableDouble MagnifierZoom
Read Write Property: 2D Magnifier Zoom value.
Definition: fbcamera.h:348
FBPropertyDouble ResolutionWidth
Read Write Property: Resolution width.
Definition: fbcamera.h:220
FBPropertyAnimatableDouble BackGroundImageOffsetX
Read Write Property: Ignored if BackGroundImageFit is true. X offset, in term of percentage of the fi...
Definition: fbcamera.h:285
FBPropertyAnimatableDouble FieldOfViewY
Read Write Property: Field of View Y angle (used in horizontal and vertical aperture mode).
Definition: fbcamera.h:233
FBPropertyBool InteractiveMode
Read Write Property: Interactive mode?
Definition: fbcamera.h:330
FBPropertyDouble FilmSizeWidth
Read Write Property: Width of the film.
Definition: fbcamera.h:239
FBPropertyDouble ResolutionHeight
Read Write Property: Resolution height.
Definition: fbcamera.h:221
FBPropertyBool Display2DMagnifierFrame
Read Write Property: Enable/Disable the drawing of the 2D Magnifier frame box.
Definition: fbcamera.h:347
FBPropertyAnimatableDouble FocusSpecificDistance
Read Write Property: Specfic distance for focusing.
Definition: fbcamera.h:341
FBPropertyInt CameraViewportY
Read Only Property: Camera Viewport start position's Y value
Definition: fbcamera.h:365
FBPropertyBool UseMotionBlur
Read Write Property: Enable Motion Blur.
Definition: fbcamera.h:360
FBPropertyModel Interest
Read Write Property: Direct camera's interest.
Definition: fbcamera.h:353
FBPropertyCameraViewPlaneMode ViewBackGroundPlaneMode
Read Write Property: Background plane view mode
Definition: fbcamera.h:280
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....
Definition: fbcamera.h:306
FBPropertyAnimatableBool UseDepthOfField
Read Write Property: Use depth of field calculations?
Definition: fbcamera.h:329
FBPropertyBool SystemCamera
Read Only Property: Indicate if this a producer (default or system) camera or a custom (user-created)...
Definition: fbcamera.h:215
FBPropertyBool ViewNearFarPlane
Read Write Property: Show near/far planes?
Definition: fbcamera.h:312
FBPropertyCameraViewPlaneMode ViewForeGroundPlaneMode
Read Write Property: Foreground plane view mode
Definition: fbcamera.h:298
FBPropertyDouble ForeGroundMaterialThreshold
Read Write Property: Material threshold for a transparent foreground.
Definition: fbcamera.h:294
FBPropertyBool MouseLockCamera
Read Write Property: Mouse lock for camera?
Definition: fbcamera.h:227
FBPropertyAnimatableDouble OpticalCenterX
Read Write Property: Optical Center X (mm).
Definition: fbcamera.h:234
FBPropertyVideo BackGroundMedia
Definition: fbcamera.h:279
FBPropertyAnimatableDouble MagnifierPosX
Read Write Property: 2D Magnifier X Position.
Definition: fbcamera.h:349
FBPropertyCameraFrameSizeMode FrameSizeMode
Read Write Property: Frame size standard mode.
Definition: fbcamera.h:218
FBPropertyCameraSafeAreaMode SafeAreaMode
Read Write Property: Select mode for safe area.
Definition: fbcamera.h:320
FBPropertyBool BackGroundImageCrop
Read Write Property: Crop the background image
Definition: fbcamera.h:284
FBPropertyAnimatableDouble TurnTable
Read Write Property: Camera's rotation around its interest.
Definition: fbcamera.h:355
FBCamera(const char *pName, HIObject pObject=NULL)
Constructor.
static const double OrthoFactor
Constant scale factor to be used with OrthoZoom for orthographic cameras.
Definition: fbcamera.h:244
FBPropertyAnimatableDouble BackGroundImageOffsetY
Read Write Property: Ignored if BackGroundImageFit is true. Y offset, in term of percentage of the fi...
Definition: fbcamera.h:286
FBPropertyAnimatableDouble ForeGroundImageOffsetY
Read Write Property: Ignored if ForeGroundImageFit is true. Y offset, in term of percentage of the fi...
Definition: fbcamera.h:304
FBPropertyBool Use2DMagnifier
Read Write Property: Enable/Disable the 2D Magnifier.
Definition: fbcamera.h:346
FBPropertyBool ViewShowAxis
Read Write Property: Show axis?
Definition: fbcamera.h:316
FBPropertyColor ZeroParallaxPlaneColor
Read Write Property: Zero parallax plane color.
Definition: fbcamera.h:444
FBPropertyAnimatableDouble InteraxialSeparation
Read Write Property: This property handles the distance between left and right cameras.
Definition: fbcamera.h:429
FBPropertyAnimatableDouble ZeroParallax
Read Write Property: This property handles the distance on the camera view axis where the zero paral...
Definition: fbcamera.h:430
FBPropertyCamera LeftCamera
Read Write Property: This property hold the left camera connected to it.
Definition: fbcamera.h:436
FBPropertyString PrecompFileName
Read Write Property: This property handles the precomp file name.
Definition: fbcamera.h:439
FBPropertyString RelativePrecompFileName
Read Write Property: This property handles the relative precomp file name.
Definition: fbcamera.h:440
FBCameraStereo(const char *pName, HIObject pObject=NULL)
Constructor.
FBPropertyCamera RightCamera
Read Write Property: This property hold the right camera connected to it.
Definition: fbcamera.h:435
FBPropertyAnimatableDouble ToeInAdjust
Read Write Property: This property is to offset the computed toe-in effect when it's in Converged mo...
Definition: fbcamera.h:431
FBPropertyBool DisplayZeroParallaxPlane
Read Write Property: Display the zero parallax plane.
Definition: fbcamera.h:442
FBPropertyCameraStereoType Stereo
Read Write Property: //!< This property handles the types of Stereo camera.
Definition: fbcamera.h:428
FBPropertyAnimatableDouble FilmOffsetLeftCam
Read Write Property: This property handles the film offset for the left camera. (inch)
Definition: fbcamera.h:433
FBPropertyCamera CenterCamera
Read Write Property: This property hold the center camera connected to it. Must be either the master...
Definition: fbcamera.h:437
FBPropertyDouble ZeroParallaxPlaneTransparency
Read Write Property: Zero parallax plane transparency.
Definition: fbcamera.h:443
FBPropertyAnimatableDouble FilmOffsetRightCam
Read Write Property: This property handles the film offset for the right camera. (inch)
Definition: fbcamera.h:432
Camera switcher.
Definition: fbcamera.h:473
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...
Definition: fbcamera.h:481
FBPropertyCamera CurrentCamera
Read Write Property: Camera currently being used by the switcher. Set to NULL to turn on evaluate swi...
Definition: fbcamera.h:480
FBCameraSwitcher()
Constructor.
AnimationNodeNotify evaluation information.
Four x Four (double) Matrix.
Definition: fbtypes.h:290
Model class.
Definition: fbmodel.h:274
PropertyList: Camera
Definition: fbcamera.h:452
FBCamera * operator[](int pIndex)
Get the model at pIndex.
PropertyList: Concrete class for PropertyList of component
Definition: fbcomponent.h:536
PropertyList: Handle.
Definition: fbhud.h:367
Property class: const char * (String).
#define __FBClassDeclare(Name, Parent)
For internal use only.
Definition: fbcomponent.h:131
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
HUD (Head Up Display)
Base class for Cameras.
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.
Definition: fbproperties.h:150
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.
Definition: fbtypes.h:68
class K_DLLIMPORT FBVector4< double > FBVector4d
4D vector
Definition: fbtypes.h:441