Program: bbtk
Module: $RCSfile: bbvtkImagePlanes.cxx,v $
Language: C++
- Date: $Date: 2009/03/12 09:36:21 $
- Version: $Revision: 1.21 $
+ Date: $Date: 2009/04/17 09:24:02 $
+ Version: $Revision: 1.22 $
=========================================================================*/
/* ---------------------------------------------------------------------
{
//================================================================
- class ImagePlanes::VtkCallbackType : public vtkCommand
+ class ImagePlanes::VtkCallbackType : public vtkCommand
{
public:
static VtkCallbackType *New()
};
//================================================================
- //vtkCxxRevisionMacro(ImagePlanes::VtkCallbackType, "$Revision: 1.21 $");
-
+ //vtkCxxRevisionMacro(ImagePlanes::VtkCallbackType, "$Revision: 1.22 $");
//================================================================
double xSpacing, ySpacing, zSpacing;
bbGetInputIn()->GetSpacing(xSpacing, ySpacing, zSpacing);
-
bbGetOutputPlaneX()->SetInput(bbGetInputIn());
bbGetOutputPlaneX()->SetPlaneOrientationToXAxes();
bbGetOutputPlaneX()->SetSlicePosition((xMax+xMin)/2.*xSpacing);
bbGetOutputPlaneZ()->SetWindowLevel(range[1] - range[0],
0.5*(range[1]+range[0]));
}
- }
-
+ }
// UPDATE DES SORTIES
bbGetOutputPlaneX()->GetResliceOutput()->Update();
bbGetOutputPlaneY()->GetResliceOutput()->Update();
- bbGetOutputPlaneZ()->GetResliceOutput()->Update();
-
-
+ bbGetOutputPlaneZ()->GetResliceOutput()->Update();
}
}
}//namespace bbtk