Skip to content

sssilvar/vv

Repository files navigation

Simple vtk viewer

Requirements

System Dependencies

For Debian/Ubuntu distributions:

sudo apt install -y curl zip unzip tar pkg-config cmake ninja-build libvtk9-dev libxmu-dev libxi-dev libgl-dev libxt-dev libglvnd-dev libopengl-dev libglx-dev libegl-dev

fmt and cxxopts are fetched automatically by CMake when not installed. VTK must be available on the system so find_package(VTK) can resolve it.

Build (with CMake presets)

Choose the appropriate preset for your platform and configuration (e.g., macos-debug, macos-release, linux-debug, linux-release, win-x64-debug, win-x64-release).

PRESET=your-preset
cmake --preset=$PRESET
cmake --build --preset=$PRESET  -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
cp build/compile_commands.json .  # Needed for C/C++ autocompletion and symbol search in VSCode

The project builds a single Qt-based executable: vv. Required UI dependencies are Qt6 Widgets and VTK::GUISupportQt.

To analyze your code for common issues and style problems, use:

cppcheck  --check-level=exhaustive  --enable=warning,style,performance,portability,unusedFunction --project=build/compile_commands.json

Install

No need to build (already done in install script).

./install.sh

Make sure ~/.local/bin is in your PATH.

About

Simple VTK mesh viewer

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages