Table of Contents

Namespace Sample.Disp

Classes

DemoCylindroid

Demonstrates the creation and visualization of Cylindroid objects. Includes examples of building a Cylindroid programmatically with PairZr points and serializing/deserializing via XML.

DemoDiscreteRgb

Demonstrates the use of discrete RGB colors for rendering multiple objects. Shows how to apply different colors to similar geometric shapes using the GetDiscreteRGB_Env(double, double) method from ColorUtil class.

DemoDrawing

Demonstrates various drawing techniques using the HiAPI graphics system. Provides examples of primitive drawing, attribute specification, and rendering options. Includes methods for drawing lines, points, triangles, and other geometric primitives.

DemoPick1

Demonstrates basic object picking with mouse interaction in the HiAPI system. Shows how to create a pickable 3D object that responds to mouse events by changing its appearance. Implements the Pickable base class to enable mouse event handling.

DemoPick2

Demonstrates advanced object picking with multiple pickable objects. Shows how to create and manage multiple pickable objects with different visual appearances. Implements proper resource cleanup through the IDisposable interface.

DemoPickable

Demonstrates creation of pickable 3D geometry at the primitive level. Shows how to assign picking IDs directly to geometry vertices and create interactive triangles. Uses a lower-level approach than the Pickable base class for more precise control.

DemoSatellite

Demonstrates a simple solar system animation using IDisplayee interface. Shows how to create a hierarchical transform structure with sun, earth and moon using Mat4d matrices and model matrix stack transformations.

DemoStl

Demonstrates the loading, manipulation, and display of STL (stereolithography) files in HiAPI. Shows operations like loading STL data, transforming geometries, and basic visualization.

DemoUtil

Provides utility functions for running HiAPI display examples in a WPF environment. Contains helper methods that simplify the setup and execution of WPF applications with HiAPI rendering. Handles common initialization and cleanup tasks for visualization examples.