X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=packages%2Fvtk%2Fsrc%2FbbvtkMIPCreator.h;h=c37149bd2cdad229df4c5217dccf49046aa706c6;hb=ed9d32f344e2ffa223081390b63f064cf1e42de0;hp=6481ef862c89095475dde78a60d1e1fff740b570;hpb=1e2df7fb6ae571ce1cf72e6af1715f0e34675cbf;p=bbtk.git diff --git a/packages/vtk/src/bbvtkMIPCreator.h b/packages/vtk/src/bbvtkMIPCreator.h index 6481ef8..c37149b 100644 --- a/packages/vtk/src/bbvtkMIPCreator.h +++ b/packages/vtk/src/bbvtkMIPCreator.h @@ -2,8 +2,8 @@ Program: bbtk Module: $RCSfile: bbvtkMIPCreator.h,v $ Language: C++ - Date: $Date: 2008/11/25 11:17:23 $ - Version: $Revision: 1.6 $ + Date: $Date: 2010/04/08 14:37:59 $ + Version: $Revision: 1.9 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -28,7 +28,6 @@ * knowledge of the CeCILL-B license and that you accept its terms. * ------------------------------------------------------------------------ */ - /** * \brief Short description in one line * @@ -44,14 +43,11 @@ * \brief Pattern for the definition of a new type of Node */ - #ifdef _USE_VTK_ - #ifndef __bbvtkMIPCreator_h_INCLUDED__ #define __bbvtkMIPCreator_h_INCLUDED__ - #include "bbtkAtomicBlackBox.h" #include "vtkImageData.h" @@ -61,12 +57,11 @@ #include "vtkProp3D.h" #include "vtkVolume.h" +#include "bbvtk_EXPORT.h" + namespace bbvtk { - - - - class /*BBTK_EXPORT*/ MIPCreator : public bbtk::AtomicBlackBox + class bbvtk_EXPORT MIPCreator : public bbtk::AtomicBlackBox { public: BBTK_BLACK_BOX_INTERFACE(MIPCreator,bbtk::AtomicBlackBox); @@ -79,15 +74,11 @@ namespace bbvtk void Process(); protected: - virtual void bbUserConstructor(); - virtual void bbUserCopyConstructor(bbtk::BlackBox::Pointer); - virtual void bbUserDestructor(); - void Init(); private: - vtkImageShiftScale* mCast; - vtkVolumeRayCastMIPFunction* mMIP; - vtkVolumeRayCastMapper* mMapper; - vtkVolume* mVolume; + vtkImageShiftScale *mCast; + vtkVolumeRayCastMIPFunction *mMIP; + vtkVolumeRayCastMapper *mMapper; + vtkVolume *mVolume; }; //================================================================= @@ -104,7 +95,6 @@ namespace bbvtk BBTK_END_DESCRIBE_BLACK_BOX(MIPCreator); //================================================================= - }//namespace bbvtk #endif //__bbtvtkMIPCreator_h__