[vtkusers] HELP: tcl to c++

marisa aurelio asiram00 at hotmail.com
Wed May 5 09:59:55 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

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail




More information about the vtkusers mailing list