https://github.com/sciinstitute/spire
Renderer for SCIRunGUIPrototype
https://github.com/sciinstitute/spire
Last synced: over 1 year ago
JSON representation
Renderer for SCIRunGUIPrototype
- Host: GitHub
- URL: https://github.com/sciinstitute/spire
- Owner: SCIInstitute
- Created: 2012-12-02T00:43:31.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2014-04-18T19:06:42.000Z (about 12 years ago)
- Last Synced: 2025-01-24T05:27:53.999Z (over 1 year ago)
- Language: C
- Size: 10.8 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Spire
=====
[](https://travis-ci.org/SCIInstitute/spire)
Built as the primary renderer for SCIRun5, Spire is evolving into a thin
interface to desktop OpenGL 2.0+ and OpenGL ES 2.0+.
| Warning |
| ---------------------------------------------------------------------------------- |
| Spire is pre-alpha software and its interface will change between now and `1.0.0`. |
Usage
-----
### Interface
```c++
#include
```
See
[documentation](http://sciinstitute.github.io/spire/class_c_p_m___s_p_i_r_e___n_s_1_1_interface.html).
### Context
```c++
#include
```
The context class is always included via `Interface.h`. Derive and implement
the interface from this abstract class in order to provide Spire with a usable
context.
| Note |
| ------------- |
| This abstract context class will be removed in future versions of Spire. |
See
[documentation](http://sciinstitute.github.io/spire/class_c_p_m___s_p_i_r_e___n_s_1_1_context.html).
Examples
--------
A number of CPM modules use spire. Below are a list of some source examples.
You may also refer to the spire unit tests.