Changes between Initial Version and Version 1 of Workshops/IntroToHpc2015/Visualization Toolkit (VTK)


Ignore:
Timestamp:
Oct 12, 2015 4:10:55 PM (6 years ago)
Author:
pdejesus
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Workshops/IntroToHpc2015/Visualization Toolkit (VTK)

    v1 v1  
     1= Visualization Toolkit  =
     2
     3* The Visualization Toolkit [http://www.vtk.org VTK is an open-source, freely available software system for 3D computer graphics, image processing and visualization.
     4* VTK consists of a C++ class library and several interpreted interface layers including !Tcl/Tk, Java, and [http://www.vtk.org/Wiki/VTK/Examples/Python Python].
     5* [http://www.kitware.com Kitware], whose team created and continues to extend the toolkit, offers professional support and consulting services for VTK.
     6* VTK supports a wide variety of visualization algorithms including: scalar, vector, tensor, texture, and volumetric methods; and advanced modeling techniques such as: implicit modeling, polygon reduction, mesh smoothing, cutting, contouring, and Delaunay triangulation.
     7* VTK has an extensive information visualization framework, has a suite of 3D interaction widgets, supports parallel processing, and integrates with various databases on GUI toolkits such as Qt and Tk.
     8* VTK is cross-platform and runs on Linux, Windows, Mac and Unix platforms.
     9
     10[http://www.vtk.org/Wiki/VTK/Tutorials]
     11
     12== Setup Environmental Variables for C++ ==
     13{{{#!bash
     14$ module load vtk
     15}}}
     16
     17[[Example VTK-C++]]
     18
     19== Use VTK with anaconda python ==
     20To use anaconda python
     21{{{#!bash
     22$ module load anaconda
     23}}}
     24
     25But the current version of anaconda doesn't have ''vtk'' package in default.
     26
     27To install vtk package in local, first you have to create local python clone.
     28
     29{{{#!bash
     30[fuji@cypress2 VTK]$ conda create -n my_root --clone=/share/apps/anaconda/2.1.0
     31src_prefix: '/share/apps/anaconda/2.1.0'
     32dst_prefix: '/home/fuji/envs/my_root'
     33Packages: 140
     34Files: 0
     35Fetching package metadata: ..
     36Linking packages ...
     37[      COMPLETE      ] |##############################################################################################################################################################################| 100%
     38#
     39# To activate this environment, use:
     40# $ source activate my_root
     41#
     42# To deactivate this environment, use:
     43# $ source deactivate
     44#
     45}}}
     46
     47Then do
     48
     49{{{#!bash
     50$ source activate my_root
     51}}}
     52
     53Now you can install vtk package,
     54{{{#!bash
     55$ conda install vtk
     56}}}
     57
     58=== From next time, to use anaconda python ===
     59{{{#!bash
     60$ module load anaconda
     61$ source activate my_root
     62}}}
     63
     64[[Example VTK-python]]