X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvSlicer.h;h=e647a19ac8ea768390a64a94b97cd9332a5318d8;hb=d38b545ea6b6428350b3a40c79df800cd62bef02;hp=a738a788b192db47fb40859f233b5e31853a8569;hpb=58cd684433d4a961aa1ac37c39f92830a9a07146;p=clitk.git diff --git a/vv/vvSlicer.h b/vv/vvSlicer.h index a738a78..e647a19 100644 --- a/vv/vvSlicer.h +++ b/vv/vvSlicer.h @@ -20,6 +20,9 @@ #include #include +#include //TODO delete +#include + #include "vvLandmarks.h" #include "vvImage.h" #include "vvMesh.h" @@ -78,7 +81,7 @@ public: vtkActor* GetVFActor() ; vtkCornerAnnotation* GetAnnotation(); - void SetFusion(vvImage::Pointer inputFusion); + void SetFusion(vvImage::Pointer inputFusion, bool fusionSequenceFlag = false); vvImage::Pointer GetFusion() { return mFusion; } @@ -97,7 +100,10 @@ public: } void SetLandmarks(vvLandmarks* landmarks); - void SetTSlice(int t); + void SetTSlice(int t, bool updateLinkedImages = true); + + void SetFusionSequenceTSlice(int t); + void SetSliceOrientation(int orientation); void AdjustResliceToSliceOrientation(vtkImageReslice *reslice); int GetTSlice(); @@ -212,6 +218,8 @@ protected: vvLandmarks* mLandmarks; + bool mFusionSequenceFlag; //flag used to indicate whether the 'fusion' data is actually a 'fusionSequence' + // __________ Image coordinates accounting for spacing and origin // Λ Λ // | | vvImage.GetTransform()