Nothing visible in the displayer when trying to addGeometry from widget, but works when I do addGeometry from window. #4500
Unanswered
MeyerBuaharon
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I try to make in cpp a running displayer that runs on a thread and always redraw plys. I did it in python and it worked perfectly, but I need to recreate the code in cpp, but im having a bit of difficulty with the widget.
`int main(int argc, char *argv[]) {
int width = 1024;
int height = 768;
std::string window_name = "Open3D";
Eigen::Vector3f center = {0.0, 0.0, 0.0};
Eigen::Vector3f eye = {125.0, 125.0, 125.0};
Eigen::Vector3f up = {0.0, 0.0, 1.0};
}`
this is my main, and as you can see when I try to do AddGeometry to pointcloud_ptr_A I get a blank displayer, but when I try and do
window->GetScene()->AddGeometry(...)
this show the ply.Can anyone here point out what I did wrong?
Thanks for this tool, it is really interesting!
Beta Was this translation helpful? Give feedback.
All reactions