Visualization API reference
This section contains reference material for the classes that you’ll make use of to build a morphologica visualization.
morphologica uses OpenGL to draw graphics and text. In a way it’s like a game engine for data visualization because it provides a 3D world into which models are drawn and you can move the scene around, viewing the models from different angles. Unlike a game engine, morphologica draws simple models with coloured triangles, which are generated at runtime. The scene is provided by morph::Visual
.
Within your scene, you create one or more instances of a morph::VisualModel
. Each VisualModel
is an object within the scene. You can use pre-defined VisualModels such as graphs and surface plots, or you can derive your own using graphics primitives.