-
-
Notifications
You must be signed in to change notification settings - Fork 144
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
Can't create WarperCreator
and use StitcherTrait::set_warper
#557
Comments
Looks like currently it's not possible to create an instance of the necessary warper. I'm going to look into this, thanks for the report! |
Can you please check the // What goes here?
let warper = Ptr::new(TransverseMercatorWarper::default());
stitcher.set_warper(warper.into())?; |
Yes, that works great! |
Perfect, I will release the version with the fix shortly |
This has been released as part of 0.90 version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to stitch a panorama using the
Sitcher
struct with the warper:TransverseMercatorWarper
.However, the
StitcherTrait::set_warper
method takes in aPtr<WarperCreator>
which I can't seem to create,since neither
TransverseMercatorWarper
norWarperCreator
has anew
/create
method.Here is some example code showing the problem:
In c++ the missing part would be written like this:
Any idea how to create the warper in rust?
The text was updated successfully, but these errors were encountered: