librtl

rtl_lclvoxel Class Reference

Voxel for subdividing a local area of space. More...

#include <voxel.h>

Inherits rtl_voxel.

List of all members.

Public Members


Detailed Description

Voxel for subdividing a local area of space.

A local voxel is used for subdividing space which contains a group of objects. This class is used by rtl_groupobj. You probably have no need for this class directly, if you think you do you probably should be inheriting from rtl_groupobj.


Member Function Documentation

rtl_groupobj* rtl_lclvoxel::groupObject()

void rtl_lclvoxel::groupObject( rtl_groupobj* o )

rtl_lclvoxel::rtl_lclvoxel( rtl_groupobj* )

Creates a local subdivision of space for the given object. The object is needed to provide the bounding space of the local subdivision.

void rtl_lclvoxel::add( rtl_groupmem* )

void rtl_lclvoxel::add( rtl_groupmem*, jUInt, jUInt, jUInt )

void rtl_lclvoxel::subdivide( const jBBox&, jUInt )

Subdivides the voxel at a given depth. Use add(rtl_groupmem*,int,int,int) if you use this function. This function will cause abort if you use add( rtl_groupmem* ).

const jBBox& rtl_lclvoxel::voxelBounds( jUInt, jUInt, jUInt ) const

void rtl_lclvoxel::report() const


The documentation for this class was generated from the following file:
JSP / librtl v0.2 mtigges@cpsc.ucalgary.ca