Tutorials
The CEETRON Envision 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 CEETRON Envision 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 CEETRON Envision with the different frameworks, have a look at the following pages:
Tutorials
The tutorials focuses on how to use the different visualization features provided in CEETRON Envision. Select one of the tutorials in the list below to go directly to the documentation and the step-by-step instructions.
UnstructGrid: Simple model with two triangles |
|
UnstructGrid: A simple model with results |
|
UnstructGrid: Load model from file and set up model specification |
|
UnstructGrid: Create a cutting plane with a scalar result as fringes |
|
UnstructGrid: Create an isosurface |
|
UnstructGrid: Create an isovolume |
|
UnstructGrid: Apply part settings to a model |
|
UnstructGrid: Set scalar settings on a loaded model |
|
UnstructGrid: Set vector settings on a loaded model |
|
UnstructGrid: Using DataElementSets to filter the model |
|
UnstructGrid: Create a custom DataReader to add support for your file format |
|
Visualization: Draw bounding box using markup model |
|
Visualization: Create a custom navigation handler to support a custom navigation scheme |
|
Geometry: Highlight clicked parts |
|
Geometry: Create a geometry model |
|
Geometry: Create a geometry model with texture |
|
Geometry: Create a geometry model with geometric primitives |
|
Report: Create a simple Word report with a 3D model |
|
Plot2d: Create a simple overlay plot |
The code of the tutorials is also available without the step-by-step instructions on the Code examples page to make it easier to copy the code into your projects.
TutorialRunner
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 |
|
Location: Examples/Qt/QtDemoApp |