17 #ifndef AGXMEX_DLL_INTERFACE_H 18 #define AGXMEX_DLL_INTERFACE_H 36 AGXMEX_EXPORT int AGXMEX_initAgx(
const char* debugFile,
const char* agxFilePath,
const char* agxPluginPath,
const char* osgFilePath );
56 int* stepInputSize,
int* stepOutputSize );
146 #endif // AGXMEX_DLL_INTERFACE_H AGXMEX_EXPORT int AGXMEX_preloadFileAgx(const char *file, int *initInputSize, int *initOutputSize, int *stepInputSize, int *stepOutputSize)
Preloads the scene specified int a .agxPy file into to the simulation.
AGXMEX_EXPORT int AGXMEX_setTimeStepAgx(double timeStep)
AGXMEX_EXPORT const char * AGXMEX_getStepInputValueName(unsigned int valueNr)
Returns the name of a specific step input value for AGXMEX_stepAgx.
AGXMEX_EXPORT int AGXMEX_initAgx(const char *debugFile, const char *agxFilePath, const char *agxPluginPath, const char *osgFilePath)
Initialize the "simulation", must be called prior to any of the other functions.
AGXMEX_EXPORT int AGXMEX_loadFileAgx(double *initInput, double *initOutput)
Loads the scene specified int a .agxPy file into to the simulation.
AGXMEX_EXPORT int AGXMEX_setUseCoSimulation(int flag)
Sets if the simulation should use remote debugging.
AGXMEX_EXPORT const char * AGXMEX_getInitOutputValueName(unsigned int valueNr)
Returns the name of a specific init output value for AGXMEX_stepAgx.
AGXMEX_EXPORT int AGXMEX_getStepOutputSize()
Returns the size of the step output array for AGXMEX_stepAgx.
AGXMEX_EXPORT int AGXMEX_stepAgx(const double *input, double *output)
Step the "simulation".
AGXMEX_EXPORT const char * AGXMEX_getStepOutputValueName(unsigned int valueNr)
Returns the name of a specific step output value for AGXMEX_stepAgx.
AGXMEX_EXPORT const char * AGXMEX_getLastErrorMessage()
Returns last error message. Empty if no error.
AGXMEX_EXPORT int AGXMEX_getInitInputSize()
Returns the size of the init input array for AGXMEX_stepAgx.
AGXMEX_EXPORT int AGXMEX_resetAgx()
Reset the "simulation".
AGXMEX_EXPORT int AGXMEX_getStepInputSize()
Returns the size of the step input array for AGXMEX_stepAgx.
AGXMEX_EXPORT const char * AGXMEX_getInitInputValueName(unsigned int valueNr)
Returns the name of a specific init input value for AGXMEX_stepAgx.
AGXMEX_EXPORT int AGXMEX_getInitOutputSize()
Returns the size of the init output array for AGXMEX_stepAgx.