FBX C++ API Reference
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fbxcamerastereo.h
Go to the documentation of this file.
1 /****************************************************************************************
2 
3  Copyright (C) 2015 Autodesk, Inc.
4  All rights reserved.
5 
6  Use of this software is subject to the terms of the Autodesk license agreement
7  provided at the time of installation or download, or which otherwise accompanies
8  this software in either electronic or hard copy form.
9 
10 ****************************************************************************************/
11 
13 #ifndef _FBXSDK_SCENE_GEOMETRY_CAMERA_STEREO_H_
14 #define _FBXSDK_SCENE_GEOMETRY_CAMERA_STEREO_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
19 
20 #include <fbxsdk/fbxsdk_nsbegin.h>
21 
31 {
33 
34 public:
37 
39  void Reset();
40 
44  {
48  eParallel
49  };
50 
56  FbxCamera* GetLeftCamera() const;
57 
63  FbxCamera* GetRightCamera() const;
64 
71  bool SetLeftCamera(FbxCamera* pCamera);
72 
79  bool SetRightCamera(FbxCamera* pCamera);
80 
85  FbxAMatrix GetLeftCameraLocalMatrix() const;
86 
91  FbxAMatrix GetLeftCameraGlobalMatrix() const;
92 
97  FbxAMatrix GetRightCameraLocalMatrix() const;
98 
103  FbxAMatrix GetRightCameraGlobalMatrix() const;
104 
110  double ReevaluateLeftCameraFilmOffsetX() const;
111 
117  double ReevaluateRightCameraFilmOffsetX() const;
118 
120  //
121  // Properties
122  //
124 
125  // -----------------------------------------------------------------------
126  // Stereo and Stereo Adjustments
127  // -----------------------------------------------------------------------
128 
137 
146 
155 
166 
175 
184 
193 
202 
211 
220 
228  bool ConnectProperties();
229 
230 /*****************************************************************************************************************************
231 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
232 *****************************************************************************************************************************/
233 #ifndef DOXYGEN_SHOULD_SKIP_THIS
234 protected:
235  virtual void ConstructProperties(bool pForceSet);
236 
237  virtual FbxStringList GetTypeFlags() const;
238 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
239 };
240 
242 
243 #include <fbxsdk/fbxsdk_nsend.h>
244 
245 #endif /* _FBXSDK_SCENE_GEOMETRY_CAMERA_STEREO_H_ */
FbxPropertyT< FbxDouble > FilmOffsetRightCam
This property handles the film offset for the right camera.
#define FBXSDK_OBJECT_DECLARE(Class, Parent)
Macro used to declare a new class derived from FbxObject.
Definition: fbxobject.h:61
FBX SDK environment definition.
FbxPropertyT< FbxDouble > InteraxialSeparation
This property handles the distance between left and right cameras.
FbxPropertyT< EStereoType > Stereo
This property handles the types of Stereo camera.
FbxPropertyT< FbxReference > LeftCamera
This property has the left camera connected to it.
Array that stores pairs of FbxString and a pointer.
virtual FbxNodeAttribute::EType GetAttributeType() const
Return the type of node attribute which is EType::eCamera.
void Reset()
Reset the camera to default values.
FbxPropertyT< FbxReference > RightCamera
This property has the right camera connected to it.
FbxPropertyT< FbxDouble > ZeroParallax
This property handles the distance on the camera view axis where the zero parallax plane occurs...
Disable the stereo effect.
EType
Node attribute types.
FbxPropertyT< FbxDouble > FilmOffsetLeftCam
This property handles the film offset for the left camera.
EStereoType
Types of Stereo camera.
Computes the convergence plane by shifting the frustum using camera film back.
FbxPropertyT< FbxDouble > ToeInAdjust
This property is to offset the computed toe-in effect when it&#39;s in Converged mode.
FbxPropertyT< FbxString > PrecompFileName
This property handles the precomp file name.
EFbxType
Type identifier constants.
FbxPropertyT< FbxString > RelativePrecompFileName
This property handles the relative precomp file name.
Enumeration.
FBX SDK affine matrix class.
This node attribute contains methods for accessing the properties of a camera.
Definition: fbxcamera.h:34
#define FBXSDK_DLL
Definition: fbxarch.h:173
Computes the zero parallax plane by toeing in the cameras.
EFbxType FbxTypeOf(const FbxCameraStereo::EStereoType &)
virtual void ConstructProperties(bool pForceSet)
Optional property constructor override, automatically called by default constructor.
This node attribute contains methods for accessing the properties of a stereo camera.