X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FThresholdImageView%2FColorLayerImageViewManager.cxx;h=1306f71915a08e43a0e65ddef8a27bbfd50beaf0;hb=0780b53e8b105636030b2c9fcbbc423d8ed48c30;hp=b478c254c48bb109c184e5798fddb794cccf214b;hpb=b73d56cf9e0aeee77ac87df7b5e401fc0ba87504;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewManager.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewManager.cxx index b478c25..1306f71 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewManager.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewManager.cxx @@ -384,5 +384,57 @@ void ColorLayerImageViewManager::SetImage( vtkImageData* img ) } // for } +//---------------------------------------------------------------------------- +void ColorLayerImageViewManager::GetDimensionBase(int id,int *dim) +{ + if (_colorLayerImageViewLst[id]!=NULL) + { + _colorLayerImageViewLst[id]->GetDimensionBase( dim ); + } // if +} + +//---------------------------------------------------------------------------- +void ColorLayerImageViewManager::GetSpcBase(int id,double *spc) +{ + if (_colorLayerImageViewLst[id]!=NULL) + { + _colorLayerImageViewLst[id]->GetSpcBase( spc ); + } // if +} + +//---------------------------------------------------------------------------- +void ColorLayerImageViewManager::GetDimensionOriginalLayer(int id,int *dim) +{ + if (_colorLayerImageViewLst[id]!=NULL) + { + _colorLayerImageViewLst[id]->GetDimensionOriginalLayer( dim ); + } // if +} + +//---------------------------------------------------------------------------- +void ColorLayerImageViewManager::GetSpcOriginalLayer(int id,double *spc) +{ + if (_colorLayerImageViewLst[id]!=NULL) + { + _colorLayerImageViewLst[id]->GetSpcOriginalLayer( spc ); + } // if +} + +//---------------------------------------------------------------------------- +//---------------------------------------------------------------------------- +void ColorLayerImageViewManager::SetNewSpacingLayer(double *spc) +{ + int i, size=_colorLayerImageViewLst.size(); + for (i=0;iSetNewSpacingLayer( spc ); + } // if + } // for +} + + + // EOF