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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
/**
\file
\brief Functions for making a track curve
Set of functions defined in this module allows user to
make a track curve
\author David Motl <dmotl@volny.cz>
\par Copying
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation, version 2.
$Id: cmpack_tcurve.h,v 1.1 2015/07/06 08:33:22 dmotl Exp $
*/
#ifndef _CMPACK_TCURVE_H_INCLUDED
#define _CMPACK_TCURVE_H_INCLUDED
#include "cmpack_console.h"
#include "cmpack_fset.h"
#include "cmpack_table.h"
/********************** Public constants ***********************************/
/**
\brief Output modifiers
*/
typedef enum _CmpackTCurveFlags
{
CMPACK_TCURVE_DEFAULT = 0, /**< Default behavior */
CMPACK_TCURVE_FRAME_IDS = (1<<0) /**< Include frame identifiers */
} CmpackTCurveFlags;
/******************** Public functions ********************************/
#ifdef __cplusplus
extern "C" {
#endif
/**
\brief Make a track curve
\param[in] fset frame set (source data)
\param[out] table new table with the track curve
\param[in] flags flags
\param[in] console console context for debug information
\return zero on success or error code on failure
*/
CMPACK_EXPORT(int, cmpack_tcurve, (CmpackFrameSet* fset, CmpackTable** table, CmpackTCurveFlags flags,
CmpackConsole* console));
#ifdef __cplusplus
}
#endif
#endif
|