Kyoto Visualization System (KVS) is a multi-platform, open-source C++ library for developing scientific visualization applications. KVS provides various classes and interfaces, such as isosurace extraction, streamlines and volume rendering, to visualize medical data obtained by computerized tomography or magnetic resonance imaging, numerical data from computational fluid dynamics and so on.
The source code of KVS can be downloaded via GitHub as follows:
$ git clone https://github.com/naohisas/KVS.git
Some of software are required for compiling KVS. Please install them as needed before building KVS.
- GLUT
- GLEW (optional but recommended)
- Qt (optional)
- CUDA (optional)
- OpenCV (optional)
The environment variable KVS_DIR
should be set to an install directory of KVS, and the binary directory KVS_DIR/bin
which includes several KVS commands should be add to the PATH variable.
- Windows
Variable | Value |
---|---|
KVS_DIR | C:\Program Files\kvs |
PATH | %PATH%;%KVS_DIR%\bin |
- Linux and Mac OS X
export KVS_DIR=~/local/kvs
export PATH=$KVS_DIR/bin:$PATH
By using the make command, KVS can be easily build and install to KVS_DIR
.
- Windows
$ cd KVS
$ nmake
$ nmake install
- Linux and Mac OS X
$ cd KVS
$ make
$ make install