[vtkusers] HELP!!! WindowName
Malcolm Drummond
malcolm at geovision.co.za
Tue Jul 1 11:32:18 EDT 2003
Hi Marisa
Call Initialize() on the render window before SetWindowName.
HTH
Malcolm
----- Original Message -----
From: "marisa aurelio" <asiram00 at hotmail.com>
To: <vtkusers at public.kitware.com>
Sent: Tuesday, July 01, 2003 5:09 PM
Subject: [vtkusers] HELP!!! WindowName
> Hi vtk Users,
>
> I want to put a name in my RenderWindow!! But, it isn't working!!
>
> What am I doing wrong???
>
> >vtkRenderer* renderer = vtkRenderer::New();
> >vtkRenderWindow* renWin = vtkRenderWindow::New();
> >
> >renWin->SetWindowName("KAKADU");
> >renWin->AddRenderer(renderer);
> >iren->SetRenderWindow(renWin);
> > // Add the vtkImageActor to the renderer for display.
> >renderer->AddActor(imageActor);
> >renderer->SetBackground(0.4392, 0.5020, 0.5647);
> >
> >// Bring up the render window and begin interaction.
> >renWin->Render();
> > renWin->Delete();
> >renderer->Delete();
>
> Thanks in advance,
>
> Marisa
>
> _________________________________________________________________
> Help STOP SPAM with the new MSN 8 and get 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list