<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>Dear vtk
experts,<BR><BR>I'm having a problem trying to animate a vtkAssembly
in a vtk Window. I'm using Java (vtkPanel) and vtk 5.0.0. <BR><BR>Here's the
context, I have an assembly made up of four types of objects:<BR>type1:
arbitrary polyData read from a .vtp file (typically tens of these <100).
Geometry doesn't change during animation while transforms change.<BR>type2:
spherical objects attached at fixed locations to type1 objects (typically few
<10 per object of type1 ) <BR>type3: spherical objects attached at fixed
locations to type1 objects (typically tens per object of type1) that come in and
out during animation.<BR>type4: Line objects connecting type3 objects displayed
as cylinders that change in number, length and orientation during animation
based on type3 object positions. This's actually a set of
poly-lines.<BR><BR>What I've tried so far<BR>- vtkAssembly for type1, vtkActor
for type2, type3, type4 =>very slow even tumbling the view <BR>-
vtkActor for everything because of the warnings I read about slow assemblies
performance => same <BR>- vtkActor for type1, (Glyph3D & PointSet) for
type2, type3, (TensorGlyph3D & PointSet) for type4. =>snappy tumbling the
view but slow animation (more than 100 ms to render a frame on a souped up
workstation).<BR>- vtkActor for type1, (Glyph3D & PointSet) for type2,
type3, (Poly-lines & Tuber filter) for type4. =>almost
same</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman"
size=3></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>Any suggestions
on what vtk objects better fit this configuration/context would be greatly
appreciated as well as any example doing animation in a vtk window in Java (I'm
using a Timer to fire events that update the
geometry/xforms).</FONT></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance for your help,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial>-Ayman</FONT></DIV>
<DIV><FONT face=Arial>-------------------------</FONT></DIV>
<DIV><FONT face=Arial><FONT face="Times New Roman">Ayman Habib, Ph.D.</FONT>
<DIV>Stanford University<BR>Clark Center, S348<BR>318 Campus Drive<BR>Stanford,
CA 94305-5450<BR>(650) 736-1414 <BR><BR></DIV></DIV><FONT
size=2></FONT></FONT></BODY></HTML>