From: DUC ANH HOANG Date: Thu, 1 Aug 2024 13:01:04 +0000 (+0200) Subject: Prepare for KitWare X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8ffd48aa795734af7a5b891c07bab436129bba7e;p=modules%2Fgui.git Prepare for KitWare --- diff --git a/src/SPV3D/SPV3D_CADSelection.cxx b/src/SPV3D/SPV3D_CADSelection.cxx index 7a67475e0..a4278490d 100644 --- a/src/SPV3D/SPV3D_CADSelection.cxx +++ b/src/SPV3D/SPV3D_CADSelection.cxx @@ -521,9 +521,22 @@ std::set SPV3D_CADSelection::GetSelectedObEntry() void SPV3D_CADSelection::SetSelectionFromEntrySet(std::set EntryList) { - std::cout <<"EntryList to be selected provided by client: "; + // Solid Ids list to be provided to server + std::vector SolidIds; for (std::string entry : EntryList) - std::cout << SPV3D_Prs::FromEntryToVtkId(entry.c_str()) << " "; - std::cout << std::endl; - std::cout <<"We need send the selection request to server here!!!!!" <Representation == nullptr) + { + qWarning() << "There is no pqDataRepresentation"; + } + return ; + vtkSMProxy* proxyRepresentation = this->Representation->getProxy(); + if (!proxyRepresentation) + { + qWarning()<< "There is no representation"; + } + //TODO: + // Send SolidIds vector to server + // On server update the Selection with this SolidIds } \ No newline at end of file