[vtkusers] vtkRenderer.AddActor

Mike Gagnon mike at gagnon.com
Fri Jul 12 15:18:07 EDT 2013


Thanks again David!  I still had the problem but I figured it out...  My 
actors were outside of my clipping range!

Not sure why the mouse click helped though - they should still have been 
outside the range...  Just had to make a bigger clipping range.

Great weekend to all!  :o)


On 7/12/2013 10:15 AM, David Cole wrote:
> > void vtkMFCSingleView::AddActor(vtkSmartPointer<vtkActor> pActor)
> > {
> >     Renderer->AddActor(pActor);
> >     Invalidate();
> > }
> After your call to Renderer->AddActor, make a call to 
> vtkRenderWindow::Render:
> {
>   Renderer->AddActor(pActor);
>   Renderer->GetRenderWindow()->Render();
> }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130712/c15917c0/attachment.htm>


More information about the vtkusers mailing list