Updated for release version: 1.0.21-alpha
This page introduces the topic of Shape Interfaces, which act as a bridge between the user and the geometric objects comprising a Shape Model.
Table of Contents
|
Introduction
Geometric shapes are a core concept in ModelGUI. ModelGUI shapes are discrete spatial (and temporal) representations of physical objects, with their associated attributes and data. This page introduces how shapes are conceived, organized, and implemented in ModelGUI. The Shape Interface is a software layer between the raw geometry of an object and the user. In particular, it holds a set of Attributes which specify how the shape is to be rendered in 2D and 3D, the name which acts as its unique identifier, and other useful information. It also holds a list of Vertex Data Columns, which assign numeric values to each of the shape's vertices, representing user-specific information about the region of space each vertex represents. Finally, each Shape Interface provides its own XML reader and writer code, which allows it to be made persistent (saved to disk and reloaded later).
Shapes
In this section, the major shapes that are currently implemented in ModelGUI are described.