Base class for constructive solid geometry. More...
#include <csg.h>
Inherits rtl_object.
Inherited by rtl_difference, rtl_intersection and rtl_union.
This class implements the framework implementation necessary for all CSG classes. Each CSG operation that inherits from this class must implement:
combine
Note that instances objects derived from this class should never be
passed to rtl_world::add(). Rather they should be built
up with rtl_world::begin() and
rtl_world::end() pairs of calls.
It is possible to derive from a class that derives from this class. For instance both the Cone and Cylinder classes inherit from rtl_intersection which inherits from rtl_csg. Please see the implementation of these classes to learn how to inherit from rtl_union, rtl_intersection and rtl_ifference.
Examples:
rtl_union, rtl_intersection,
rtl_difference
Returns the left object for this CSG tree.
Returns the right object for this CSG tree.
[protected]
[protected]
[protected]
Reimplemented from rtl_object.
[protected]
Reimplemented from rtl_object.
[protected]
Reimplemented from rtl_object.
[protected] [protected]
[protected]
[protected]
[protected]
[protected, pure virtual]
Reimplemented in rtl_union, rtl_intersection and rtl_difference.
[protected]
Reimplemented from rtl_object.
[protected]
Reimplemented from rtl_object.
[protected]
Reimplemented from rtl_object.
[static]
[protected]
[protected]
[protected]
[protected]
[protected]
[protected]
[protected]
[static, protected]
[static, protected]
[static, protected]
[static, protected]
[static, protected]
[static, protected]
[static, protected]