]> Creatis software - clitk.git/blobdiff - vv/vvMeshActor.cxx
Merge branch 'master' of /home/dsarrut/clitk3.server
[clitk.git] / vv / vvMeshActor.cxx
index e72587117a423a1c607fc14c4dbcb047e4d1bad9..bfc5343f62484176c130c229e6a0491b910ea441 100644 (file)
@@ -3,7 +3,7 @@
 
   Authors belong to:
   - University of LYON              http://www.universite-lyon.fr/
-  - Léon Bérard cancer center       http://oncora1.lyon.fnclcc.fr
+  - Léon Bérard cancer center       http://www.centreleonberard.fr
   - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
 
   This software is distributed WITHOUT ANY WARRANTY; without even
@@ -14,7 +14,7 @@
 
   - BSD        See included LICENSE.txt file
   - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
-======================================================================-====*/
+===========================================================================**/
 #include "vvMeshActor.h"
 #include "clitkCommon.h"
 #include <vtkPolyDataMapper.h>
@@ -26,7 +26,7 @@
 #include <cassert>
 
 vvMeshActor::vvMeshActor() :
-  mCutDimension(NULL), mMesh(NULL),
+  mCutDimension(0), mMesh(NULL),
   mMarching(NULL), mMapper(NULL),
   mActor(NULL),
   mSuperpostionMode(false), mTimeSlice(0)
@@ -67,6 +67,8 @@ void vvMeshActor::Init(vvMesh::Pointer mesh,int time_slice,vvImage::Pointer vf)
 
 void vvMeshActor::SetCutSlice(double slice)
 {
+  DD("SetCutSlice");
+  DD(slice);
   mCutSlice=slice;
   vtkImageData* mask;
   if (static_cast<unsigned int>(mTimeSlice)<mMesh->GetNumberOfMasks())