This project employs OpenCASCADE library to implement data visualization under MFC framework, supporting IGES, STEP, and STL files. Additionally, this application provides fundamental model transformation and camera manipulation.
- Given functions
- Import IGES: Open the file dialog and select the IGES file you wish to import.
- Import STEP: Open the file dialog and select the STEP file you wish to import.
- Import STL: Open the file dialog and select the STL file you wish to import.
- Export STL: Select the model you wish to export and press this button to export it to specified path.
- Select Model: Select the model displayed in the view.
- Rotate Model: Rotate the model displayed in the view.
- Move Model: Move the model displayed in the view.
- View from top: Switch to top view.
- View from bottom: Switch to bottom view.
- View from front: Switch to front view.
- View from back: Switch to back view.
- View from left: Switch to left view.
- View from right: Switch to right view.
- Right-click button: Click the right button of mouse and hold it to rotate the view.
- Mouse wheel: Roll the mouse wheel to zoom in/out the view, or click the mouse wheel and hold it to pan the view.
- Key delete: Push down the key delete to delete the selected model.
Note: In this project, the OpenCASCADE library is introduced into MFC in the way of extern dll, making it available for software developers to link this dll to their own applications.