Skip to content

Use OpenCASCADE library to implement data visualization under MFC framework

Notifications You must be signed in to change notification settings

Chen-Si-An/OCC-MFC

Repository files navigation

OCC-MFC

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
    1. Image Import IGES: Open the file dialog and select the IGES file you wish to import.
    2. Image Import STEP: Open the file dialog and select the STEP file you wish to import.
    3. Image Import STL: Open the file dialog and select the STL file you wish to import.
    4. Image Export STL: Select the model you wish to export and press this button to export it to specified path.
    5. Image Select Model: Select the model displayed in the view.
    6. Image Rotate Model: Rotate the model displayed in the view.
    7. Image Move Model: Move the model displayed in the view.
    8. Image View from top: Switch to top view.
    9. Image View from bottom: Switch to bottom view.
    10. Image View from front: Switch to front view.
    11. Image View from back: Switch to back view.
    12. Image View from left: Switch to left view.
    13. Image View from right: Switch to right view.
    14. Right-click button: Click the right button of mouse and hold it to rotate the view.
    15. Mouse wheel: Roll the mouse wheel to zoom in/out the view, or click the mouse wheel and hold it to pan the view.
    16. 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.

Image