Menu

VTK 5.0 and Octaviz 0.4.0

Help
2006-05-05
2013-04-22
  • ObsessiveMathsFreak

    I'm having innumerable problems with octaviz. Far, far too many to go into detail here.

    I have three questions.

    1) Is Octaviz compatable with VTK 5? I'm running into errors in the vtk_figure.m file. Namely the functions vtkCubeAxesActor2D.SetProp and vtkRenderer.AddProp are seemingly not defined.

    2) Is Octaviz 0.4.0 the stable release?

    3) What is wrong with the build system? The system takes half an hour to compile, which wouldn't be so bad, except that when it encounters an error, and cmake produces a great many, everything must be started all over again. It remembers nothing. It's the worst build system I've ever come across. I don't think this project can seriously survive on this cmake system.

     
    • ObsessiveMathsFreak

      As a small note, change the SetProp and AddProp functions above in vtk_figure.m to SetViewProp and AddActor respectively, the 'error: Requested method could not be found.' , error should go away.

      I don't know if anything else  has changed yet, and I'm trying anything to avoid a rebuild.

       
      • ObsessiveMathsFreak

        vtk_arrows3.m also requires a change. vtkRenderer.AddProp must be changed to vtkRenderer.AddActor wherever it appears.

        PLus vtk_clear.m requires vtkRenderer.GetProps -> vtkRenderer.GetActors and vtkRenderer.RemoveProps->vtkRenderer.RemoveActors.

        I'm seeing a pattern here, but since vtk_arrows3 was all I wanted, I'm probably done with this. So I leave it to whomever decides to tackle the next release.

         
    • Jonathan Stickel

      Unfortunately, 0.4.0 is in fact the last official release.  We need to make another release soon.  You should have better luck with a CVS checkout, which has many new functions and features.  With CVS octaviz, I was recently able to compile against vtk-5.0, but I had to comment out

      "vtkSignedCharArray"
      "vtkLongLongArray"
      "vtkUnsignedLongLongArray"

      in the file /usr/lib/vtk-5.0/vtkCommonKit.cmake.  If you discover how to fix this problem in Octaviz, please let me know.

      Cmake is a pain, but is necessary since that is what VTK requires.  Unless I do a "cmake clean" it seems to remember what it has already compiled for me, though.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.