#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) |
| 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 |
| virtual ~CSLCamera | ( | ) | [virtual] |
Destructor
| SI_Float GetFarPlane | ( | ) |
Return the far plane of the camera.
| SI_Void SetFarPlane | ( | SI_Float | in_fValue | ) |
Change the far plane of the camera.
| SI_Float | New far plane. value |
| SI_Float GetFieldOfView | ( | ) |
Return the field of view of the camera.
| SI_Void SetFieldOfView | ( | SI_Float | in_fValue | ) |
Change the field of view of the camera.
| SI_Float | New field of view value. |
| CSIBCVector3D GetInterestPosition | ( | ) |
Return the position of the camera's interest.
| SI_Void SetInterestPosition | ( | CSIBCVector3D & | in_rValue | ) |
Change the position of the camera's interest.
| CSIBCVector3D& | New interest position. |
| CSIBCVector3D GetPosition | ( | ) |
Return the position of the camera.
| SI_Void SetPosition | ( | CSIBCVector3D & | in_rValue | ) |
Change the position of the camera.
| CSIBCVector3D& | New position. |
| SI_Float GetNearPlane | ( | ) |
Return the near plane of the camera.
| SI_Void SetNearPlane | ( | SI_Float | in_fValue | ) |
Change the near plane of the camera.
| SI_Float | New near plane value. |
| virtual SI_Float GetRoll | ( | ) | [virtual] |
Return the roll of the camera.
Reimplemented in CSLCOLLADACamera.
| virtual SI_Void SetRoll | ( | SI_Float | in_fValue | ) | [virtual] |
Change the roll of the camera.
| SI_Float | New roll value. |
Reimplemented in CSLCOLLADACamera.
| CSLConstraint* AddConstraint | ( | CSLConstraint::EConstraintType | in_ConstraintType | ) | [virtual] |
Add a new constraint to the camera.
| EConstraintType | Type of constraint to create. |
Implements CSLConstrainableType.
| virtual ETemplateType Type | ( | ) | [virtual] |
Indicate which dotXSI template this object describes.
Implements CSLTemplate.
| virtual CSLAnimatableType* ParameterFromName | ( | SI_Char * | in_szName | ) | [virtual] |
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.