[vtkusers] HELP: TCL to C++

marisa aurelio asiram00 at hotmail.com
Thu May 6 08:50:50 EDT 2004


Hi you all...

I have this piece of code in tcl, which is on the
C:\...\VTK\Graphics\Testing\Tcl\FitEllipse.tcl file.

How can I put this in c++??

...
vtkPolyLine polyline
set Coefficients [polyline FitEllipse points 0 1]
for { set i 0 } { $i < [llength $Coefficients] } { incr i } {
  set a$i [lindex $Coefficients $i]
}
...

Thanks in advance.
Marisa

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail




More information about the vtkusers mailing list