[go: up one dir, main page]

Menu

[r799]: / libmona / README  Maximize  Restore  History

Download this file

36 lines (22 with data), 906 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
	MONA - MOrpometry for Neurobiological Applications

This is the core library for 3D image processing of the MPI for 
Human Cognitive and Brain Sciences. 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.