Differences between revisions 30 and 31
Revision 30 as of 2014-06-23 06:29:56
Size: 2326
Comment:
Revision 31 as of 2016-02-03 10:58:35
Size: 2550
Comment:
Deletions are marked like this. Additions are marked like this.
Line 48: Line 48:
== Understanding the plotting mechanism ==

The Plotting is used to handle the data plot windows containing qwt plots and streaming data into them.
[[UnderstandingThePlotting|Here is an illustration on how it works.]]

Design Concepts

1. doxygen generated API reference

The automatically generated class reference can be read at this location. It has been generated with the nice doxygen tool.

2. Object Model

With the tool freemind we have created a diagram showing some of the nrec objects and their relationships:

height="300"

3. Using Font Primitives

nrec uses a special bitmap file format (.bmf) for fonts. There is a command line tool called ttf2bmf that can be used to convert ttf font files into bmf files. The font size specified defines the file size and the resolution of the font bitmaps and defaults to 12. The program, its source code and some example files are located in the folder run/Fonts.

Usage:

./ttf2bmf fontfile outputfile [fontsize]

Examples:

$ ./ttf2bmf LucidaTypewriterRegular.ttf default.bmf 24
./ttf2bmf: Wrote default.bmf, 256 by 256 pixels.
$ ./ttf2bmf LucidaTypewriterRegular.ttf default.bmf 10
./ttf2bmf: Wrote default.bmf, 256 by 64 pixels.
$ ./ttf2bmf LucidaTypewriterRegular.ttf default.bmf 48
./ttf2bmf: Wrote default.bmf, 256 by 1024 pixels.
$ ./ttf2bmf LucidaTypewriterRegular.ttf default.bmf
./ttf2bmf: Wrote default.bmf, 256 by 128 pixels.

4. Understanding the logger mechanism

The Logger is used to transfer messages between different threads running at different priority. Here is an illustration on how it works and an example of a LogReader implementation.

5. Understanding the plotting mechanism

The Plotting is used to handle the data plot windows containing qwt plots and streaming data into them. Here is an illustration on how it works.

6. FlowCondFixation and all it's actions

FlowCondFixation.png

7. PrimitiveControllerColorChangeOnStatus and it's timing

height="20"

nrec: DesignInformation (last edited 2017-05-19 08:53:00 by FriedemannBunjes)