[vtkusers] Convert Tcl to Java
Blezek, Daniel J (Research)
blezek at crd.ge.com
Tue Dec 17 14:50:20 EST 2002
Try:
aPolyLineGrid.InsertNextCell ( aPolyLine.GetCellType(), aPolyLine.GetPointIds() );
--
Daniel Blezek, Ph.D.
blezek at crd.ge.com
Visualization and Computer Vision Lab, Imaging Technologies
GE Global Research Center
> -----Original Message-----
> From: GP LYDON [mailto:gplydon at hotmail.com]
> Sent: Tuesday, December 17, 2002 2:42 PM
> To: vtkusers at public.kitware.com
> Subject: [vtkusers] Convert Tcl to Java
>
>
>
> Dear Users,
>
> I am trying to convert a section of Tcl code to Java code. I
> am having
> trouble with the following line:
>
> Tcl:
>
> aPolyLineGrid InsertNextCell [aPolyLine GetCellType]
> [aPolyLine GetPointIds]
>
> I think it should convert to:
>
> Java:
>
> aPolyLineGrid.InsertNextCell.aPolyLine.GetCellType().aPolyLine
> .GetPointIds();
>
> However it does not compile so I must be incorrect. Any
> suggestions would be
> appreciated.
>
>
> Best Regards
>
> Gearoid
>
>
>
>
>
>
>
> _________________________________________________________________
> The new MSN 8: smart spam protection and 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
> _______________________________________________
> 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
More information about the vtkusers
mailing list