Modern IDL by Michael Galloy

API documentation for example code

Directory: objectgraphics/

Examples of creating visualizations with object graphics.

.pro files

mg_3d_demo.pro

Demo of using MGgrWindow3D to make anaglyphs.

mg_3dwidget_demo.pro

Demonstrates using MGgrWindow3D in a widget program.

mg_cc_demo.pro

Example of using [XYZ]COORD_CONV properties to scale graphics atoms into the view volume.

mg_functiongraphics_widget.pro

Demo of incorporating a function graphic in a widget program.

mg_ogcontour_example.pro

Simple example of displaying a contour plot in object graphics.

mg_ogimage_example.pro

Simple example of displaying an image in object graphics.

mg_ogisosurface_example.pro

Simple example of displaying a isosurface polygonal meshes in object graphics.

mg_ogmap_example.pro

Simple map in object graphics.

mg_ogmesh_example.pro

Simple example of displaying a polygonal mesh in object graphics.

mg_ogplot_example.pro

Simple line plot in object graphics.

mg_ogscene_example.pro

Example of using a scene to show multiple views.

mg_ogsurface_example.pro

Simple example of displaying a surface in object graphics.

mg_ogvolume_example.pro

Simple example of displaying a volume in object graphics.

mg_render_order.pro

Example of how the order of atoms effects the rendering of transparent atoms.

mg_show_axes.pro

Demonstrates changing attributes of axis' text so they are always facing the viewer.

mg_show_polygon.pro

Example of displaying a polygon using object graphics.

mg_surfacetexture_demo.pro

Example of using a texture map on a surface.

mg_surfview.pro

Widget program to display and interact with surface using object graphics.

mg_texturemap_demo.pro

Example of texture mapping an image onto a non-rectangular polygon.

mg_tilejp2.pro

Simple JPEG2000 viewer which uses tiling capability of IDLgrImage.

mg_tilejp2_demo.pro

Demo MG_TILEJP2 on ohare.jp2 JPEG2000 image.

mg_transform_demo.pro

Program to demonstrate the changes to the transformation matrix as the the model is rotate, translated, and scaled.

mg_widget_window_example.pro

Example of using a WIDGET_WINDOW widget in a widget program.

mggr3dconverter__define.pro

Class to convert a 3D scene to an anaglyph.

mggrcube__define.pro

A graphics atom for the object graphics system representing a cube.

mggrlightmodel__define.pro

Define instance variables.

mggrwindow3d__define.pro

Destination for object graphics that automatically creates a 3d anaglyph appropriate to view with red-blue glasses.

objectgraphics_chapter.pro

Batch file containing all the code intended to be typed at the command line from the "Object graphics" chapter.

Contents