vtkActor::Update() vtkAssembly::Update()

John Biddiscombe j.biddiscombe at rl.ac.uk
Fri May 12 05:44:00 EDT 2000


I've subclassed vtkAssembly to create a special object which takes an input
and generates multiple texture mapped objects as an output (assembly).

vtkActor::Update() is never called (why?)
vtkAssembly::Update() is never called 

I've had to override

GetMTime() 
GetRedrawMTime()
RenderOpaqueGeometry(vtkViewport *ren) 

to make my assembly correctly update when the input changes and the
renderwindow re-renders. This seems very wrong to me. overriding
RenderOpaqueGeometry(vtkViewport *ren) must be bad because I should also
override RenderTranslucentGeometry(vtkViewport *ren) and there should be a
single Update placed inside the correct function not two in different places.

Can anyone tell me the correct place to intercept Actor/Assembly render
calls and force my own update if the input has been changed.

thanks

John B


--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list