[vtkusers] assembly, actors, add/remove and rendering
Sean McInerney
seanm at nmr.mgh.harvard.edu
Tue Aug 3 12:47:36 EDT 2004
Sorry! Now I see what you mean ...
I assume this is what you're doing:
assembly->RemovePart(actor);
If it is, I'm mystified too. You could try calling Render() manually
after making the call to RemovePart(). Are you using a vtkAssembly or
vtkPropAssembly?
If you want to merely toggle the Actor's visibility, use
actor->SetVisibility().
-Sean
vtk at scil.sinp.msu.ru wrote:
> On Tue, 3 Aug 2004, Sean McInerney wrote:
>
>> First, you'll probably add the Assembly to the Renderer via a call to
>> AddProp() since it's not an Actor subclass (AddActor is really just a
>> deprecated synonym).
>> Second, you can use RemoveProp() to ... um ... remove it from the
>> Renderer.
>
> ok, but assembly is... assembly.
> I'm removing items in it, but nothing is reflected in the renderer (it
> shows the full picture).
> when I remove assembly - yes, there is no image, I see...
>
More information about the vtkusers
mailing list