X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_creaVtk_PKG%2Fsrc%2FbbcreaVtkReadMHDPlane.h;h=8dfd228a0f42e86dcb0f7072b83bf54c009f1d00;hb=b677e4fad72323711d5cc783d274628aea81bebe;hp=53cc07c0b4b9e33f559574040ec8ae7f61553277;hpb=c22798d197ecbf3357d2d0422d433c155c2b18fc;p=creaVtk.git diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkReadMHDPlane.h b/bbtk_creaVtk_PKG/src/bbcreaVtkReadMHDPlane.h index 53cc07c..8dfd228 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkReadMHDPlane.h +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkReadMHDPlane.h @@ -3,6 +3,12 @@ //===== #ifndef __bbcreaVtkReadMHDPlane_h_INCLUDED__ #define __bbcreaVtkReadMHDPlane_h_INCLUDED__ + + + + + + #include "bbcreaVtk_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" @@ -24,8 +30,13 @@ class bbcreaVtk_EXPORT ReadMHDPlane BBTK_DECLARE_INPUT(FileName,std::string); BBTK_DECLARE_INPUT(Slice,int); BBTK_DECLARE_INPUT(DirectionPlane,std::string); + BBTK_DECLARE_INPUT(Type,int); BBTK_DECLARE_OUTPUT(Out,vtkImageData*); BBTK_PROCESS(Process); + + void ReadNormalMHD(); + void Read64lseek(); + void Process(); //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) @@ -40,6 +51,7 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(ReadMHDPlane,bbtk::AtomicBlackBox); BBTK_INPUT(ReadMHDPlane,FileName,"Image file name",std::string,""); BBTK_INPUT(ReadMHDPlane,Slice,"Slice number",int,""); BBTK_INPUT(ReadMHDPlane,DirectionPlane,"Direction plane: XY (default), YZ , XZ",std::string,""); + BBTK_INPUT(ReadMHDPlane,Type,"(0 default) 0 = Normal mhd, 1 = lseek64",int,""); BBTK_OUTPUT(ReadMHDPlane,Out,"Image 2D",vtkImageData*,""); BBTK_END_DESCRIBE_BLACK_BOX(ReadMHDPlane); //=====