X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FInterface_ManagerContour_NDimensions%2FwxVtkBaseView_SceneManager.cxx;h=c765d330a68f4fcaac7da7258c8ca735f394aac0;hb=89db06fc8f04c54d2cee1b07a5abe3ac7ee6cf65;hp=6f0ff37384dca4a28095563667b012464d18d99f;hpb=c16ad56801f9028dc219381cfdff2ca907efb431;p=creaContours.git diff --git a/lib/Interface_ManagerContour_NDimensions/wxVtkBaseView_SceneManager.cxx b/lib/Interface_ManagerContour_NDimensions/wxVtkBaseView_SceneManager.cxx index 6f0ff37..c765d33 100644 --- a/lib/Interface_ManagerContour_NDimensions/wxVtkBaseView_SceneManager.cxx +++ b/lib/Interface_ManagerContour_NDimensions/wxVtkBaseView_SceneManager.cxx @@ -332,7 +332,7 @@ DEFINE_EVENT_TYPE( wxEVT_CHANGED_DEEP ) setControlActiveStateOf( _workingGroup, false ); _workingGroup->clear(); } - std::map ::iterator iter = NULL; + std::map ::iterator iter; // = NULL; //EED Borrame // FILE *ff = fopen("c:/temp/wxVtkBaseView_SceneManagerStadistics.txt","a+"); @@ -1092,7 +1092,8 @@ DEFINE_EVENT_TYPE( wxEVT_CHANGED_DEEP ) { FILE *ff = fopen("c:/temp/wxVtkBaseView_SceneManagerStadistics.txt","a+"); long int start = clock(); - double sg = (double)(start) / (double)CLK_TCK; + //double sg = (double)(start) / (double)CLK_TCK; // CLK_TCK not ANSI C. + double sg = (double)(start) / (double)CLOCKS_PER_SEC; int tmpPx,tmpPy; wxVTKRenderWindowInteractor *wxVTKiren = _vtkInteractorStyleBaseView->GetWxVtk2DBaseView()->GetWxVTKRenderWindowInteractor(); wxVTKiren->GetEventPosition( tmpPx , tmpPy );