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

Add support for side-by-side stereo images (.jps) #265

Merged
merged 1 commit into from
Aug 27, 2018

Conversation

rdumusc
Copy link

@rdumusc rdumusc commented Aug 17, 2018

No description provided.

@rdumusc rdumusc force-pushed the stereoimage branch 2 times, most recently from 42c8565 to d7a4339 Compare August 27, 2018 09:21
@rdumusc rdumusc requested a review from karjonas August 27, 2018 09:30

QImage _ensureGlCompatibleFormat(const QImage& image)
{
const auto argb32 = QImage::Format_ARGB32;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this a variable?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm that's purely cosmetics so that the next line below fits in one line (<80 characters)...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beauty is in the eyes of the beholder :) I think you should remove it and let clang-format handle the layout.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, I changed it ;-)

return QSize{stereoSize.width() / 2, stereoSize.height()};
}

QRect _getMonoRect(const QSize& image, const deflect::View view)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe call it imageSize

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok done

@rdumusc rdumusc merged commit 0951e73 into BlueBrain:master Aug 27, 2018
@rdumusc rdumusc deleted the stereoimage branch August 27, 2018 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants