Thank you very much for the responses. I think I should have been much =
more clear in my question about the usage for the puFrame or Subwindow. I =
apologize. I am working on creating a Virtual MRI using Opengl and PUI. I =
read in a MRI data set that prints about 1,000 or so pixels. My main for =
writing the last question was I want to do functions/operations within a =
set/stationary sized window. I want to do a couple of things with the =
pixels, that right now I am having diffculty doing.
1. Alter the size of the pixels using the glScale(), however when I scale =
the pixels go outside the range that I would like on my GUI. I want to =
scale the pixels but keep the size of display that they are shown in the =
same. Hence the reason why I wanted to use either a subwindow or a =
puFrame, but I believe now that doing either of these is still not going =
to slove my problem.=20
2. I would like to have a user be able to select a section with in the =
image that they would like to display. For example I would receive min_x =
and min_y and max_x and max_y points from the user; for the desiganted =
area with in the pixels that they want to examine. From these points =
selection I would like to be able to show the selected area as the same =
size as the previous pixel picture was shown.=20
Basically I would like to setup a 50 by 50 viewing area with in the window =
that I would be able to conduct pixel manipulation on and always have the =
redrawn pixels with in that frame. I have attached the code that I am =
working with for further clarification. Thanks again for all the help,=20
Peter Squire
|