-// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
try {
OCC_CATCH_SIGNALS;
//MESSAGE("DisplayActor " << theActor);
+ theActor->SetPointRepresentation(false);
vtkWnd->AddActor(theActor);
vtkWnd->Repaint();
}
int GetEdgeNodes(SVTK_Selector* theSelector,
const TVisualObjPtr& theVisualObject,
- smIdType& theId1,
- smIdType& theId2)
+ ::smIdType& theId1,
+ ::smIdType& theId2)
{
const SALOME_ListIO& selected = theSelector->StoredIObjects();
if ( aMapIndex.Extent() != 2 )
return -1;
- smIdType anObjId = -1, anEdgeNum = -1;
- for ( smIdType i = 1; i <= aMapIndex.Extent(); i++ ) {
- smIdType aVal = aMapIndex( i );
+ ::smIdType anObjId = -1, anEdgeNum = -1;
+ for ( ::smIdType i = 1; i <= aMapIndex.Extent(); i++ ) {
+ ::smIdType aVal = aMapIndex( i );
if ( aVal > 0 )
anObjId = aVal;
else
}
- int GetEdgeNodes( LightApp_SelectionMgr* theMgr, smIdType& theId1, smIdType& theId2 )
+ int GetEdgeNodes( LightApp_SelectionMgr* theMgr, ::smIdType& theId1, ::smIdType& theId2 )
{
SALOME_ListIO selected; theMgr->selectedObjects( selected );
if ( aMapIndex.Extent() != 2 )
return -1;
- smIdType anObjId = -1, anEdgeNum = -1;
- for ( smIdType i = 1; i <= aMapIndex.Extent(); i++ ) {
- smIdType aVal = aMapIndex( i );
+ ::smIdType anObjId = -1, anEdgeNum = -1;
+ for ( ::smIdType i = 1; i <= aMapIndex.Extent(); i++ ) {
+ ::smIdType aVal = aMapIndex( i );
if ( aVal > 0 )
anObjId = aVal;
else