From: <arn...@us...> - 2010-06-20 22:53:10
|
Revision: 1730 http://gofigure2.svn.sourceforge.net/gofigure2/?rev=1730&view=rev Author: arnaudgelas Date: 2010-06-20 22:53:04 +0000 (Sun, 20 Jun 2010) Log Message: ----------- ENH: Add one slot GoToLocation Modified Paths: -------------- trunk/Code/GUI/lib/QGoTabImageView3DwT.cxx trunk/Code/GUI/lib/QGoTabImageView3DwT.h Modified: trunk/Code/GUI/lib/QGoTabImageView3DwT.cxx =================================================================== --- trunk/Code/GUI/lib/QGoTabImageView3DwT.cxx 2010-06-20 20:17:56 UTC (rev 1729) +++ trunk/Code/GUI/lib/QGoTabImageView3DwT.cxx 2010-06-20 22:53:04 UTC (rev 1730) @@ -4114,3 +4114,14 @@ this->m_DataBaseTables->GetQStringListSubCellTypes()); } } + +void +QGoTabImageView3Dwt:: +GoToLocation( int iX, int iY, int iZ, int iT ) +{ + this->SetTimePoint( iT ); + this->SetSliceViewXY( iZ ); + this->SetSliceViewXZ( iY ); + this->SetSliceViewYZ( iX ); +} + Modified: trunk/Code/GUI/lib/QGoTabImageView3DwT.h =================================================================== --- trunk/Code/GUI/lib/QGoTabImageView3DwT.h 2010-06-20 20:17:56 UTC (rev 1729) +++ trunk/Code/GUI/lib/QGoTabImageView3DwT.h 2010-06-20 22:53:04 UTC (rev 1730) @@ -538,6 +538,8 @@ void ShowTraceDockWidgetForMesh(bool OneClickVisible); void ChangeColorOfSelectedTracesManager(std::pair<std::list<int>,QColor>); + void GoToLocation( int iX, int iY, int iZ, int iT ); + /** * \brief Mouse interaction style allows contours segmentation, according to * the selected type of segmentation This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |