This reference page is linked to from the following overview topics: Cameras, List of Python Fbx classes, FBX Node Attributes.
#include <fbxcamerastereo.h>
This node attribute contains methods for accessing the properties of a stereo camera.
Generally, a set of stereoRig contains the center camera, the left camera and the right camera. FbxCameraStereo is used to represent the center camera. The left and right camera could be FbxCamera. FbxCameraStereo contains stereo properties. The left and right camera can also be get and set via related methods in FbxCameraStereo class.
Definition at line 30 of file fbxcamerastereo.h.
Public Types |
|
| enum | EStereoType { eNone, eConverged, eOffAxis, eParallel } |
| Types of Stereo camera. More... |
|
Public Member Functions |
|
| virtual FbxNodeAttribute::EType | GetAttributeType () const |
| Return the type of node attribute which is
EType::eCameraStereo. |
|
| void | Reset () |
| Reset the stereo camera to default values.
|
|
| FbxCamera * | GetLeftCamera () const |
| Get the left camera which connect to
property LeftCamera. |
|
| FbxCamera * | GetRightCamera () const |
| Get the right camera which connect to
property RightCamera. |
|
| bool | SetLeftCamera (FbxCamera *pCamera) |
| Set the left camera, connect property
LeftCamera to pCamera. |
|
| bool | SetRightCamera (FbxCamera *pCamera) |
| Set the right camera, connect property
RightCamera to pCamera. |
|
| FbxAMatrix | GetLeftCameraLocalMatrix () const |
| Get the local transformation matrix of left
camera. |
|
| FbxAMatrix | GetLeftCameraGlobalMatrix () const |
| Get the global matrix of left camera.
|
|
| FbxAMatrix | GetRightCameraLocalMatrix () const |
| Get the local transformation matrix of right
camera. |
|
| FbxAMatrix | GetRightCameraGlobalMatrix () const |
| Get the global transformation matrix of
right camera. |
|
| double | ReevaluateLeftCameraFilmOffsetX () const |
| Reevaluate the FilmOffsetX of left camera.
|
|
| double | ReevaluateRightCameraFilmOffsetX () const |
| Reevaluate the FilmOffsetX of right camera.
|
|
| bool | ConnectProperties () |
| connect left and right camera property to
stereo camera. |
|
Public Attributes |
|
| FbxPropertyT< EStereoType > | Stereo |
| This property handles the types of Stereo
camera. |
|
| FbxPropertyT< FbxDouble > | InteraxialSeparation |
| This property handles the distance between
left and right cameras. |
|
| FbxPropertyT< FbxDouble > | ZeroParallax |
| This property handles the distance on the
camera view axis where the zero parallax plane occurs. |
|
| FbxPropertyT< FbxDouble > | ToeInAdjust |
| This property is to offset the computed
toe-in effect when it's in Converged mode. |
|
| FbxPropertyT< FbxDouble > | FilmOffsetRightCam |
| This property handles the film offset for
the right camera. |
|
| FbxPropertyT< FbxDouble > | FilmOffsetLeftCam |
| This property handles the film offset for
the left camera. |
|
| FbxPropertyT< FbxReference > | RightCamera |
| This property has the right camera connected
to it. |
|
| FbxPropertyT< FbxReference > | LeftCamera |
| This property has the left camera connected
to it. |
|
| FbxPropertyT< FbxString > | PrecompFileName |
| This property handles the precomp file name.
|
|
| FbxPropertyT< FbxString > | RelativePrecompFileName |
| This property handles the relative precomp
file name. |
|
| enum EStereoType |
Types of Stereo camera.
Definition at line 43 of file fbxcamerastereo.h.
{
eNone,
eConverged,
eOffAxis,
eParallel
};
| virtual FbxNodeAttribute::EType GetAttributeType | ( | ) | const [virtual] |
Return the type of node attribute which is EType::eCameraStereo.
Reimplemented from FbxCamera.
| void Reset | ( | ) |
| FbxCamera* GetLeftCamera | ( | ) | const |
Get the left camera which connect to property LeftCamera.
| FbxCamera* GetRightCamera | ( | ) | const |
Get the right camera which connect to property RightCamera.
| bool SetLeftCamera | ( | FbxCamera * | pCamera | ) |
Set the left camera, connect property LeftCamera to pCamera.
| pCamera | The camera to set. |
true if it's successful, false
otherwise.| bool SetRightCamera | ( | FbxCamera * | pCamera | ) |
Set the right camera, connect property RightCamera to pCamera.
| pCamera | The camera to set. |
true if it's successful, false
otherwise.| FbxAMatrix GetLeftCameraLocalMatrix | ( | ) | const |
Get the local transformation matrix of left camera.
| FbxAMatrix GetLeftCameraGlobalMatrix | ( | ) | const |
Get the global matrix of left camera.
| FbxAMatrix GetRightCameraLocalMatrix | ( | ) | const |
Get the local transformation matrix of right camera.
| FbxAMatrix GetRightCameraGlobalMatrix | ( | ) | const |
Get the global transformation matrix of right camera.
| double ReevaluateLeftCameraFilmOffsetX | ( | ) | const |
Reevaluate the FilmOffsetX of left camera.
It's computed through stereo camera properties.
| double ReevaluateRightCameraFilmOffsetX | ( | ) | const |
Reevaluate the FilmOffsetX of right camera.
It's computed through stereo camera properties.
| bool ConnectProperties | ( | ) |
connect left and right camera property to stereo camera.
This property handles the types of Stereo camera.
To access this property do: Stereo.Get(). To set this property do: Stereo.Set(EStereoType).
Definition at line 136 of file fbxcamerastereo.h.
This property handles the distance between left and right cameras.
To access this property do: InteraxialSeparation.Get(). To set this property do: InteraxialSeparation.Set(FbxDouble).
Definition at line 145 of file fbxcamerastereo.h.
This property handles the distance on the camera view axis where the zero parallax plane occurs.
To access this property do: ZeroParallax.Get(). To set this property do: ZeroParallax.Set(FbxDouble).
Definition at line 154 of file fbxcamerastereo.h.
This property is to offset the computed toe-in effect when it's in Converged mode.
To access this property do: ToeInAdjust.Get(). To set this property do: ToeInAdjust.Set(FbxDouble).
Definition at line 165 of file fbxcamerastereo.h.
This property handles the film offset for the right camera.
To access this property do: FilmOffsetRightCam.Get(). To set this property do: FilmOffsetRightCam.Set(FbxDouble).
Definition at line 174 of file fbxcamerastereo.h.
This property handles the film offset for the left camera.
To access this property do: FilmOffsetLeftCam.Get(). To set this property do: FilmOffsetLeftCam.Set(FbxDouble).
Definition at line 183 of file fbxcamerastereo.h.
This property has the right camera connected to it.
To access this property do: GetRightCamera(). To set this property do: SetRightCamera(FbxCamera* pCamera).
Definition at line 192 of file fbxcamerastereo.h.
This property has the left camera connected to it.
To access this property do: GetLeftCamera(). To set this property do: SetLeftCamera(FbxCamera* pCamera).
Definition at line 201 of file fbxcamerastereo.h.
This property handles the precomp file name.
To access this property do: PrecompFileName.Get(). To set this property do: PrecompFileName.Set(FbxString).
Default value is ""
Definition at line 210 of file fbxcamerastereo.h.
This property handles the relative precomp file name.
To access this property do: RelativePrecompFileName.Get(). To set this property do: RelativePrecompFileName.Set(FbxString).
Default value is ""
Definition at line 219 of file fbxcamerastereo.h.