# Examples

The HOOPS Envision for Desktop documentation provides a large collection of examples, tutorials and code samples. These pages cover a range of topics, from basic viewers to step-by-step tutorials for specific features.

The examples and tutorials are provided with full source code and can be compiled and run on several platforms and UI toolkits.

## Examples

To help you getting started, we have provided some simple examples on how to set up the basics (OpenGL context, windows, rendering and event handling) using Qt (Windows/Linux), MFC, Win32, Windows Forms, WPF and wxWidgets (Windows/Linux).

These minimal examples show how to initialize the HOOPS Envision for Desktop and how to do basic rendering and event handling.

All the examples (code and project-/makefiles) are found under Examples/<framework>

For more information on the examples and on how to use HOOPS Envision for Desktop with the different frameworks, have a look at the following pages:

- HOOPS Envision for Desktop with Qt
- HOOPS Envision for Desktop with Win32
- HOOPS Envision for Desktop with MFC
- HOOPS Envision for Desktop with wxWidgets
- HOOPS Envision for Desktop with Windows Forms
- HOOPS Envision for Desktop with WPF

## TutorialRunner

HOOPS Envision for Desktop comes with a set of tutorials showing various features and how to code them describes step-by-step. See Tutorials for the full list.

The tutorials can also be tested directly in one of the TutorialRunner applications. These are called QtTutorialRunner, MfcTutorialRunner, and WxTutorialRunner and can be found in their respective folders under Tutorials in your installation.

Please note that the TutorialRunner framework is not meant to represent best-practice code, and only serves as a convenient way to demonstrate the code in the tutorials. Please compile them in-source to find necessary test data.

## Demo Applications

We have created two demo applications; One for Qt and one for Windows Forms. These can serve as a starting point for your own application, as inspiration and a best-practice-coding-guide. They also give a more in-depth demonstration of the Core, Visualization, and UnstructGrid components.

| Location: Examples/Qt/QtDemoApp A small Post Processor written in Qt to showcase some of the features in the UnstructGrid component.
| Location: Examples/Qt/QtDemoApp A small Post Processor written in Windows Forms to showcase some of the features in the UnstructGrid component.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Envision for Desktop in your own language, or choose a sample question below to start a conversation:

What is HOOPS Envision for Desktop?
What are the latest release notes for HOOPS Envision for Desktop?
How do I start evaluating HOOPS Envision for Desktop?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...