# IBM Visualization Data Explorer Programmer's Reference

[ Bottom of Page | Previous Page | Next Page | Table of Contents | Partial Table of Contents | Index ]

## 16.7 Camera Class

A Camera Object stores parameters that relate a scene to an image of the scene, including camera position and orientation, field of view, type of projection, and resolution. It specifies the transformation from world coordinates to image coordinates.

`Camera DXNewCamera()` | Creates a new Camera. See DXNewCamera.
`Camera DXSetView()` | Specifies the Camera position, a point on the line of sight of the Camera, and the Camera orientation. See DXSetView, DXGetView.
`Camera DXSetOrthographic()` | Specifies an orthographic view. The width of the viewport in the world coordinates and the aspect ratio are specified. See DXSetOrthographic, DXGetOrthographic.
`Camera DXSetPerspective()` | Specifies a perspective view. The field of view specifies the tangent of half the angle of the field of view. The height of the view is the specified `aspect` times the width. See DXSetPerspective, DXGetPerspective.
`Camera DXSetBackgroundColor()` | Specifies the background color of a scene. See DXSetBackgroundColor, DXGetBackgroundColor.
`Camera DXSetResolution()` | Specifies the resolution of a Camera. See DXSetResolution, DXGetCameraResolution.
`Camera DXGetView()` | Returns the camera view parameters. See DXSetView, DXGetView.
`Camera DXGetOrthographic()` | Returns the orthographic camera parameter. See DXSetOrthographic, DXGetOrthographic.
`Camera DXGetPerspective()` | Returns the perspective camera parameters. See DXSetPerspective, DXGetPerspective.
`Camera DXGetBackgroundColor()` | Extracts a scene background color associated with a camera. See DXSetBackgroundColor, DXGetBackgroundColor.
`Camera DXGetCameraResolution()` | Returns the camera resolution. See DXSetResolution, DXGetCameraResolution.
`Matrix DXGetCameraMatrix() Matrix DXGetCameraMatrixWithFuzz(); Matrix DXGetCameraRotation();` | Return matrices that represent stages of the viewing operation. See DXGetCameraMatrix, DXGetCameraRotation, DXGetCameraMatrixWithFuzz.

[ Top of Page | Previous Page | Next Page | Table of Contents | Partial Table of Contents | Index ]
[Data Explorer Documentation | QuickStart Guide | User's Guide | User's Reference | Programmer's Reference | Installation and Configuration Guide ]

[Data Explorer Home Page]

[IBM Home Page | Order | Search | Contact IBM | Legal ]