General-purpose real-time 3D visualization
Project description
CarnaPy
The aim of this package is to provide general-purpose real-time 3D visualization based on Carna specifically for, but not limited to, biomedical data.
Contents
1. Dependencies
- Eigen ≥ 3.0.5
- Carna
- libboost-iostreams
- OpenGL 3.3
- GLEW ≥ 1.7
- EGL
- Python 3
- pybind11
- Linux environment and Conda
Compilation process has been tested with following tools and versions:
- Eigen 3.2.10 is known to be fully supported.
- GCC 7.5 is known to be fully supported.
- Python 3.8.5 is known to be fully supported.
- Ubuntu 18.04 is known to be fully supported.
- pybind11 2.5.0 is known to be fully supported.
2. Build instructions
Assuming you are using a recent version of Ubuntu:
sudo apt-get -qq install libglew-dev libegl1-mesa-dev libboost-iostreams-dev
Create and activate a Conda environment to work in, then:
conda install -c conda-forge pybind11
Download a recent version of Eigen, unpack it, and tell CMake where it is located:
wget https://gitlab.com/libeigen/eigen/-/archive/3.2.10/eigen-3.2.10.tar.gz
tar -vzxf eigen-3.2.10.tar.gz -C /tmp/
export CMAKE_PREFIX_PATH="/tmp/eigen-3.2.10:$CMAKE_PREFIX_PATH"
If you have not already, download, build, and install Carna:
cd /tmp
git clone git@github.com:RWTHmediTEC/Carna.git
cd Carna
sh linux_build.sh
Now it is time to build, package, and install CarnaPy:
cd /tmp/CarnaPy
python setup.py bdist_wheel
python -m pip install CarnaPy/dist/CarnaPy-*.whl
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
CarnaPy-0.0.1.tar.gz
(8.4 kB
view hashes)