From 28e52dca3d5c5eef408d835c7523a4fc1acd1fd2 Mon Sep 17 00:00:00 2001 From: enk Date: Fri, 20 Apr 2007 13:09:19 +0000 Subject: [PATCH] fix for selection --- src/OBJECT/VISU_Actor.cxx | 36 +++++------------------------------- 1 file changed, 5 insertions(+), 31 deletions(-) diff --git a/src/OBJECT/VISU_Actor.cxx b/src/OBJECT/VISU_Actor.cxx index 36b2e2d3..06c487b3 100644 --- a/src/OBJECT/VISU_Actor.cxx +++ b/src/OBJECT/VISU_Actor.cxx @@ -70,7 +70,7 @@ using namespace std; static int MYVTKDEBUG = 0; #ifdef _DEBUG_ -static int MYDEBUG = 1; +static int MYDEBUG = 0; #else static int MYDEBUG = 0; #endif @@ -411,29 +411,16 @@ vtkIdType VISU_Actor ::GetNodeObjId(vtkIdType theID) { - cout << "GetNodeObjId("<GetInput(),theID); -// if(myIsVTKMapping) -// return Superclass::GetNodeObjId(theID); - -// vtkIdType anID = myGeomFilter->GetNodeObjId(theID); - -// if(myIsShrunk) -// anID = myShrinkFilter->GetNodeObjId(anID); - -// return GetCurrentPL()->GetNodeObjID(anID); } vtkIdType VISU_Actor ::GetNodeVTKID(vtkIdType theID) { - cout << "GetNodeVTKID("<GetInput(),theID); -// if(myIsVTKMapping) -// return theID; - -// return GetCurrentPL()->GetNodeVTKID(theID); } vtkFloatingPointType* @@ -452,24 +439,15 @@ vtkIdType VISU_Actor ::GetElemObjId(vtkIdType theID) { - cout << "GetElemObjId("<GetInput(),theID); -// if(myIsVTKMapping) -// return Superclass::GetElemObjId(theID); - -// vtkIdType anID = myGeomFilter->GetElemObjId(theID); - -// if(myIsShrunk) -// anID = myShrinkFilter->GetElemObjId(anID); - -// return GetCurrentPL()->GetElemObjID(anID); } vtkIdType VISU_Actor ::GetElemVTKID(vtkIdType theID) { - cout << "GetElemVTKID("<GetInput(),theID,VISU::CELL_ENTITY); if(theId > -1) return theId; @@ -478,10 +456,6 @@ VISU_Actor return theId; theId = VISU::GetElemVTKID(this->GetInput(),theID,VISU::EDGE_ENTITY); return theId; -// if(myIsVTKMapping) -// return theID; - -// return GetCurrentPL()->GetElemVTKID(theID); } vtkCell* -- 2.39.2