[vtk-developers] ruby patch to vtk-5.0.0

Prabhu Ramachandran prabhu_r at users.sf.net
Sun Mar 12 06:29:03 EST 2006


>>>>> "David" == David Gobbi <dgobbi at atamai.com> writes:

    David> Hi Seiya, Wow!  This is amazing.  I downloaded the patch
    David> and was up-and-running with VTK-ruby very fast.  It would
    David> be very nice to see this become part of a future VTK
    David> release.

Haven't tried this but it does sound very cool.

    David> 2) You took the "vtk" prefix off of the classes.  This does
    David> not always work, because the "vtk3DSImporter" class becomes
    David> "3DSImporter" if you remove the "vtk".  This leads to a
    David> syntax error:
[...]
    David>    I think you need to leave the "vtk" prefix on the
    David> classes to avoid this, even if it looks a bit ugly.

Instead of doing that he could also convert 3DSImporter to
ThreeDSImporter.  There are only a few (one?) classes that have this
problem so the benefit of not having to type Vtk::vtkFoo seems well
worth it.

cheers,
prabhu



More information about the vtk-developers mailing list