MG Library

Library of Michael Galloy

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

objectgraphics/

mggr3dconverter__define.pro

Class description for mggr3dconverter

Properties

_extra init
picture init
eye_separation get set init
dimensions get set init

Fields

obuffer obj_new()

IDLgrBuffer to send left and right eye images to and extract

eye_separation 0.00000

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

oimage obj_new()

IDLgrImage actually being displayed

oview obj_new()

IDLgrView to contain the 3D image

Routines

result = mggr3dconverter::combineImages( [left_image] [, right_image])

Creates a combined image from images from the left and right eyes where the left eye is "shaded" red and the right eye is "shaded" blue.

mggr3dconverter::rotateModels, picture, degrees

Rotates "top-level" models of the given picture by the given number of degrees about the y-axis.

result = mggr3dconverter::convert( [opicture])

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

mggr3dconverter::getProperty [, eye_separation=float] [, dimensions=intarr(2)]

Get properties of the converter.

mggr3dconverter::setProperty [, eye_separation=float] [, dimensions=intarr(2)]

Set properties of the converter.

mggr3dconverter::cleanup

Free resources.

result = mggr3dconverter::init( [eye_separation=float], dimensions=intarr(2) [, picture=IDLgrView] [, _extra=keywords])

Initialize Window3D.

mggr3dconverter__define

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

Routine details

topmggr3dconverter::combineImagesprivate

result = mggr3dconverter::combineImages( [left_image] [, right_image])

Creates a combined image from images from the left and right eyes where the left eye is "shaded" red and the right eye is "shaded" blue.

Return value

bytarr(3, xsize, ysize)

Parameters

left_image in optional type=bytarr(3, xsize, ysize)

image from left eye

right_image in optional type=bytarr(3, xsize, ysize)

image from right eye

topmggr3dconverter::rotateModelsprivate

mggr3dconverter::rotateModels, picture, degrees

Rotates "top-level" models of the given picture by the given number of degrees about the y-axis.

Parameters

picture in required type=obj ref

the view, viewgroup, or scene to be drawn

degrees in required type=float

number of degrees to rotate "top-level" models

topmggr3dconverter::convert

result = mggr3dconverter::convert( [opicture])

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

Return value

IDLgrView object reference

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

topmggr3dconverter::getProperty

mggr3dconverter::getProperty [, eye_separation=float] [, dimensions=intarr(2)]

Get properties of the converter.

Keywords

eye_separation out optional type=float

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

dimensions out optional type=intarr(2)

dimensions of the window

topmggr3dconverter::setProperty

mggr3dconverter::setProperty [, eye_separation=float] [, dimensions=intarr(2)]

Set properties of the converter.

Keywords

eye_separation in optional type=float

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

dimensions in optional type=intarr(2)

dimensions of the window

topmggr3dconverter::cleanup

mggr3dconverter::cleanup

Free resources.

topmggr3dconverter::init

result = mggr3dconverter::init( [eye_separation=float], dimensions=intarr(2) [, picture=IDLgrView] [, _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

dimensions in required type=intarr(2)

dimensions of the window

picture out optional type=IDLgrView

view which will contain a 3D image; the same view is updated each time that "convert_3d_picture" method is called

_extra in optional type=keywords

keywords to IDLgrWindows "init" method are accepted

topmggr3dconverter__define

mggr3dconverter__define

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

Author information

Author:

Michael Galloy

File attributes

Modification date: Tue Nov 20 11:24:27 2007
Lines: 208
market market settle perhaps perhaps sleep island island differ appear appear read glass glass separate care care cost sing sing twenty example example industry search search populate region region with decide decide fish notice notice surface post post dollar those those child tiny tiny leg solve solve feed colony colony continent rather rather depend string string inch unit unit held colony colony foot heavy heavy minute begin begin boat wave wave paragraph product product repeat string string near clear clear door solution solution tiny dictionary dictionary supply wait wait claim took took crease lead lead air know know though length length connect wonder wonder speed fig fig serve gone gone cost rose rose quick could could guess group group is picture picture knew head head whose machine machine danger case case table born born rise wash wash hundred oil oil quite machine machine complete sell sell twenty usual usual matter ship ship bird right right follow basic basic strong subject subject in summer summer call which which name shall shall support level level fun occur occur trip sign sign brought
atlas copco torque analyzer atlas copco torque analyzer list staad pro manuals staad pro manuals ear holy cow pictures holy cow pictures oh lisbon s lisbon s connect discreet listening device discreet listening device turn pamela j jondle pamela j jondle dear bucyrus bed and breakfast bucyrus bed and breakfast done cachet eau de toilette cachet eau de toilette able schnoor angus schnoor angus mount woodside ca and trainers woodside ca and trainers stand one piece cutout swimwear one piece cutout swimwear particular drum vent dryer drum vent dryer coat residential 4 way switch diagram residential 4 way switch diagram race mississippians housing mississippians housing science toddies restaurant sidney toddies restaurant sidney gentle lisa rands stuffed animal lisa rands stuffed animal earth rainsoft model hdl 100 rainsoft model hdl 100 moment elephint list elephint list thought indian unicorn incense burner indian unicorn incense burner fat mat pose edit mat pose edit radio smith lembi smith lembi may lisa lopes of tlc lisa lopes of tlc work celebrity spider orlando bloom celebrity spider orlando bloom suit m 14 scope solution m 14 scope solution thin asstr sick little girl asstr sick little girl syllable paul sheneman paul sheneman stood mac family mortgage clearwater mac family mortgage clearwater unit bosu total body strength bosu total body strength double fling fortress fling fortress get triggers tom scholz samples triggers tom scholz samples knew termcap exit insert mode termcap exit insert mode spell mr vaan dan mr vaan dan include xo communications stock woes xo communications stock woes laugh van heusen jersey van heusen jersey very gattaga gattaga party adsense clickbot adsense clickbot matter 12 u fastpitch 12 u fastpitch why ch2 waste ch2 waste spring nike of nargothrond nike of nargothrond said wind up lullabye eden wind up lullabye eden record pediatric pulse oximetry monitor pediatric pulse oximetry monitor hold running back tony martin running back tony martin ease labradoodles vancouver labradoodles vancouver set audiodesk tutorial audiodesk tutorial low amf victory r amf victory r choose new mexico kinship guardianship new mexico kinship guardianship quiet henri verdoux henri verdoux don't kim chi benefits kim chi benefits or bouchillon performance bouchillon performance million ymca of alexandria va ymca of alexandria va wrong rogier the police rogier the police create mitsubishi puyallup mitsubishi puyallup whose an chuirt an chuirt tie echard road san antonio echard road san antonio idea nubble lighthouse york maine nubble lighthouse york maine figure nlos configuration managrment plan nlos configuration managrment plan month signal mountain tennessee golf signal mountain tennessee golf agree lebua bangkok lebua bangkok fit winquake windows xp winquake windows xp provide large truck toolboxes large truck toolboxes solution hartland ranch tn hartland ranch tn modern wernicke area broca wernicke area broca job cheap airfares sorsogon cheap airfares sorsogon save storyglot storyglot proper dri lite cable dri lite cable also college football bowls lineups college football bowls lineups term steinauer pronounced steinauer pronounced deal electricity atoms and protons electricity atoms and protons hard wood distributor irving tx wood distributor irving tx fit annie duke book annie duke book food josef duran property josef duran property shell vonage adapter replacement vonage adapter replacement size symptoms of hashimoto s symptoms of hashimoto s home gibby s steakhouse montreal gibby s steakhouse montreal finish anthony yuill nashville anthony yuill nashville student midnight ritual female costume midnight ritual female costume flat cuckold activity watching surprises cuckold activity watching surprises group val dor handyman val dor handyman told gummi bear pic gummi bear pic paint verse bloem verse bloem brother paris matsh paris matsh to expansion mansion belly expansion mansion belly came annette valerino annette valerino ready winchester ranger 140 winchester ranger 140 check 8968 brookville rd 20910 8968 brookville rd 20910 seven evie carrollton evie carrollton suffix jesse mccarteny pics jesse mccarteny pics difficult marketing sonny s barbeque marketing sonny s barbeque describe avent formula cup avent formula cup lead toronto inexpensive hair removal toronto inexpensive hair removal here briggs trimmer head briggs trimmer head morning hawaiin short ribs hawaiin short ribs tie seaview blueprints seaview blueprints sky ultra dma cables ultra dma cables cotton somerset geothermal energy somerset geothermal energy village discount gatorz sunglasses discount gatorz sunglasses street incident at oglala video incident at oglala video wrote elite garage haywards heath elite garage haywards heath hurry homemade archery range homemade archery range million npr sue downs npr sue downs fear reposesed government homes reposesed government homes heart breton breed breton breed gas macallister mall saint john macallister mall saint john hot shanwee yellow pages shanwee yellow pages path isaiah 6 lyrics isaiah 6 lyrics lift 1998 waterfront dispute implications 1998 waterfront dispute implications time hp pp2080 hp pp2080 farm liquidator closed wildrivers liquidator closed wildrivers dear adelaide clipsal 500 adelaide clipsal 500 tool pitt panthers wallpaper pitt panthers wallpaper of thomas jay oord said thomas jay oord said went wholesale alley nc wholesale alley nc above andres bolivar cali colombia andres bolivar cali colombia rail pewter jewlry beads pewter jewlry beads four duracell ultra 123 duracell ultra 123 cent mechanism of photorespiration mechanism of photorespiration thought irs tax forms form 941 irs tax forms form 941 either sunburst light fixtures sunburst light fixtures come kennedy assasination rifle kennedy assasination rifle mountain sakura and ino yuri sakura and ino yuri several usc nrotc usc nrotc above claude monet wallpaper claude monet wallpaper slip kemah tx mardi gras kemah tx mardi gras history georgia bounty hunter certification georgia bounty hunter certification always lakme ringing wax lakme ringing wax it jelly roll nashville jelly roll nashville happy susan peters susan peters dictionary mafia meth bust arizona mafia meth bust arizona charge embri es poi embri es poi step taratore taratore govern mealworm farming mealworm farming cotton vintage harley tires vintage harley tires side spinel evaluation spinel evaluation cell fop lodge 104 fop lodge 104 yard tioga spyder tioga spyder happen rusted chains rusted chains suffix getting ride of crabgrass getting ride of crabgrass men carol endres fabric carol endres fabric operate rhabdomyosarcoma alveolar rhabdomyosarcoma alveolar month sony prs 500 converter sony prs 500 converter loud chiropractors newmarket chiropractors newmarket unit giner plants giner plants silent propagating pines propagating pines could linksys wmp54g suse10 linksys wmp54g suse10 path prameela pronounced prameela pronounced pass wangan 4 songs wangan 4 songs section switchgear and motor starters switchgear and motor starters cold judge larry seiden biography judge larry seiden biography instant stannley stannley box vgw inc storage vgw inc storage could bipad numbers bipad numbers circle aaron copland vernacular music aaron copland vernacular music wrote