#include <csg.h>
Public Member Functions | |
virtual int | type ()=0 |
csg node type accessor | |
virtual const char & | opname ()(char c)=0 |
csg operator accessor | |
virtual PrimitiveRep & | prim ()=0 |
the leaf primitive accessor | |
virtual void | transform (const AffineTransform &m, const AffineTransform &mi)=0 |
transform operator | |
virtual csgNode & | lft ()=0 |
left child accessor | |
virtual csgNode & | rgt ()=0 |
right child accessor |
The csgNode class is the base class for csgPrim and csgComposite. We are doing the Composite pattern implementation as suggested by Gamma et al.
NOTE: