[vtkusers] add an actor in the sample TestInteractorStyleTerrain.tcl

momokeke momokeke momokeke100 at yahoo.co.jp
Wed Aug 15 00:19:40 EDT 2007


Hi,

Is it possible to add an actor in the sample $(VTK)\Rendering\Testing\Tcl\TestInteractorStyleTerrain.tcl ?

If the following lines are added, no actor is drawn in the renderWindow.

========================================
 vtkSphereSource sphere
vtkPolyDataMapper sphereMapper
sphereMapper SetInput [sphere GetOutput]
vtkActor sphereActor
sphereActor SetMapper sphereMapper
ren1 AddActor sphereActor
========================================
 
This problem is due to use of the default parameters for vtkSphereSource?
Thank you very much in advance.

Cheers,
momokeke
 

 
---------------------------------
Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070815/c53ed753/attachment.htm>


More information about the vtkusers mailing list