Compound list Compound Members

# View3D Class Reference

View3D is the connection between a camera and a View2D. More...

List of all members.

## Public Members

- View3D (const Rect2D& r)
    Creates a view with the specified rectangle on the Canvas (screen/bitmap).

- View3D (const View3D& view, const Transformable& transform)
    Create a new view with transform preconcatenated to view's current transform.

- virtual int beginRendering ()
    called by render() to initialize the view.

- virtual int endRendering ()
    Must be called after rendering, to ensure correct clipping.

- long setRadar (Radar* R)
    This radar will receive notifications of detectable objects in the vicinity of the camera.

## Detailed Description

View3D is the connection between a camera and a View2D.

## Member Function Documentation

### View3D::View3D(const Rect2D& r)

Creates a view with the specified rectangle on the Canvas (screen/bitmap).

### View3D::View3D(const View3D& view, const Transformable& transform)

Create a new view with transform preconcatenated to view's current transform.

### virtual int View3D::beginRendering()`[virtual]`

called by render() to initialize the view.

### virtual int View3D::endRendering()`[virtual]`

Must be called after rendering, to ensure correct clipping.

### long View3D::setRadar(Radar* R)

This radar will receive notifications of detectable objects in the vicinity of the camera.

Note: R must be dynamically allocated and will be deleted by ~View3D().

The documentation for this class was generated from the following file:

- 3D_Errors.h