I am trying to render an image (vtk StructuredPoints) within a Motif interface.
I have been able to do the same to render my 3d objects by
setting the X Window widget using the
call
interactor->SetWidget (frame), where frame is the X window .
For the 2D image, I do not need to use the interactor. How do I
go about specifying this within,
say a vtkXImageWindow (I am not even sure if vtkXimageWindow is what
I should be using).
I tried setting the WindowId of this class to the rendering widget,
but that doesnt seem to work.
Should I do what I am doing for the 3d case, but simply disable
the interactor? Seems like an
ugly solution.
Thanks.
-- krs
-- K.R.Subramanian Phone: (704) 547-4872 Department of Computer Science FAX: (704) 547-3516 UNC Charlotte Email: krs@cs.uncc.edu 9201 Univ. City Blvd. WWW: http://www.cs.uncc.edu/~krs Charlotte, NC 28223-0001