X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkMIPCreator.cxx;h=58ee8ae42ec02c5da30f1e1239a353239079f01f;hb=7a10db8c8166b77b7da88846127431f732be69bc;hp=0e737bd9b168464c798c046abe9ade27fd5ac494;hpb=17ac9460f5ea5600d1065fbe3ee4ad826d7bb4fc;p=bbtk.git diff --git a/packages/vtk/src/bbvtkMIPCreator.cxx b/packages/vtk/src/bbvtkMIPCreator.cxx index 0e737bd..58ee8ae 100644 --- a/packages/vtk/src/bbvtkMIPCreator.cxx +++ b/packages/vtk/src/bbvtkMIPCreator.cxx @@ -2,8 +2,8 @@ Program: bbtk Module: $RCSfile: bbvtkMIPCreator.cxx,v $ Language: C++ - Date: $Date: 2009/05/15 14:58:01 $ - Version: $Revision: 1.6 $ + Date: $Date: 2010/04/08 14:37:59 $ + Version: $Revision: 1.7 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -33,25 +33,16 @@ * \brief */ - - #ifdef _USE_VTK_ - #include "bbvtkMIPCreator.h" #include "bbvtkPackage.h" namespace bbvtk { - - BBTK_ADD_BLACK_BOX_TO_PACKAGE(vtk,MIPCreator) BBTK_BLACK_BOX_IMPLEMENTATION(MIPCreator,bbtk::AtomicBlackBox); - - - - - + //--------------------------------------------------------------------- void MIPCreator::bbUserSetDefaultValues() { @@ -62,11 +53,9 @@ namespace bbvtk mMapper = NULL; mVolume = NULL; } - //--------------------------------------------------------------------- void MIPCreator::bbUserInitializeProcessing() - { - + { // Create the pipeline mCast = vtkImageShiftScale::New(); mCast->SetOutputScalarTypeToUnsignedChar(); @@ -83,12 +72,12 @@ namespace bbvtk mVolume->SetMapper(mMapper); // mMapper->ScalarVisibilityOff(); - // mMapper->ImmediateModeRenderingOn(); + // mMapper->ImmediateModeRenderingOn(); bbSetOutputOut(mVolume); } - //--------------------------------------------------------------------- +//--------------------------------------------------------------------- void MIPCreator::bbUserFinalizeProcessing() { if (mCast!=NULL) @@ -114,8 +103,6 @@ namespace bbvtk mVolume->Delete(); mVolume=NULL; } - - } //---------------------------------------------------------------------