CSLXSICamera Class Reference
This class represents an XSI_Camera template.
More...#include <XSICamera.h>
Inheritance diagram for CSLXSICamera:
List of all members.
Detailed Description
This class represents an XSI_Camera template.
Base class to handle camera functionality for dotXSI 5.0+ (see the XSI_Camera template reference).
Constructor & Destructor Documentation
Constructor
- Parameters:
-
| [in] |
in_pScene |
Pointer to the scene containing the Camera |
| [in] |
in_pModel |
Pointer to the model containing the Camera |
| [in] |
in_pTemplate |
Pointer to the CdotXSITemplate containing the Camera |
- Returns:
- an instance of CSLCamera
Destructor
Member Function Documentation
Returns the camera field of view dominance.
- Returns:
- the camera field of view dominance.
| SI_Void SetStandard |
( |
SI_Int |
in_lValue |
) |
|
Changes the camera field of view dominance.
- Parameters:
-
| [in] |
in_lValue |
New camera field of view dominance. |
| SI_Float GetPictureRatio |
( |
|
) |
|
Returns the camera picture ratio.
- Returns:
- the camera picture ratio.
| SI_Void SetPictureRatio |
( |
SI_Float |
in_lValue |
) |
|
Changes the camera picture ratio.
- Parameters:
-
| [in] |
in_lValue |
New camera picture ratio. |
| SI_Float GetFieldOfView |
( |
|
) |
|
Returns the camera field of view.
- Returns:
- the camera field of view.
| SI_Void SetFieldOfView |
( |
SI_Float |
in_lValue |
) |
|
Changes the camera field of view.
- Parameters:
-
| [in] |
in_lValue |
New camera field of view. |
| SI_Int GetFieldOfViewType |
( |
|
) |
|
Returns the camera field of view dominance.
- Returns:
- the camera field of view dominance.
| SI_Void SetFieldOfViewType |
( |
SI_Int |
in_lValue |
) |
|
Changes the camera field of view dominance.
- Parameters:
-
| [in] |
in_lValue |
New camera field of view dominance. |
| SI_Int GetProjectionType |
( |
|
) |
|
Returns the camera projection type.
- Returns:
- the camera projection type.
| SI_Void SetProjectionType |
( |
SI_Int |
in_lValue |
) |
|
Changes the camera projection type.
- Parameters:
-
| [in] |
in_lValue |
New camera projection type. |
| SI_Float GetOrthoHeight |
( |
|
) |
|
Returns the camera orthographic height.
- Returns:
- the camera orthographic height.
| SI_Void SetOrthoHeight |
( |
SI_Float |
in_lValue |
) |
|
Changes the camera orthographic height.
- Parameters:
-
| [in] |
in_lValue |
New camera orthographic height. |
| SI_Float GetInterestDistance |
( |
|
) |
|
Returns the camera interest distance.
- Returns:
- the camera interest distance.
| SI_Void SetInterestDistance |
( |
SI_Float |
in_lValue |
) |
|
Changes the camera interest distance.
- Parameters:
-
| [in] |
in_lValue |
New camera interest distance. |
| SI_Float GetNearPlane |
( |
|
) |
|
Returns the camera near clipping plane.
- Returns:
- the camera near clipping plane.
| SI_Void SetNearPlane |
( |
SI_Float |
in_lValue |
) |
|
Changes the camera near clipping plane.
- Parameters:
-
| [in] |
in_lValue |
New camera near clipping plane. |
Returns the camera far clipping plane.
- Returns:
- the camera far clipping plane.
| SI_Void SetFarPlane |
( |
SI_Float |
in_lValue |
) |
|
Changes the camera far clipping plane.
- Parameters:
-
| [in] |
in_lValue |
New camera far clipping plane. |
| SI_Bool GetProjectionPlaneEnable |
( |
|
) |
|
Returns the camera projection plane.
- Returns:
- the camera projection plane.
| SI_Void SetProjectionPlaneEnable |
( |
SI_Bool |
in_lValue |
) |
|
Changes the camera projection plane.
- Parameters:
-
| [in] |
in_lValue |
New camera projection plane. |
| SI_Float GetProjPlaneWidth |
( |
|
) |
|
Returns the camera projection plane width.
- Returns:
- the camera projection plane width.
| SI_Void SetProjPlaneWidth |
( |
SI_Float |
in_lValue |
) |
|
Changes the camera projection plane width.
- Parameters:
-
| [in] |
in_lValue |
New camera projection plane width. |
| SI_Float GetProjPlaneHeight |
( |
|
) |
|
Returns the camera projection plane height.
- Returns:
- the camera projection plane height.
| SI_Void SetProjPlaneHeight |
( |
SI_Float |
in_lValue |
) |
|
Changes the camera projection plane height.
- Parameters:
-
| [in] |
in_lValue |
New camera projection plane height. |
| SI_Float GetProjPlaneOffsetX |
( |
|
) |
|
Return the camera projection plane offset X.
- Returns:
- the camera projection plane offset X.
| SI_Void SetProjPlaneOffsetX |
( |
SI_Float |
in_lValue |
) |
|
Changes the camera projection plane offset X.
- Parameters:
-
| [in] |
in_lValue |
New camera projection plane offset X. |
| SI_Float GetProjPlaneOffsetY |
( |
|
) |
|
Returns the camera projection plane offset Y.
- Returns:
- the camera projection plane offset Y.
| SI_Void SetProjPlaneOffsetY |
( |
SI_Float |
in_lValue |
) |
|
Changes the camera projection plane offset Y.
- Parameters:
-
| [in] |
in_lValue |
New camera projection plane offset Y. |
Returns the type of this template
- Return values:
-
Implements CSLTemplate.
| virtual SI_Error Synchronize |
( |
|
) |
[virtual] |
Synchronizes this Camera instance with its IO layer representation
- Return values:
-
Reimplemented from CSLTemplate.
Returns a handle on one of this Camera's parameters by using its name
- Parameters:
-
| [in] |
in_szName |
the name of the parameter to get the handle from |
- Returns:
- the handle to the parameter
Reimplemented from CSLTemplate.
Returns a handle on one of this Camera's parameters by using its type
- Parameters:
-
| [in] |
in_Type |
the type of the parameter to get the handle from |
| [in] |
in_szName |
the name of the parameter to get the handle from (in case type is not found) |
- Returns:
- the handle to the parameter
Reimplemented from CSLTemplate.
| virtual const SI_Char* GetParameterName |
( |
CSLAnimatableType * |
in_pParameter |
) |
[virtual] |
Returns the name (string) of a specified sub parameter.
- Parameters:
-
| [in] |
in_pParameter |
The sub parameter |
- Returns:
- Name of the sub parameter.
Reimplemented from CSLTemplate.
The documentation for this class was generated from the following file: