Program: bbtk
Module: $RCSfile: bbvtkImagePlanes.cxx,v $
Language: C++
- Date: $Date: 2008/12/09 12:54:05 $
- Version: $Revision: 1.16 $
+ Date: $Date: 2008/12/15 13:13:47 $
+ Version: $Revision: 1.17 $
=========================================================================*/
/* ---------------------------------------------------------------------
// Initial values : center of the volume (in real world, not in pixels!)
double xSpacing, ySpacing, zSpacing;
bbGetInputIn()->GetSpacing(xSpacing, ySpacing, zSpacing);
-
+
+
bbGetOutputPlaneX()->SetInput(bbGetInputIn());
bbGetOutputPlaneX()->SetPlaneOrientationToXAxes();
bbGetOutputPlaneX()->SetSlicePosition((xMax+xMin)/2.*xSpacing);