[vtkusers] Oriented Tensor Glyphs (Take 2)
Jose Paulo Moitinho de Almeida
moitinho at civil.ist.utl.pt
Wed Oct 16 05:59:23 EDT 2002
Hello
I have created a tar with the code for extended tensor glyphs, which can be
found at:
http://www.civil.ist.utl.pt/~moitinho/vtk/vtkJPM-0.01.tgz
To test it (unixes) you must:
cd somewhere (/tmp is a good idea)
tar xzvf vtkJPM-0.01.tgz
mkdir work
cd work
cmake ../vtkJPM
make
Done!
You must now add (somewhere)/vtkJPM/bin to your LD_LIBRARY_PATH or PYTHONPATH
or (possibly, never tried) TCLPATH.
Some simple examples (requiring a proper PYTHONPATH) can be found in
vtkJPM/Examples just try
python example.py
You can modify the file tensor.vtk or use your own.
Have fun and please let me know what you think about it.
Regards
Ze Paulo
PS: Those who dare may just copy vtkOrientedTensorGlyphs.* over
vtkTensorGlyphs.*, replace the functions to the old name and (with some luck)
it should work as if nothing has changed, only with more possibilities.
More information about the vtkusers
mailing list