Re: Inter slice spacing

New Message Reply Date view Thread view Subject view Author view

Ballard Andrews; (andrews@ridgefield.sdr.slb.com)
Mon, 19 Apr 1999 15:36:20 -0400


In the demos you can also use command line parsing:
-sc xscale yscale zscale
(without changing the renderer)

-ba

Chikai Ohazama wrote:
>
> The axes can be scaled by through OpengL. Just call glScalef before the
> rendering call, and it will scale the volume. So it would look something
> like this:
>
> glMatrixMode(GL_MODELVIEW);
> glPushMatrix();
> glScalef(scaleX, scaleY, scaleZ);
>
> RenderVolume();
>
> glPopMatrix();
>
> ________________________________________________________________________
> Chikai J. Ohazama, Ph.D. Silicon Graphics Computer Systems
> Member of Technical Staff 2011 N. Shoreline Blvd. ms 525
> Advanced Graphics Division Mountain View, CA 94043.1389
> Telephone: (650) 933-6533
> FAX: (650) 964-8671
>
> On Mon, 19 Apr 1999, Ashraf Mohamed wrote:
>
> > Hi!
> > I am a new user of volumizer. I am trying to find how to change the
> > appearance of some loaded CT and MR slices so that it looks
> > proportionate (all 3 axes have the same scale). I would appreciate if
> > somebody can tell me how to incorporate the interslice spacing and the
> > pixel spacing to adjust the scales of the axes in a volumizer
> > application (e.g. voglBasic).
> > Thankx
> >
> > Ashraf
> > --
> > ####-----------------------------------------------####
> > Ashraf Hussein Mohamed
> >
> > CVIP lab., University of Louisville
> > Speed Scientific Engineering School, EE. dept.
> > Louisville, KY 40292
> > ####---------------------------------------------####
> >

--
Dr. Ballard Andrews
Schlumberger Doll Research
Old Quarry Road
Ridgefield, CT 06877
tel: 203-431-5522 fax: 5521

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Nov 01 1999 - 12:06:41 PST