Close

Relief for ODA Team in Ukraine

Learn more
ODA PRC SDK
MFC Sample Viewer Application for ODA PRC SDK

Summary

ODA Product: ODA PRC SDK
Sample Name: OdPrcApp
Categories: C++ / Beginner, Advanced / Working with .prc files / Windows
Source Code Location: Prc\Examples\win\OdaPrcApp

Description

An MFC sample viewer application for ODA PRC SDK.

OdaPrcApp allows you to:

  • View .prc file structure as a tree representation.
  • Render .prc file contents using different verctorizer libraries.
  • Execute user commands.

OdaPrcApp is useful for debugging .prc file content.

OdPrcApp application can work in two modes: structure (left) and rendering (right):

Run Sample Application

To run the OdaPrcApp sample application, please do the following:

  1. Open the terminal window and go to the directory where the sample binary file is allocated: <PRC_DIR>\exe\<version>.

    <PRC_DIR> is a directory where you unpacked the PRC SDK archive.

    To determine your <version> parameter, please see the appropriate section in the Download ODA PRC SDK topic.

  2. Run the sample (it accepts no input arguments):
    
                OdaPrcApp
              

If the application executed properly, you will see the main application window:

The OdaPrcApp main window contains the application menu:

  • File — Contains commands for opening existing .prc files and creating new ones.
  • View — Contains commands, which determine the application look and feel.
  • Tools — This item allows to load additional modules, extensions and custom command libraries.
  • Help — Provides access to information about the application version.

See Also:

ODA PRC SDK Sample Applications

Copyright © 2002 – 2022. Open Design Alliance. All rights reserved.