This section outlines topics specific to writing simple geometric object plug-ins. A geometric object plug-in derives from the class GeomObject
. If a geometric object is deformable and represents itself using a mesh it can derive from SimpleObject2
. The SimpleObject2
class provides default implementations for a number of functions typically required of a geometric object plug-in.
The implementation of SimpleObject2
is provided in the header file simpleobj.h .
For a simple example of a simple geometric object see the Widgethow-to sample in the folder howto\objects\widget .