[vtkusers] SetResliceAxesDirectionCosines
David Gobbi
dgobbi at imaging.robarts.ca
Thu Dec 26 20:25:06 EST 2002
Hi Sebastien,
The SetResliceAxesDirectionCosines() takes 3 vectors to make the
class more general, i.e. to allow a person to specify the x,y,z
axes of an output volume. For a single slice, take the cross
product of the x and y vectors to get a z vector. Then, use
SetResliceAxesOrigin() to specify a point that lies on the slice
plane.
- David
--
David Gobbi, MSc dgobbi at imaging.robarts.ca
Advanced Imaging Research Group
Robarts Research Institute, University of Western Ontario
On Thu, 26 Dec 2002, [iso-8859-1] sebastien wrote:
> Hello
> I want to make a slice of a volume. So I use the
> methods SetResliceAxesDirectionCosines and
> SetResliceAxesOrigin of vtkImageResllice.
> I want to know why we must define 3 axes in this
> method whereas it is possible to define a plane with 2
> axes.
> By passing randomly the arguments of this method, I
> have obtained a slice but I want to make a slice of a
> precise plane.
>
> Thank you
>
>
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list