From: Peter A. G. <pe...@sp...> - 2007-10-02 16:14:38
|
On Monday 01 October 2007 10:07:29 am Jonathan Stickel wrote: > Hi Pete > > Glad you like octaviz. There is not yet a "view" function, but you are > welcome to make one and submit it to one of the "trackers" on the > sourceforge project page. The code to use is something like > > f=vtk_figure(0); > f.renderer.GetActiveCamera().SetPosition(x,y,z); > > Actually, you can just use this code to set your camera without making a > view function, but a contribution would be welcome! I am stuck with my > development efforts at the moment since I can't get octaviz to compile > on my Mac... > > Regards, > Jonathan Hi again, OK, I'm looking into a view function but have to admit some of the vtk syntax is (as of yet) non-intuitive to me. I'll keep plugging away as I find time. A few other questions: 1) When using vtk_plot3() followed by vtk_axis("square"), the points are scaled and look like ovoids... is there a way to avoid this? 2) When plotting vtk_contour() followed by vtk_contour() (I want lines and colors in the same plot), they do not end up on the same z position. Is this expected? Thanks again, keep up the good work. Pete |