MONA - MOrpometry for Neurobiological Applications
This is the core library and Applications for 2D/3D image processing
of the MPI for Human Cognitive and Brain Sciences and the
MPI for Evolutionary Anthropology (Human Evolution)
It includes classes to handle
3D images, vector fields and surface meshes.
The coding style of this library relates to the coding style of the
linux kernel. If you edit using (x)emacs, you should put the following
in your .emacs or .xemacs/init.el file:
(defun mona-c++-mode ()
"mode with adjusted defaults for use with libmona."
(interactive)
(c++-mode)
(c-set-style "K&R")
(setq tab-width 8)
(setq indent-tabs-mode t)
(setq c-basic-offset 8)
)
and add the string "-*- mona-c++ -*-" to the first (or second) line of
the files you edit. Then, if you turn on "auto-indent" (x)emacs will
take care of the proper indention.
If your code does not following the style
"astyle --style=linux <file>"
can cure this.