-
Notifications
You must be signed in to change notification settings - Fork 432
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
How does work the Point <Real, Dim> struct #285
Comments
Not sure what you mean by "constant term". But yes, you need to implement the base_read function. This is a function that takes the position and normal as references and tries to set them with the next point from the data stream. The function should return "true" if it successfully read and set the next point/normal and false otherwise. The point itself is a struct that overloads the bracket operator, so you can set "p[i] = _coordinate; // i within[0,3)". |
With constant term I meant the Anyway, thank you for your answer, I'll try to implement my code on the basis of what you explained |
Excuse me professor, I have another important question: where do the functions base_read() and base_write() are called? Based on the code in ReconstructionExample.cpp, it appears that the only function being called is implicit.extractlevelSet, so I expected to find a 'base_read()' function there, but I couldn't find anything. Moreover, looking for that functions in other file, I only find declaration, and not calls. Thanks again |
Don't remember off hand. But you should be able to grep for it. |
hello professor, I am trying to fill the point of the point cloud from the code, instead to use the cmd line input through the --in.
As far as I understand, the core of the code inside the implicit class, which solves the Poisson equation given the point cloud in input.
During this function, somewhere is called the function base_read() in which I should tell that the constant term (that in your paper is expressed as V) is my input point cloud.
To do this, in the base_read function i should fill their arguments, which are Position <Real, Dim> p and Normal <Real, Dim> n (boths are Point struct).
So far so good (I suppose). These structures p and n are meant to be filled in some particular way?
Or maybe I could simply write:
if so, this means that the base_read() functions is called as many times as the number of points in the point cloud?
Hope I asked the question in a clear manner. Thanks you in advance for your help
The text was updated successfully, but these errors were encountered: