// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
//=====
-#include <chrono>
-
#include "bbcreaMaracasVisuSetPosition.h"
#include "bbcreaMaracasVisuPackage.h"
#include <wxMPRBaseData.h>
{
if (bbGetInputwxVtkBaseView()!=NULL)
{
-
- printf("SetPosition::Process %s\n", bbGetInputwxVtkBaseView()->GetRenWin()->ReportCapabilities() );
-
vtkMPRBaseData* vtkmprbasedata = (vtkMPRBaseData*) (bbGetInputwxVtkBaseView()->GetVtkBaseData());
if (bbGetInputPoint().size()==3)
{
#if wxMAJOR_VERSION <= 2
bbGetInputwxVtkBaseView()->GetWxVTKRenderWindowInteractor ()->GetParent()->ProcessEvent( newevent );
#else
-auto start = std::chrono::high_resolution_clock::now();
bbGetInputwxVtkBaseView()->GetWxVTKRenderWindowInteractor ()->GetParent()->ProcessWindowEvent( newevent );
-auto stop = std::chrono::high_resolution_clock::now();
-auto duration = std::chrono::duration_cast<std::chrono::microseconds>(stop - start);
-printf("EED SetPosition::Process time= %ld %s \n", duration.count() , bbGetFullName().c_str() );
#endif
vtkmprbasedata->SetFixAxis2D( tmpFixAxis );
} // if bbGetInputPosition
# knowledge of the CeCILL-B license and that you accept its terms.
# ------------------------------------------------------------------------ */
+#include <chrono>
+
#include "bbmaracasvisuViewerNV.h"
#include "bbcreaMaracasVisuPackage.h"
namespace bbcreaMaracasVisu
//ED2024-11-01
bool ok=true;
if (mbbViewerNV->bbGetInputReactivityType()==0) { ok=false; }
+auto start1 = std::chrono::high_resolution_clock::now();
mbbViewerNV->bbSignalOutputModification(std::string("Point"),ok);
+auto stop1 = std::chrono::high_resolution_clock::now();
+auto duration1 = std::chrono::duration_cast<std::chrono::microseconds>(stop1 - start1);
+printf("EED bbwxMaracas_N_ViewersWidget::OnRefreshView time= %ld \n", duration1.count() , mbbViewerNV->bbGetFullName().c_str() );
+
+
// if (mbbViewerNV->bbGetInputReactivityType()==1)
// {
} // if X Y Z
+auto start2 = std::chrono::high_resolution_clock::now();
wxMaracas_N_ViewersWidget::OnRefreshView(event);
+auto stop2 = std::chrono::high_resolution_clock::now();
+auto duration2 = std::chrono::duration_cast<std::chrono::microseconds>(stop2 - start2);
+printf("EED bbwxMaracas_N_ViewersWidget::OnRefreshView time= %ld \n", duration2.count() , mbbViewerNV->bbGetFullName().c_str() );
}