X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FvtkClipping3DDataViewer.cxx;h=e5b8804e0550d26b847db84dc98c057a63ad86ec;hb=0cc1383dff9255c9929097bbe9f44a6f4f31c97a;hp=d2524bed7c192c2cbb5c9b92c9591903ef09899c;hpb=afeeee6e8ef4a7b29e33db89bf6fc03542201ed1;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkClipping3DDataViewer.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkClipping3DDataViewer.cxx index d2524be..e5b8804 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkClipping3DDataViewer.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkClipping3DDataViewer.cxx @@ -265,6 +265,8 @@ void vtkClipping3DDataViewer::Configure_Volume() double range[2]; this->_vtkmprbasedata->GetImageData()->GetScalarRange(range); double max = range[1]; + + printf("EED::vtkClipping3DDataViewer::Configure_Volume max=%f \n",max); /* adding the poinst of the transference function @@ -380,7 +382,7 @@ void vtkClipping3DDataViewer::Configure_Volume() void vtkClipping3DDataViewer::Configure_VolumeBox() { - cout<<"JPRG::vtkClipping3DDataViewer::Configure_VolumeBox()"<SetImageData(_vtkmprbasedata->GetImageData()); @@ -388,6 +390,8 @@ void vtkClipping3DDataViewer::Configure_VolumeBox() vector *gv = this->GetGreyValuesTransferenceFVector(); vector *op = this->GetIntensityValuesTransferenceFVector(); + printf("EED::vtkClipping3DDataViewer::Configure_VolumeBox _ctfun=%p \n",_ctfun); + _volumerendererdata->SetLookUpTable((vtkLookupTable*)(_ctfun)); _volumerendererdata->OpacityChanged(*gv, *op); @@ -395,6 +399,8 @@ void vtkClipping3DDataViewer::Configure_VolumeBox() //_wxvtkclipping3Dview->VisibleVolumeActor( false ); //_volumerendererdata->ShowVolume(event.IsChecked() ); //_volumerendererdata->BoundingBoxChanged(event.IsChecked() ); + + cout<<"EED::JPRG::vtkClipping3DDataViewer::Configure_VolumeBox() end"<