#include <RmEffect.h>
Inheritance diagram for RmCamera:

Public Member Functions | |
| RmCamera () | |
| Default Constructor. | |
| virtual | ~RmCamera () |
| Destructor. | |
| virtual void | Update (RmNodeUpdateType nodeUpdateType, RmNode *pRmUpdateRootNode) |
| Update. | |
| virtual bool | LoadXMLData (int hDoc, const RM_TCHAR *strXPath, const RM_TCHAR *strRmXMLVersion) |
| Load node data from XML. | |
| virtual bool | SaveXMLData (int hDoc, const RM_TCHAR *strXPath) |
| Save node data to XML. | |
| virtual RmNode * | Clone (bool bIncludeLoadedData) |
| Clone this node. | |
| virtual const RM_TCHAR * | GetDescription () |
| void | SetPosition (RmVector3D &pNewPosition) |
| Set position. | |
| void | SetPosition (float x, float y, float z) |
| Set position. | |
| void | SetLookAt (RmVector3D &pNewLookAt) |
| Set loook at. | |
| void | SetLookAt (float x, float y, float z) |
| Set loook at. | |
| void | SetUp (RmVector3D &pNewUp) |
| Set up direction. | |
| void | SetUp (float x, float y, float z) |
| Set up direction. | |
| void | SetFOV (float fFOV) |
| Set field of view. | |
| void | SetNearClipPlane (float fNearClipPlane) |
| Set near plane. | |
| void | SetFarClipPlane (float fFarClipPlane) |
| Set far clip plane. | |
| RmVector3D | GetPosition () |
| Get position. | |
| RmVector3D | GetLookAtPosition () |
| Get look-at position. | |
| RmVector3D | GetUp () |
| Camera up vector. | |
| RmVector3D | GetLookAt () |
| Camera look-at vector. | |
| RmVector3D | GetCross () |
| Camera cross vector. | |
| float | GetFOV () |
| Field of view. | |
| float | GetNearClipPlane () |
| Near clip plane. | |
| float | GetFarClipPlane () |
| Far clip plane. | |
| void | SetCameraParameters (const RmMatrix4x4 &mat, bool bSetLookAt) |
| Set parameters from matrix. | |
| RmMatrix4x4 | GetCameraMatrix () |
| Camera transformation matrix. | |
Protected Member Functions | |
| virtual void | CopyNodeData (RmNode *pDestinationNode, bool bIncludeLoadedData) |
| Copy node data. | |
| virtual RmNodeTypeChildRuleList * | GetNodeTypeChildRuleList () |
| Parent / Child rule list function. | |
| virtual void | SetNodeTypeChildRuleList (RmNodeTypeChildRuleList *pRmNodeChildRuleList) |
| Sets the node child rule list for the given node. | |
Protected Attributes | |
| RmVector3D | m_cameraPosition |
| Camera position. | |
| RmVector3D | m_lookAtVector |
| Look at position. | |
| RmVector3D | m_upVector |
| Up vector. | |
| float | m_fFOV |
| Field of view in degree. | |
| float | m_fNearClipPlane |
| Near clip plane. | |
| float | m_fFarClipPlane |
| Far clip plane. | |
| RmProjectionMode | m_projectionMode |
Stores settings for the camera for each draw call (pass) rendering. It can be shared between multiple draw calls or tied to the manipulations of the trackball in the preview window (if it's the active camera for the effect).
|
|
Default Constructor. Default constructor |
|
|
Destructor. Destructor |
|
|
Clone this node. Creates a clone of this node
Reimplemented from RmNode. |
|
||||||||||||
|
Copy node data. Copies this node's contents (not including children) into the destination node. See RmNode::CopyNodeData for details
Reimplemented from RmNode. |
|
|
Camera transformation matrix. Retrieve the matrix that represents view transformation for this camera node
|
|
|
Camera cross vector. Retrieve the cross vector for the camera up and camera look-at vectors
|
|
|
Returns description of the node: used for displaying a tooltip in the workspace tree view for the given node.
Reimplemented from RmNode. |
|
|
Far clip plane. Retrieve the value for the far clip plane
|
|
|
Field of view. Get field of view angle value for the camera (in degrees)
|
|
|
Camera look-at vector. Retrieve the look-at vector for the given camera node
|
|
|
Get look-at position. Get look-at position for the camera
|
|
|
Near clip plane. Retrieve the value for the near clip plane
|
|
|
Parent / Child rule list function. Retrieves the rule list for adding child nodes for a given node type
Reimplemented from RmNode. |
|
|
Get position. Get position of camera
|
|
|
Camera up vector. Retrieve the up vector for the camera node
|
|
||||||||||||||||
|
Load node data from XML. Loads versioned XML node data. Note that this method will only load the contents of each node, not the data for all of the children nodes. Each child will have its own XML loading function called by the API.
Reimplemented from RmNode. |
|
||||||||||||
|
Save node data to XML. Saves node's contents to XML. Note that this method will only save the contents of each node, not the data for all of the children nodes. Each child will have its own XML saving function called by the API.
Reimplemented from RmNode. |
|
||||||||||||
|
Set parameters from matrix. Set parameters for the camera matrix given a view transformation matrix
|
|
|
Set far clip plane. Set far clip plane
|
|
|
Set field of view. Set field of view for camera
|
|
||||||||||||||||
|
Set loook at. Set look at position of camera
|
|
|
Set loook at. Set look at position of camera
|
|
|
Set near plane. Set near clip plane
|
|
|
Sets the node child rule list for the given node. Sets the child addition rule list for the given node.
Reimplemented from RmNode. |
|
||||||||||||||||
|
Set position. Set position of camera
|
|
|
Set position. Set position of camera
|
|
||||||||||||||||
|
Set up direction. Set up direction of camera
|
|
|
Set up direction. Set up direction of camera
|
|
||||||||||||
|
Update. Updates the internal values of the node
Reimplemented from RmNode. |
1.3.6