Compound list Compound Members

# World3D Class Reference

This class provides maintenance for 3D Objects. More...

List of all members.

## Public Members

- virtual long add (Object* O)
    this checks to make sure that any Object added to a World3D is derived from Object3D.

- virtual long preRender (View& view)
    This verifies that the view passed to render() is a View3D.

- virtual long postObjectRender (World_Object* O, View& view)
    This implementation calls the view's postObjectRender() after each object is rendered.

## Detailed Description

This class provides maintenance for 3D Objects.

It moves them, renders them and checks for events, which are sent to them.

## Member Function Documentation

### virtual long World3D::add(Object* O)`[virtual]`

this checks to make sure that any Object added to a World3D is derived from Object3D.

Returns -1 if dynamic_cast fails.

### virtual long World3D::preRender(View& view)`[virtual]`

This verifies that the view passed to render() is a View3D.

If not, it returns non-zero to skip rendering.

### virtual long World3D::postObjectRender(World_Object* O, View& view)`[virtual]`

This implementation calls the view's postObjectRender() after each object is rendered.

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

- 3D_Errors.h