objectgraphics/
mggrwindow3d__define.pro
Class description for mggrwindow3d
Inheritance
- IDLGRWINDOW
All ancestor classes: IDLGRWINDOW IDLGRSRCDEST IDLITCOMPONENT
Properties
- _extra set init
- eye_separation get set init
- dimensions set init
- _ref_extra get
Fields
- converter obj_new()
object which takes a view and converts to a 3D anaglyph
Fields in IDLGRWINDOW
- IDLGRWINDOWVERSION 0S
- IDLGRWINDOW_TOP 0LL
- ZOOM_BASE 0.00000
- RETAIN 0L
- EXTERNAL_WINDOW 0LL
- UNITS 0L
- CURRENT_ZOOM 0.00000
- ORIGINAL_VIRTUAL_DIMENSIONS [0.00000, 0.00000]
- PARENT 0LL
- INDEX 0L
- VISIBLE_LOCATION [0.00000, 0.00000]
- RENDERER 0L
- DIMENSIONS [0.00000, 0.00000]
- ZOOM_NSTEP 0S
- MINIMUM_VIRTUAL_DIMENSIONS [0.00000, 0.00000]
- TITLE ''
- WINDOWFLAGS 0L
- LOCATION [0.00000, 0.00000]
- SCREENDIMENSIONS [0.00000, 0.00000]
- NEXT 0LL
- SELF obj_new()
- IDLGRWINDOW_BOTTOM 0LL
- VIRTUAL_DIMENSIONS [0.00000, 0.00000]
- DISPLAYNAME ''
Fields in IDLGRSRCDEST
- COLORMODEL 0L
- RESOLUTION [0.0000000D, 0.0000000D]
- CACHES 0LL
- IDLGRSRCDEST_TOP 0LL
- QUALITY 0L
- PALETTE obj_new()
- CLIENTDIMENSIONS [0.00000, 0.00000]
- GRAPHICS_TREE obj_new()
- SRCDESTFLAGS 0L
- DEV 0LL
- NCOLORS 0L
- IDLGRSRCDEST_BOTTOM 0LL
- IDLGRSRCDESTVERSION 0S
- DIST 0LL
Fields in IDLITCOMPONENT
- TOOL obj_new()
- UVALUE ptr_new()
- HELP ''
- NAME ''
- _PARENT obj_new()
- IDLITCOMPONENT_BOTTOM 0LL
- _FLAGS 0L
- ICON ''
- DESCRIPTION ''
- PROPERTYDESCRIPTORS obj_new()
- IDLITCOMPONENT_TOP 0LL
- IDENTIFIER ''
- IDLITCOMPONENTVERSION 0S
Routines
mggrwindow3d::getProperty [, eye_separation=float] [, _ref_extra=keywords]Get properties of the MGgrWindow3D.
mggrwindow3d::setProperty [, dimensions=intarr(2)] [, eye_separation=float] [, _extra=keywords]Set properties of the MGgrWindow3D.
mggrwindow3d::draw [, opicture]Draw the picture in 3D.
mggrwindow3d::cleanupFree resources.
result = mggrwindow3d::init( [eye_separation=float], dimensions=dimensions [, _extra=keywords])Initialize Window3D.
mggrwindow3d__defineDestination for object graphics that automatically creates a 3d anaglyph appropriate to view with red-blue glasses.
Routine details
topmggrwindow3d::getProperty
mggrwindow3d::getProperty [, eye_separation=float] [, _ref_extra=keywords]
Get properties of the MGgrWindow3D.
Keywords
- eye_separation out optional type=float
number of degrees of the cone formed by drawing lines from each eye to the origin of the view
- _ref_extra out optional type=keywords
keyword of IDLgrWindow::getProperty
topmggrwindow3d::setProperty
mggrwindow3d::setProperty [, dimensions=intarr(2)] [, eye_separation=float] [, _extra=keywords]
Set properties of the MGgrWindow3D. Must intercept DIMENSIONS property to set the converter's buffer size correctly; otherwise, just pass along stuff to IDLgrWindow's setProperty method.
Keywords
- dimensions in optional type=intarr(2)
dimensions of the window
- eye_separation out optional type=float
number of degrees of the cone formed by drawing lines from each eye to the origin of the view
- _extra in optional type=keywords
keywords of IDLgrWindow's "setProperty" method are accepted
topmggrwindow3d::draw
mggrwindow3d::draw [, opicture]
Draw the picture in 3D.
Parameters
- opicture in optional type=obj ref
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
topmggrwindow3d::init
result = mggrwindow3d::init( [eye_separation=float], dimensions=dimensions [, _extra=keywords])
Initialize Window3D.
Return value
1 for success, o/w for failure
Keywords
- eye_separation in optional type=float default=4.0
number of degrees of the cone formed by drawing lines from each eye to the origin of the view
- dimensions
- _extra in optional type=keywords
keywords to IDLgrWindows "init" method are accepted
topmggrwindow3d__define
mggrwindow3d__define
Destination for object graphics that automatically creates a 3d anaglyph appropriate to view with red-blue glasses.
File attributes
| Modification date: | Tue Nov 20 11:24:27 2007 |
| Lines: | 130 |
![[attach.png]](../idldoc-resources/attach.png)