#include "SO3SCOL.h"#include "../SO3Material/SO3Compositor.h"#include "../SCOLBasic/SO3Std.h"#include "../SCOLBasic/SO3DataScol.h"#include "StereoManager.h"#include "../SO3SceneGraph/SO3NodeScol.h"#include "../SO3SceneGraph/SO3Entity.h"#include "../SO3SceneGraph/SO3Scene.h"Go to the source code of this file.
Defines | |
| #define | NBCAMERAPKG 24 |
Functions | |
| int | SO3CameraCreate (mmachine m) |
| main include | |
| int | SO3CameraLookAt (mmachine m) |
| SO3CameraLookAt : Set a "look at" on the camera. | |
| int | SO3CameraGetDirection (mmachine m) |
| SO3CameraGetDirection : Get the direction of a camera. | |
| int | SO3CameraGetDerivedDirection (mmachine m) |
| SO3CameraGetDirection : Get the derivated direction of a camera. | |
| int | SO3CameraGetDerivedUp (mmachine m) |
| SO3CameraGetDerivedUp : Gets the derived up vector of the camera, including any rotation inherited from a node attachment and reflection matrix. | |
| int | SO3CameraSetViewport (mmachine m) |
| SO3CameraSetViewport : Attach a camera to a viewport. | |
| int | SO3CameraSetFocalLenght (mmachine m) |
| SO3CameraSetFocalLenght : defines focal length of a camera. | |
| int | SO3CameraGetFocalLenght (mmachine m) |
| SO3CameraGetFocalLenght : Get the focal length of a camera. | |
| int | SO3CameraSetFOVy (mmachine m) |
| SO3CameraSetFOVy : defines FOVy of a camera. | |
| int | SO3CameraGetFOVy (mmachine m) |
| SO3CameraGetFOVy : Get the FOVy of a camera. | |
| int | SO3CameraSetPolygonMode (mmachine m) |
| SO3CameraSetPolygonMode : Set the polygon Mode for a given camera. | |
| int | SO3CameraGetPolygonMode (mmachine m) |
| SO3CameraGetPolygonMode : Get the Polygon mode of a camera. | |
| int | SO3CameraSetProjectionType (mmachine m) |
| SO3CameraSetProjectionType : Sets the type of projection to use (orthographic or perspective). Default is perspective. | |
| int | SO3CameraGetProjectionType (mmachine m) |
| SO3CameraGetProjectionType : Get the camera projection type. | |
| int | SO3CameraSetOrthoWindow (mmachine m) |
| SO3CameraSetOrthoWindow : Sets the orthographic window settings, for use with orthographic rendering only. | |
| int | SO3CameraGetOrthoWindow (mmachine m) |
| SO3CameraGetOrthoWindow : Gets the orthographic window settings, for use with orthographic rendering only. | |
| int | SO3CameraSetNearClipDistance (mmachine m) |
| SO3CameraSetNearClipDistance : defines near clip distance of a camera. | |
| int | SO3CameraGetNearClipDistance (mmachine m) |
| SO3CameraGetNearClipDistance : Get the near clip distance of a camera. | |
| int | SO3CameraSetFarClipDistance (mmachine m) |
| SO3CameraSetFarClipDistance : defines far clip distance of a camera. | |
| int | SO3CameraGetFarClipDistance (mmachine m) |
| SO3CameraGetFarClipDistance : Get the far clip distance of a camera. | |
| int | SO3CameraGetViewport (mmachine m) |
| SO3CameraGetViewport : Get the current viewport attached to a camera. | |
| int | SO3CameraGetNumRenderedFaces (mmachine m) |
| SO3CameraGetNumRenderedFaces : Get the numbered of rendered faces for a camera. | |
| int | SO3CameraSetProjectionMatrix (mmachine m) |
| SO3CameraSetProjectionMatrix : Set the camera projection matrix. | |
| int | SO3CameraGetProjectionMatrix (mmachine m) |
| SO3CameraGetProjectionMatrix : This function return the projection matrix Prototype: fun [SO3_OBJECT] [[F F F F] [F F F F] [F F F F] [F F F F]]. | |
| int | SCOLloadCamera (mmachine m, cbmachine w) |
| Load the SO3Engine Viewport function. | |
| int | SCOLfreeCamera () |
| free the SO3Engine Viewport function | |
Variables | |
| char * | CAMERAname [NBCAMERAPKG] |
| int(* | CAMERAFunc [NBCAMERAPKG])(mmachine m) |
| int | CAMERAnarg [NBCAMERAPKG] |
| char * | CAMERAType [NBCAMERAPKG] |
| #define NBCAMERAPKG 24 |
Nb of Scol functions or types
Definition at line 1220 of file SCOLCamera.cpp.
| int SCOLfreeCamera | ( | ) |
free the SO3Engine Viewport function
| m | : The VM |
Definition at line 1366 of file SCOLCamera.cpp.
Load the SO3Engine Viewport function.
| m | : The VM | |
| w | : The Callback VM |
Definition at line 1356 of file SCOLCamera.cpp.
| int SO3CameraGetProjectionMatrix | ( | mmachine | m | ) |
SO3CameraGetProjectionMatrix : This function return the projection matrix Prototype: fun [SO3_OBJECT] [[F F F F] [F F F F] [F F F F] [F F F F]].
| SO3_OBJECT | : camera |
Definition at line 1112 of file SCOLCamera.cpp.
| int(* CAMERAFunc[NBCAMERAPKG])(mmachine m) |
{
SO3CameraCreate,
SO3CameraLookAt,
SO3CameraGetDirection,
SO3CameraGetDerivedDirection,
SO3CameraGetDerivedUp,
SO3CameraSetViewport,
SO3CameraSetFocalLenght,
SO3CameraGetFocalLenght,
SO3CameraSetFOVy,
SO3CameraGetFOVy,
SO3CameraSetPolygonMode,
SO3CameraGetPolygonMode,
SO3CameraSetNearClipDistance,
SO3CameraGetNearClipDistance,
SO3CameraSetFarClipDistance,
SO3CameraGetFarClipDistance,
SO3CameraGetViewport,
SO3CameraGetNumRenderedFaces,
SO3CameraSetProjectionType,
SO3CameraGetProjectionType,
SO3CameraSetOrthoWindow,
SO3CameraGetOrthoWindow,
SO3CameraSetProjectionMatrix,
SO3CameraGetProjectionMatrix
}
Nb of arguments of each scol function
Definition at line 1258 of file SCOLCamera.cpp.
| char* CAMERAname[NBCAMERAPKG] |
{
"SO3CameraCreate",
"SO3CameraLookAt",
"SO3CameraGetDirection",
"SO3CameraGetDerivedDirection",
"SO3CameraGetDerivedUp",
"SO3CameraSetViewport",
"SO3CameraSetFocalLenght",
"SO3CameraGetFocalLenght",
"SO3CameraSetFOVy",
"SO3CameraGetFOVy",
"SO3CameraSetPolygonMode",
"SO3CameraGetPolygonMode",
"SO3CameraSetNearClipDistance",
"SO3CameraGetNearClipDistance",
"SO3CameraSetFarClipDistance",
"SO3CameraGetFarClipDistance",
"SO3CameraGetViewport",
"SO3CameraGetNumRenderedFaces",
"SO3CameraSetProjectionType",
"SO3CameraGetProjectionType",
"SO3CameraSetOrthoWindow",
"SO3CameraGetOrthoWindow",
"SO3CameraSetProjectionMatrix",
"SO3CameraGetProjectionMatrix"
}
Pointers to C functions that manipulate the VM for each scol function previously defined
Definition at line 1226 of file SCOLCamera.cpp.
| int CAMERAnarg[NBCAMERAPKG] |
{
2,
2,
1,
1,
1,
2,
2,
1,
2,
1,
2,
1,
2,
1,
2,
1,
1,
1,
2,
1,
3,
1,
2,
1,
}
Nb of arguments of each scol function
Definition at line 1290 of file SCOLCamera.cpp.
| char* CAMERAType[NBCAMERAPKG] |
{
"fun [SO3_SCENE S] SO3_OBJECT",
"fun [SO3_OBJECT [F F F]] I",
"fun [SO3_OBJECT] [F F F]",
"fun [SO3_OBJECT] [F F F]",
"fun [SO3_OBJECT] [F F F]",
"fun [SO3_VIEWPORT SO3_OBJECT] I",
"fun [SO3_OBJECT F] I",
"fun [SO3_OBJECT] F",
"fun [SO3_OBJECT F] I",
"fun [SO3_OBJECT] F",
"fun [SO3_OBJECT I] I",
"fun [SO3_OBJECT] I",
"fun [SO3_OBJECT F] I",
"fun [SO3_OBJECT] F",
"fun [SO3_OBJECT F] I",
"fun [SO3_OBJECT] F",
"fun [SO3_OBJECT] SO3_VIEWPORT",
"fun [SO3_OBJECT] I",
"fun [SO3_OBJECT I] I",
"fun [SO3_OBJECT] I",
"fun [SO3_OBJECT F F] I",
"fun [SO3_OBJECT] [F F]",
"fun [SO3_OBJECT [[F F F F] [F F F F] [F F F F] [F F F F]]] I",
"fun [SO3_OBJECT] [[F F F F] [F F F F] [F F F F] [F F F F]]"
}
Prototypes of the scol functions
Definition at line 1322 of file SCOLCamera.cpp.
1.6.3