[vtkusers] Error while converting vtkWin32OpenGLRenderWindow to image file !
sudeep M. Hooli
Sudeep.Hooli at quest-global.com
Sat Jul 9 09:18:51 EDT 2005
I am new to VTK. I am trying to convert the
vtkWin32OpenGLRenderWindow to an image file.
I have written the following code in VC++. When I execute
the code, memory error will occur.
If I go for converting vtkRenderWindow with the same code it works fine.
Please guide me how to solve this.
Code is as follows:
int* size = this->renWin->GetSize();
//Setup memory rendering
this->renWin->SetupMemoryRendering( size, size,
vtkWindowToImageFilter * ImageFilter =
in above code "renWin" is an instance of
Thanks & Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers