X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxMaracasMultipleVolumeRendererManagerData.h;h=0f395511e15415e686da4bede4f02783db6d6d66;hb=f7634324fc5790ec510ad4f3db642c705dfb685e;hp=b1ad57e7e8d794bc2647c3e57ae5dc17cbbccc7a;hpb=0006c401e6399555e1cfa83989a3343ccce51813;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasMultipleVolumeRendererManagerData.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasMultipleVolumeRendererManagerData.h index b1ad57e..0f39551 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasMultipleVolumeRendererManagerData.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasMultipleVolumeRendererManagerData.h @@ -11,6 +11,7 @@ #include #include #include +#include #include @@ -24,28 +25,37 @@ public: /** ** Check if the variables are setted correctly **/ - void checkInvariant(); + void checkInvariant()throw (char *); + + /** + ** Updates volume + **/ + void Update(); + /** ** get the prop3D **/ vtkProp3D* getProp3D(); + /** ** return the id from the daat **/ int getId(); + /** ** set data id **/ void setId(int propid); + /** ** Get the filanme **/ std::string getDataname(); + /** ** Set the filanme **/ - void setDataname(std::string dataname); - + void setDataname(std::string dataname); /** ** Set Volume Color @@ -63,9 +73,12 @@ public: vtkPiecewiseFunction* GetTransferFunction(){ return _tfun; } + vtkColorTransferFunction* GetColorFunction(){ return _ctfun; } + + void changeCompositeMIPFunction(int function) throw (char *); protected: /** @@ -92,6 +105,7 @@ private: vtkVolume *_newvol; vtkPiecewiseFunction* _tfun; vtkColorTransferFunction* _ctfun; + vtkVolumeRayCastMIPFunction* _MIPFunction; };