API documentation for visualization library

Michael Galloy

single page | use frames     summary     class     fields     routine details     file attributes

objectgraphics/

visgr3dconverter__define.pro

object graphics


Class to convert a 3-dimensional scene to an anaglyph.

This is not done the "correct" way i.e. as described in:

http://www.triplespark.net/render/stereo/create.html
Better results were achieved with a simple rotation.

Class description for visgr3dconverter

Properties

_extra set init type=keywords

properties of IDLgrBuffer

eye_separation get set init type=float

number of degrees of the cone formed by drawing lines from each eye to the origin

dimensions get set init type=intarr(2)

dimensions of the window

_ref_extra get
color get set init type=boolean

set to create color anaglyphs

Author information

Author

Michael Galloy

Routines

result = visgr3dconverter::convert( [picture])

Converts a standard object graphics picture to a view containing a 3D image.

visgr3dconverter::getProperty, eye_separation=float, dimensions=intarr(2), /color, _ref_extra=_ref_extra

Get properties of the converter.

visgr3dconverter::setProperty, eye_separation=float, dimensions=intarr(2), /color, _extra=keywords

Set properties of the converter.

visgr3dconverter::cleanup

Free resources.

result = visgr3dconverter::init(eye_separation=float, dimensions=intarr(2), /color [, _extra=keywords])

Initialize Window3D.

visgr3dconverter__define

Helper object to transform a normal object graphics scene to a 3D picture.

Routine details

top visgr3dconverter::convert

result = visgr3dconverter::convert( [picture])

Converts a standard object graphics picture to a view containing a 3D image.

Return value

IDLgrView object reference

Parameters

picture in optional type=object

the view, viewgroup, or scene to be drawn; if the GRAPHICS_TREE property is set to a valid picture, then this argument must *not* be given

top visgr3dconverter::getProperty

visgr3dconverter::getProperty, eye_separation=float, dimensions=intarr(2), /color, _ref_extra=_ref_extra

Get properties of the converter.

Keywords

eye_separation type=float

number of degrees of the cone formed by drawing lines from each eye to the origin

dimensions type=intarr(2)

dimensions of the window

color type=boolean

set to create color anaglyphs

_ref_extra

top visgr3dconverter::setProperty

visgr3dconverter::setProperty, eye_separation=float, dimensions=intarr(2), /color, _extra=keywords

Set properties of the converter.

Keywords

eye_separation type=float

number of degrees of the cone formed by drawing lines from each eye to the origin

dimensions type=intarr(2)

dimensions of the window

color type=boolean

set to create color anaglyphs

_extra type=keywords

properties of IDLgrBuffer

top visgr3dconverter::cleanup

visgr3dconverter::cleanup

Free resources.

top visgr3dconverter::init

result = visgr3dconverter::init(eye_separation=float, dimensions=intarr(2), /color [, _extra=keywords])

Initialize Window3D.

Return value

1 for success, o/w for failure

Keywords

eye_separation type=float

number of degrees of the cone formed by drawing lines from each eye to the origin

dimensions type=intarr(2)

dimensions of the window

color type=boolean

set to create color anaglyphs

_extra in optional type=keywords

keywords to IDLgrBuffer::init method are accepted

top visgr3dconverter__define

visgr3dconverter__define

Helper object to transform a normal object graphics scene to a 3D picture.

File attributes

Modification date: Mon Nov 29 18:32:37 2010
Lines: 268
Docformat: rst rst