Prev Up Next

Step four : advanced features


Q & A

  1. Can I create raw files with the vol library ?"
  2. What sort of operations can I do between two volumes ?
  3. How do I change the bounds of my volume ?
  4. I'd love to reinvent wheel but I do not have much time, what else the Vol class provides ?
  5. Where can I find more documentation on libvol ?

Can I create raw files with the vol library ?


Of course ! There is a member function called dumpRaw. You can alors convert a vol file in raw format with vol2raw program that comes with the library.
up

What sort of operations can I do between two volumes ?


There are three builtin operations provided by the Vol class :
What happen if the operands don't have the same size ?
What do the colors become ?
up

How do I change the bounds of my volume ?


You cannot resize a volume, there will always be the same number of voxel in each dimension (you can know these number with the member functions sizeT where T is X, Y or Z).
But you can change the center of a volume (the default is the point (0, 0, 0)). Use the member function setVolumeCenter. At any time, you can know the center of the volume with the member functions cX(), cY() and cZ().
up

I'd love to reinvent wheel but I do not have much time, what else the Vol class provides ?


up

Where can I find more documentation on libvol ?


A doxygen documentation was generated at compile-time if doxygen is available.
If this link doesn't work, try to recompile libvol and pass option --doc=yes to the configure script.
up

Valid HTML 4.0! Edited with vim