Re: Inter slice spacing

New Message Reply Date view Thread view Subject view Author view

Chikai Ohazama (chikai@talula)
Mon, 19 Apr 1999 11:25:16 -0700 (PDT)


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
> ####---------------------------------------------####
>


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