To use the ExchangeToolkit in your project, simply add the header ExchangeToolkit.h
to your source code. If you intend to use the Eigen Bridge, copy ExchangeEigenBridge.h
as well. The Eigen Bridge is optional, and requires Eigen.
API Reference
The ExchangeToolkit API documentation can be found here
How to Build the Samples (optional)
- Prerequisites
- For Windows, you'll need Visual Studio 2015.
- For Mac/Linux, you'll need qmake, which is part of Qt. Any modern version will do.
- Building on Windows
- Edit the file ExchangeToolkit/build/VisualStudio/devenv.bat
- Update the HOOPS_EXCHANGE_DIR variable so it points to your installation of HOOPS Exchange. ** BE SURE TO USE FORWARD SLASHES
- Save, and open the .bat file
- Build the solution
- Building on Mac/Linux
- Edit the file ExchangeToolkit/build/qmake/config.pri
- Update the HOOPS_EXCHANGE_PATH and HOOPS_VISUALIZE_PATH variables to point to your installations ** BE SURE TO USE FORWARD SLASHES
- Save the file and run qmake
- Run make
The ExchangeToolkit/examples folder contains a number of projects that illustrate common use cases.
The ExchangeToolkit/ExchangeToolkit/include folder contains the toolkit itself.