static int MYVTKDEBUG = 0;
#ifdef _DEBUG_
-static int MYDEBUG = 1;
+static int MYDEBUG = 0;
#else
static int MYDEBUG = 0;
#endif
VISU_Actor
::GetNodeObjId(vtkIdType theID)
{
- cout << "GetNodeObjId("<<theID<<")"<<endl;
+ if(MYDEBUG) cout << "GetNodeObjId("<<theID<<")"<<endl;
return VISU::GetNodeObjID(this->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("<<theID<<")"<<endl;
+ if(MYDEBUG) cout << "GetNodeVTKID("<<theID<<")"<<endl;
return VISU::GetNodeVTKID(this->GetInput(),theID);
-// if(myIsVTKMapping)
-// return theID;
-
-// return GetCurrentPL()->GetNodeVTKID(theID);
}
vtkFloatingPointType*
VISU_Actor
::GetElemObjId(vtkIdType theID)
{
- cout << "GetElemObjId("<<theID<<")"<<endl;
+ if(MYDEBUG) cout << "GetElemObjId("<<theID<<")"<<endl;
return VISU::GetElemObjID(this->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("<<theID<<")"<<endl;
+ if(MYDEBUG) cout << "GetElemVTKID("<<theID<<")"<<endl;
vtkIdType theId = VISU::GetElemVTKID(this->GetInput(),theID,VISU::CELL_ENTITY);
if(theId > -1)
return theId;
return theId;
theId = VISU::GetElemVTKID(this->GetInput(),theID,VISU::EDGE_ENTITY);
return theId;
-// if(myIsVTKMapping)
-// return theID;
-
-// return GetCurrentPL()->GetElemVTKID(theID);
}
vtkCell*