[vtkusers] HELP!!! WindowName

anast.jm at pg.com anast.jm at pg.com
Tue Jul 1 11:37:07 EDT 2003


Marisa,

I've found a call to vtkRenderWindow Initialize seems to help

# In tcl 
renWin2 Initialize
    renWin2 SetWindowName "Raycaster"




Internet Mail Message
Received from host:     public.kitware.com [24.97.130.19]



"marisa aurelio" <asiram00 at hotmail.com>
Sent by: vtkusers-admin at vtk.org
07/01/2003 11:09 AM

 
        To:     vtkusers at public.kitware.com
        cc:     (bcc: John Anast-JM/PGI)
        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


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


More information about the vtkusers mailing list