This class is only available if you have the Survey plugin.
.
More...
This class is only available if you have the Survey plugin.
.
- Warning
- How to use function from namespace SCameraExternal ?
Use name of the namespace before to call function.
This class is only available if you have the Survey plugin. .
Definition: SCameraExternal.h:30
static Array FromFile(String iFileName)
Function to import an .excam file and create a new SCameraExternal from file.
◆ FromFile
static Array SCameraExternal::FromFile |
( |
String |
iFileName | ) |
|
|
staticslot |
Function to import an .excam file and create a new SCameraExternal from file.
- Warning
- In Javascript, when you write strings the '\' character is an escape character, you need to use '\\' or '/' instead. Pay especially attention to this when writing file paths in your scripts. For example :
- Return values
-
Array.ErrorCode | The error code:
- 0 No error occurred.
- 1 An error occurred.
|
Array.CameraExternal | The camera external parameters. |
- Parameters
-
[in] | iFileName | path and name of the .excam file to import |
◆ GetOrientation
Array SCameraExternal::GetOrientation |
( |
| ) |
|
|
slot |
Get the camera orientation in the world coordinate system.
- Return values
-
Array.RotX | The rotation angle around the X axis in the Euler convention in degree |
Array.RotY | The rotation angle around the Y axis in the Euler convention in degree |
Array.RotZ | The rotation angle around the Z axis in the Euler convention in degree |
◆ GetPosition
Array SCameraExternal::GetPosition |
( |
| ) |
|
|
slot |
Get the camera position in the world frame.
- Return values
-
Array.Point | The camera position |
◆ New [1/2]
◆ New [2/2]
◆ SetOrientation
SCameraExternal::SetOrientation |
( |
Number |
iAngX, |
|
|
Number |
iAngY, |
|
|
Number |
iAngZ |
|
) |
| |
|
slot |
Set the camera orientation from rotation angles in the world coordinate system. Angles are given in degree.
◆ SetPosition
SCameraExternal::SetPosition |
( |
SPoint |
iPosition | ) |
|
|
slot |
Set the camera position in the world frame.
◆ toString [1/2]
String SCameraExternal::toString |
( |
| ) |
|
|
slot |
Get the type of the variable.
◆ toString [2/2]
String SCameraExternal::toString |
( |
| ) |
|
|
slot |
Get the type of the variable.