/
How-To: Using the HOOPS 3D Part Viewer

How-To: Using the HOOPS 3D Part Viewer

The HOOPS 3D Part Viewer (3DPV) is a Windows MFC application built on top of the HOOPS/3dGS and HOOPS/MVO components. Use the 3D Part Viewer which you can build as a sample application, for troubleshooting and creating reproducible testcases for support (i.e. independent of your application code).

The 3DPV has a CSolidHoopsView class (cf. CSolidHoopsView.cpp) where m_pHView is a member. This is a pointer to an HBaseView object (cf. https://docs.techsoft3d.com/3df/latest/tech_overview/mvo_technical_overview.html#hbaseview ).

The CSolidHoopsView class has methods call OnExtraSlotN where N = {1,2,3,4,5}. The code I provided uses this mechanism.

void CSolidHoopsView::OnExtraSlot1() { HC_Open_Segment_By_Key(m_pHView->GetModelKey());

When using the 3DPV, you can choose “Slot N” from the DEBUG menu to execute this code.

The linked documentation provides many details not duplicated here.

For further instructions, check out our forum post.

 Related articles

Related content

How-To: Build a KeyPath
How-To: Build a KeyPath
Read with this
How-To: Set up HOOPS Visualize HPS MFC_Sandbox to work with HOOPS Exchange API
How-To: Set up HOOPS Visualize HPS MFC_Sandbox to work with HOOPS Exchange API
More like this
How-To: Display HOOPS Visualize call stack when debugging in Visual Studio
How-To: Display HOOPS Visualize call stack when debugging in Visual Studio
Read with this
How-To: Set up HOOPS Visualize HPS_MFC_Sandbox to work with HOOPS Exchange integration
How-To: Set up HOOPS Visualize HPS_MFC_Sandbox to work with HOOPS Exchange integration
More like this
How-To: Adjust scene light brightness
How-To: Adjust scene light brightness
Read with this
How-To: Set up HOOPS Visualize HPS_WPF_Sandbox to work with HOOPS Exchange integration
How-To: Set up HOOPS Visualize HPS_WPF_Sandbox to work with HOOPS Exchange integration
More like this