[vtkusers] <no subject>

Berk Geveci berkgeveci at hotmail.com
Mon Feb 4 15:03:15 EST 2002


Call cube1.Update() before you print to force it
to generate output.


>From: ahmed Tokalak <tokalak at web.de>
>To: vtkusers at public.kitware.com
>Subject: [vtkusers] <no subject>
>Date: Mon, 4 Feb 2002 20:41:39 +0100
>
>Hello vtkusers,
>
>I do the following:
>Java-Code:
>
>vtkCubeSource cube1 = new vtkCubeSource();
>cube1.SetXLength(3);
>cube1.SetYLength(3);
>         cube1.SetZLength(3);
>vtkPolyData cube = cube1.GetOutput();
>
>cube.BuildCells();
>System.out.println("num faces: " +
>cube.GetNumberOfPolys());
>System.out.println("num cells: " +
>cube.GetNumberOfCells());
>System.out.println("num lines: " +
>cube.GetNumberOfLines());
>System.out.println("num strips: " +
>cube.GetNumberOfStrips());
>System.out.println("num verts: " +
>cube.GetNumberOfVerts());
>
>-------------------End-Java-Code---------------------
>
>It prints this:
>
>num faces: 0
>num cells: 0
>num lines: 0
>num strips: 0
>num verts: 0
>
>Why ??? Can anybody help ?
>
>thanks for any help.
>
>______________________________________________________________________________
>Die Nummer, die man nie vergisst: Ihre persönliche Wunschrufnummer von 
>WEB.DE!
>Jetzt einsteigen http://freemail.web.de
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.




More information about the vtkusers mailing list