Giter VIP home page Giter VIP logo

Comments (8)

LiangliangNan avatar LiangliangNan commented on June 2, 2024

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

What is the issue or requested feature?
I cannot understand anything since you simply copied the template for requeting a new feature. So please elaborate on those briefed in the template.

from easy3d.

xinsuinizhuan avatar xinsuinizhuan commented on June 2, 2024

I want to show the 3d view to my self control widget, like i put a image to a picture control。In c++ mfc,i create a frame, and put a picture control to my frame, then i want show the 3d view to my picture control.
图片

from easy3d.

LiangliangNan avatar LiangliangNan commented on June 2, 2024

I still don't get it.
Do you mean you want to use Easy3D to visualize your image?
(Not sure what you mean by "3d view", since you don't have a 3D model, but just 2D images)

from easy3d.

xinsuinizhuan avatar xinsuinizhuan commented on June 2, 2024

like pcl:
m_viewer.reset(new pcl::visualization::PCLVisualizer("viewer", false));
m_viewer->setBackgroundColor(0, 0, 0);
m_viewer->initCameraParameters();
m_win = m_viewer->getRenderWindow();
m_iren = vtkRenderWindowInteractor::New();
m_viewer->resetCamera();
CRect rect;
m_std3DCloudShow.GetClientRect(&rect);
m_win->SetSize(rect.right - rect.left, rect.bottom - rect.top);
m_win->SetParentId(m_std3DCloudShow.m_hWnd);
m_iren->SetRenderWindow(m_win);
m_viewer->createInteractor();
m_win->Render();

this: m_win->SetParentId(m_std3DCloudShow.m_hWnd); to specified window to draw
and then m_win->SetSize(rectshow3d.right - rectshow3d.left, rectshow3d.bottom - rectshow3d.top); to remove fit the frame

from easy3d.

xinsuinizhuan avatar xinsuinizhuan commented on June 2, 2024

I still don't get it. Do you mean you want to use Easy3D to visualize your image? (Not sure what you mean by "3d view", since you don't have a 3D model, but just 2D images)

no, i want to show the 3d to my self widget, not console pop frame.

from easy3d.

LiangliangNan avatar LiangliangNan commented on June 2, 2024

"show the 3d to my self widget": sounds like you want to visualize your widget in 3D using Easy3D. This doesn't make sense.
Sorry. I still don't understand what that means.

from easy3d.

LiangliangNan avatar LiangliangNan commented on June 2, 2024

I have to close this issue because I don't believe any other users could benefit from it given the current vague description of it.
Please feel free to elaborate on it, and I will follow up.

from easy3d.

xinsuinizhuan avatar xinsuinizhuan commented on June 2, 2024

"show the 3d to my self widget": sounds like you want to visualize your widget in 3D using Easy3D. This doesn't make sense. Sorry. I still don't understand what that means.

like pcl:
m_viewer.reset(new pcl::visualization::PCLVisualizer("viewer", false));
m_viewer->setBackgroundColor(0, 0, 0);
m_viewer->initCameraParameters();
m_win = m_viewer->getRenderWindow();
m_iren = vtkRenderWindowInteractor::New();
m_viewer->resetCamera();
CRect rect;
m_std3DCloudShow.GetClientRect(&rect);
m_win->SetSize(rect.right - rect.left, rect.bottom - rect.top);
m_win->SetParentId(m_std3DCloudShow.m_hWnd);
m_iren->SetRenderWindow(m_win);
m_viewer->createInteractor();
m_win->Render();

this: m_win->SetParentId(m_std3DCloudShow.m_hWnd); to specified window to draw
and then m_win->SetSize(rectshow3d.right - rectshow3d.left, rectshow3d.bottom - rectshow3d.top); to remove fit the frame

to show the cloud to my my self m_std3DCloudShow (picture control widget), only specified the widget hwnd to it.

from easy3d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.