Nimue API

The idea of the Nimue API component is to allow the integration of the Nimues non GUI parts into third-party Java or non Java applications. This component is not yet implemented. Only some ideas for specification is presented.

If the third-party application is written with .NET a corresponding stub cauld be generated, e.g by tools like juggernet.

DataBase API

The DataBase API is used, if a third party data aquisition software wants to save measured trials data in the establised convention of session folders. This is the requirement to process the sessions by Nimue-Platform based Applications or via the Project API. The following code fragment shows how a third-party Java application could access the DataBase API:
File dataBaseFolder;
// The data base configuration includes information about the structure of the metadata and the file formats to save
// the trials data
XMLDocument dataBaseConfiguration;
NimueDataBase dataBase = new NimueDataBase(dataBaseFolder, dataBaseConfiguration);
// relative folder name
String sessionFolderName;
NimueSession session = dataBase.createSession(sessionFolderName)

XMLElement metaData;
// create the trials metadata xml file (equivalent to Vicons .enf files)
iNimueTrial trial = session.createTrial(metaData);
ByteBuffer data;
String mimeType=""
trial.createDataFile(data,mimeType);
trial.save();
In the default configuration all data is saved in the .d3d format but of course all other formats like .c3d can be made available.

Project API

The Project API is used, if a third party application wants to process sessions by a fix project (biomechanical model).
File projectDefFolder;
NimueProject p = new NimueProject(projectDefFolder);
iNimueProcessListener listener;
p.addEventListener(listener);

File sessionFolder;
p.process(sessionFolder);

Open Points