X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvInfoPanel.cxx;h=a9336145ca1ec3019e65a0cbfa800b1266743449;hb=119a42cb1444930c78314e862e590f54c2f7678d;hp=33564b323d8a0fd47025f6fa4cb813f55f801682;hpb=1e034c70105f0926939acaaa27ddb46e904ae8bf;p=clitk.git diff --git a/vv/vvInfoPanel.cxx b/vv/vvInfoPanel.cxx index 33564b3..a933614 100644 --- a/vv/vvInfoPanel.cxx +++ b/vv/vvInfoPanel.cxx @@ -14,11 +14,20 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -======================================================================-====*/ + ======================================================================-====*/ #include #include #include "vvInfoPanel.h" +#include "clitkMemoryUsage.h" + +//------------------------------------------------------------------------------ +void vvInfoPanel::setTransformation(QString text) +{ + transformationLabel->setText(text); +} + +//------------------------------------------------------------------------------ void vvInfoPanel::setFileName(QString text) { @@ -27,37 +36,58 @@ void vvInfoPanel::setFileName(QString text) else imageLabel->setText(text); } +//------------------------------------------------------------------------------ + +//------------------------------------------------------------------------------ void vvInfoPanel::setDimension(QString text) { dimensionLabel->setText(text); } +//------------------------------------------------------------------------------ + +//------------------------------------------------------------------------------ void vvInfoPanel::setSizeMM(QString text) { sizeMMLabel->setText(text); } +//------------------------------------------------------------------------------ + +//------------------------------------------------------------------------------ void vvInfoPanel::setNPixel(QString text) { nPixelLabel->setText(text); } +//------------------------------------------------------------------------------ + +//------------------------------------------------------------------------------ void vvInfoPanel::setSizePixel(QString text) { sizePixelLabel->setText(text); } +//------------------------------------------------------------------------------ + +//------------------------------------------------------------------------------ void vvInfoPanel::setOrigin(QString text) { originLabel->setText(text); } +//------------------------------------------------------------------------------ + +//------------------------------------------------------------------------------ void vvInfoPanel::setSpacing(QString text) { spacingLabel->setText(text); } +//------------------------------------------------------------------------------ + +//------------------------------------------------------------------------------ void vvInfoPanel::setCurrentInfo(int visibility, double x, double y, double z, double X, double Y, double Z, double value) { QString world = ""; @@ -78,10 +108,12 @@ void vvInfoPanel::setCurrentInfo(int visibility, double x, double y, double z, d pixelPosLabel->setText(mouse); valueLabel->setText(val); } +//------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ void vvInfoPanel::setViews(int window, int view, int slice) -{ +{/* QString viewString; switch (view) { case 0: { @@ -123,5 +155,15 @@ void vvInfoPanel::setViews(int window, int view, int slice) DRLabel->setText(text); break; } - } + }*/ } +//------------------------------------------------------------------------------ + + +//------------------------------------------------------------------------------ +void vvInfoPanel::setMemoryInMb(QString text) +{ + memoryUsageLabel->setText("Memory usage : "+text); +} +//------------------------------------------------------------------------------ +