to install the dependencies. You may need to add theconda install -c conda-forge clangxx=18 qt-main python=3.10
conda install -c conda-forge eigen glew graphviz libboost-devel llvm-openmp ninja qhull scikit-learn spectralib sqlite zfp zlib
QT_PLUGIN_PATH
environment
variable: make it point to the \Library\plugins
subdirectory of your Anaconda installation. In a similar manner,
the PYTHONPATH
environment variable must also point to
the Lib
Anaconda installation subdirectory.
ttk-1.3.0.zip
from the
download page and decompress
it in a specific folder of your choice.
ttk-paraview-5.13.0.zip
from
GitHub
and decompress it in a specific folder of your choice.
set CC=clang-cl.exe
set CXX=clang-cl.exe
cd ttk-paraview-5.13.0
mkdir build
cd build
cmake-gui ..
Click on the "Configure" button and select the Ninja generator.
Click on the "Generate" button. Then, close the CMake window
cmake . --build --target install --config Release --parallel
Change the PATH
environment variable to
include:
C:\Program Files (x86)\ParaView\bin
,
CMAKE_PREFIX_PATH
to include
C:\Program Files (x86)\ParaView\lib\cmake
,
PYTHONPATH
to include
C:\Program Files (x86)\ParaView\bin\Lib\site-packages
,
set CMAKE_PREFIX_PATH=%CONDA_ROOT%\Library\lib\cmake;%CONDA_ROOT%\Library\share\eigen3\cmake;%CONDA_ROOT%\Library\share\Qull\cmake;%CONDA_ROOT%\Library\cmake;%ProgramFiles%\TTK-ParaView\lib\cmake;
set CC=clang-cl.exe
set CXX=clang-cl.exe
cd ttk-1.3.0
mkdir build
cd build
cmake-gui ..
TTK_BUILD_PARAVIEW_PLUGINS
to
OFF
.
Examples showing how to use TTK libraries from your
own VTK code can be found
on this page.TTK_BUILD_STANDALONE_APPS
and
TTK_BUILD_VTK_WRAPPERS
to OFF
.
Examples showing how to use TTK libraries from your own
C++ code can be found
on this page.
cmake . --build --target install --config Release --parallel
Change the PATH
environment variable to
include C:\Program Files (x86)\ttk\bin
,
CMAKE_PREFIX_PATH
to include
C:\Program Files (x86)\ttk\lib\cmake
,
PV_PLUGIN_PATH
to include
C:\Program Files (x86)\ttk\bin\plugins
,
PYTHONPATH
to include
C:\Program Files (x86)\ttk\bin\Lib\site-packages
,
cmd.exe
command-line prompt and
type paraview
in it.
At this point, you should see the following TTK startup screen:
On this screen, clicking on the "Example Visualizations" link should bring you
to the TTK built-in example screen:
From there, clicking on one of the three buttons should generate one of the
following three visualizations:
If this is the case, congratulations!
You have just successfully installed
TTK on your system!
Now, please visit our tutorial page to watch video tutorials showing how to use TTK with ParaView with concrete examples and how to use it from your own Python or C++ code or how to extend TTK by writing up your own module!