X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvSlicer.h;h=e647a19ac8ea768390a64a94b97cd9332a5318d8;hb=d38b545ea6b6428350b3a40c79df800cd62bef02;hp=9a750e14d69a6db41596d143e4d3ff30c33b9fae;hpb=f1cebc71809c5218578a58486f829980eeb29ab3;p=clitk.git diff --git a/vv/vvSlicer.h b/vv/vvSlicer.h index 9a750e1..e647a19 100644 --- a/vv/vvSlicer.h +++ b/vv/vvSlicer.h @@ -20,15 +20,20 @@ #include #include +#include //TODO delete +#include + #include "vvLandmarks.h" #include "vvImage.h" #include "vvMesh.h" #include "vvMeshActor.h" +#include "vvClipPolyData.h" #include #include #include #include +#include class vtkActor; class vtkActor2D; @@ -76,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; } @@ -95,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(); @@ -210,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() @@ -244,9 +254,10 @@ protected: vtkSmartPointer mVFActor; vtkSmartPointer mLandGlyph; vtkSmartPointer mCross; - vtkSmartPointer mLandClipper; + vtkSmartPointer mLandClipper; vtkSmartPointer mLandMapper; vtkSmartPointer mLandActor; + std::vector > mLandLabelActors; vtkSmartPointer mClipBox; vtkSmartPointer legend; std::vector mSurfaceCutActors;