MAGMA Documentation


Molecular Animation, Graphics and Modeling Application framework (MAGMA) is the next-generation rapid application development system in the field of molecular modeling, computational chemistry and computational molecular biology. It is an extension dynamic link library (DLL) for The Microsoft Foundation Class (MFC) library written completely in C++ that acts as a framework for developing molecular graphics and modeling applications under all generations of Win32 operating systems (Windows 9x, Me, NT, XP and Vista). MAGMA provides a robust set of C++ classes that together with MFC, greatly simplifies the process of developing applications specialized in the field of molecular graphics and modeling.

MAGMA has been developed in Dr. Armin Madadkar Sobhani Research Group at Bioinformatics Department of Institute of Biochemistry and Biophysics (IBB), University of Tehran.

Features at a glance

  • It supports all major versions of Microsoft® Windows and Visual C++ as summerized in the Supported Operating Systems and Supported Enviroments sections.
  • Easy installation and deployment using two distinct automated installation files: one as a Run-Time Library (RTL) and one as Software Developing Kit (SDK).
  • Easy generation of new applications in few steps using a specially designed Custom Application Wizard (only Visual C++® 6.0 at the time being).
  • A comprehensive online help which is automatically integrated into MSDN® during setup and provides context sensitive help during programming in IDE (only Visual C++® 6.0 at the time being).
  • MAGMA is one of the first of its kind that supports plug-in technology at the library level instead of application level. There are four different plug-ins, all derived from CPlugin class: molecular file formats, molecular processors, molecular composers and molecular representation styles. Each of these plug-ins can be either internal or external to the library (except for the representation styles which at the time being can only be developed as internal plug-ins).
  • Easy development and installation of new plug-ins using a specially designed Custom Plug-in Wizard (only Visual C++® 6.0 at the time being).
  • Support for loading/saving molecules, models and workspaces in compressed binary file format suitable for exchanging information between all applications developed using MAGMA. In addition, each application can have propriatery compressed binary format of its own using CMagmaArchive class.
  • MAGMA utilizes OpenGL (industry standard for 2D and 3D graphics across all platforms and hardware) for molecular graphics through OGLEL (OpenGL Extension Library).
  • Ability to Print and Print preview of molecular graphics out of the box and without any effort.
  • Ability to save molecular views in more than 16 different graphical file formats through IPEL (Image Processing Extension Library).
  • Support for exclusive full screen mode suitable for 3D shutter glasses (tested using wired X3D and Asus VR100 shutter glasses on nVidia GPUs).
  • Support for cube map texture backgrounds.
  • Single Instruction Multiple Data (SIMD) extensions (i.e. 3DNow!, 3DNow! Extended, SSE, and SSE2) are used for matrix and vector calculations through MVM (Matrix and Vector Math) library for supported plateforms.

Supported Operating Systems

  • Windows 95
  • Windows 98
  • Windows 98SE
  • Windows ME
  • Windows NT 4.0
  • Windows 2000
  • Windows XP
  • Windows 2003
  • Windows Vista

Supported Enviroments

  • Visual C++® 6.0
  • Visual C++® 7.0 (.NET 2002)
  • Visual C++® 7.1 (.NET 2003)
  • Visual C++® 8.0 (.NET 2005)
  • Visual C++® 9.0 (.NET 2008)

Minimum Requirements

  • In order to develope software using MAGMA, at least one of the following versions of Visual C++ should be installed (it is possible to install Visual C++ after MAGMA installation but in that case it is necessary to run MAGMA configuration utility again):

  1. Visual C++® 6.0 (Service Pack 5.0 or higher)
  2. Visual C++® 7.0 (.NET 2002)
  3. Visual C++® 7.1 (.NET 2003)
  4. Visual C++® 8.0 (.NET 2005)
  5. Visual C++® 9.0 (.NET 2008)

  • An OpenGL hardware accelerated graphic card with support for WGL_ARB_pbuffer extension is highly recommended for applications with graphic output. Recent nVidia or ATI GPUs are fine.

Getting started

Generated on Thu Oct 23 23:56:14 2008 for MAGMA by  Advanced Molecular Software