#include <Camera.h>
Inheritance diagram for CSLCamera:

Public Member Functions |
|
| CSLCamera (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate) | |
| virtual | ~CSLCamera () |
| SI_Float | GetFarPlane () |
| SI_Void | SetFarPlane (SI_Float in_fValue) |
| SI_Float | GetFieldOfView () |
| SI_Void | SetFieldOfView (SI_Float in_fValue) |
| CSIBCVector3D | GetInterestPosition () |
| SI_Void | SetInterestPosition (CSIBCVector3D &in_rValue) |
| CSIBCVector3D | GetPosition () |
| SI_Void | SetPosition (CSIBCVector3D &in_rValue) |
| SI_Float | GetNearPlane () |
| SI_Void | SetNearPlane (SI_Float in_fValue) |
| virtual SI_Float | GetRoll () |
| virtual SI_Void | SetRoll (SI_Float in_fValue) |
| CSLConstraint * | AddConstraint (CSLConstraint::EConstraintType in_ConstraintType) |
| virtual ETemplateType | Type () |
| virtual CSLAnimatableType * | ParameterFromName (SI_Char *in_szName) |
| virtual CSLAnimatableType * | ParameterFromType (EFCurveType in_Type, SI_Char *in_szParameterName) |
Describes a camera and its interest.
| CSLCamera | ( | CSLScene * | in_pScene, | |
| CSLModel * | in_pModel, | |||
| CdotXSITemplate * | in_pTemplate | |||
| ) |
Constructor
| in_pScene | Pointer to the scene containing the Camera | |
| in_pModel | Pointer to the model containing the Camera | |
| in_pTemplate | Pointer to the CdotXSITemplate containing the Camera |
Destructor
Change the far plane of the camera.
| SI_Float | New far plane. value |
Return the field of view of the camera.
Change the field of view of the camera.
| SI_Float | New field of view value. |
Return the position of the camera's interest.
Change the position of the camera's interest.
| CSIBCVector3D& | New interest position. |
Return the position of the camera.
Change the position of the camera.
| CSIBCVector3D& | New position. |
Return the near plane of the camera.
Change the near plane of the camera.
| SI_Float | New near plane value. |
Return the roll of the camera.
Reimplemented in CSLCOLLADACamera.
Change the roll of the camera.
| SI_Float | New roll value. |
Reimplemented in CSLCOLLADACamera.
Add a new constraint to the camera.
| EConstraintType | Type of constraint to create. |
Implements CSLConstrainableType.
Indicate which dotXSI template this object describes.
Implements CSLTemplate.
Return a proxy to the specified parameter.
| in_szName | Name of the parameter |
Reimplemented from CSLTemplate.
| virtual CSLAnimatableType* ParameterFromType | ( | EFCurveType | in_Type, | |
| SI_Char * | in_szParameterName | |||
| ) | [virtual] |
Returns an AnimatableParameter from a EFCurveType.
| EFCurveType | FCurve Type | |
| SI_Char* | The name of the parameter if this FCurve this is unknown. |
CSLFCurve* l_pFCurveX = l_pCamera->CreateFCurve( CSLTemplate::SI_POSITION_X, CSLTemplate::SI_CUBIC ); CSLFCurve* l_pFCurveY = l_pCamera->CreateFCurve( CSLTemplate::SI_POSITION_Y, CSLTemplate::SI_CUBIC ); CSLFCurve* l_pFCurveZ = l_pCamera->CreateFCurve( CSLTemplate::SI_POSITION_Z, CSLTemplate::SI_CUBIC ); CSLFCurve* l_pFCurveRoll = l_pCamera->CreateFCurve( CSLTemplate::SI_ROLL, CSLTemplate::SI_CUBIC ); // Add the keys etc...
Reimplemented from CSLTemplate.