Chapter 5. Implementing Geometric Objects

Table of Contents

Geometric Sphere Class
Wire Class
Interactors
Tool Button for the Sphere Interactor
User Interface for the Sphere Interactor
Numeric Interface for the Sphere Interactor

This document explains how to plug new geometric objects into Realsoft 3D.

You can find the source code for this plugin in samples/plugins/geometrics/sphere folder.

The plugin implements the following classes:

In addition to these, one may also have to create a new rendering primitive for the photo realistic renderer. In most cases one can use the existing rendering primitives and this is not needed. This tutorial doesn't implement new rendering class because the existing rendering primitives are very capable to represent a sphere.