[vtkusers] object of vtk in TCL
novalet at yahoo.com.cn
Sun Apr 13 21:37:42 EDT 2003
I find the objects created by the vtk are not a
% vtkRenderer ren
% info vars
tcl_rcFileName tkPriv.:0 tcl_version argv argv0
errormsg VTK_DATA_ROOT tcl_traceCompile tk_library
tk_version errorCode auto_path tk_strictMotif
auto_index env tcl_patchLevel argc tk_patchLevel
tcl_libPath errorMessage tcl_library tcl_platform
the "ren" isn't inside the "info vars"
How can i get a description of object?
% puts $ren
can't read "ren": no such variable
I am a newbie in tcl. Hope somebody can lend me a hand
Another probleam is how to delete such a object?
script want to replace the former object to another
% vtkImageViewer ren
ren: a vtk object with that name already exists.
It seems can't be replaced by declare a new object
with same name. So there must be a way to delete it,
Remote Scensing Satellite Ground Station
Chinese Academy of Science
Do You Yahoo!?
More information about the vtkusers