Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ViewScene testing mode: add output port that sends frame grabs as wrapped bitmap data #937

Closed
dcwhite opened this issue Apr 16, 2015 · 1 comment

Comments

@dcwhite
Copy link
Member

@dcwhite dcwhite commented Apr 16, 2015

Start with http://doc.qt.io/qt-4.8/qimage.html, convert to SCIRun Matrix. Then just use a Matrix output port.

For testing, need a module to read an image and convert to matrix, as well as a matrix comparison module. This part might be easier in Python.

@dcwhite dcwhite mentioned this issue Apr 16, 2015
1 of 5 tasks complete
@dcwhite dcwhite self-assigned this Apr 29, 2015
@dcwhite dcwhite changed the title ViewScene testing mode: add output port that sends frame grabs as wrapped QPixmap data ViewScene testing mode: add output port that sends frame grabs as wrapped bitmap data Apr 30, 2015
dcwhite added a commit that referenced this issue Aug 21, 2015
@dcwhite

This comment has been minimized.

Copy link
Member Author

@dcwhite dcwhite commented Aug 21, 2015

ViewScene dialog needs to be open for the screenshot class to grab a non-zero (i.e. non-black) image, so for this to work for regression testing, we need to be able to load a network and have the ViewScene windows already open. Similar to v4, where the module dialog state and position are saved in the network file.

@dcwhite dcwhite closed this in 86606be Aug 25, 2015
dcwhite added a commit that referenced this issue Nov 26, 2019
#937 actually works again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.