-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
vtk integration for mesh processing #4957
Conversation
Thanks for submitting this pull request! The maintainers of this repository would appreciate if you could update the CHANGELOG.md based on your changes. |
The following probably should be discussed
|
pts->SetDataTypeToFloat(); | ||
pts->SetNumberOfPoints(num_points); | ||
const float* data = tensor_cpu.GetDataPtr<float>(); | ||
for (size_t i = 0; i < num_points; ++i) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there away to create vtk points from a buffer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did some more research on this. It seems possible but we need to use a different array interface.
I think it is better to create a separate PR for this.
This PR adds the VTK library for mesh processing and
This change is