-// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
int VTKViewer_LINE_WIDTH = 3;
-vtkStandardNewMacro(VTKViewer_Actor);
+vtkStandardNewMacro(VTKViewer_Actor)
/*!
Constructor
myTransformFilter->Delete();
- for(int i = 0, iEnd = myPassFilter.size(); i < iEnd; i++)
+ for(size_t i = 0, iEnd = myPassFilter.size(); i < iEnd; i++)
if(myPassFilter[i])
myPassFilter[i]->Delete();
return GetInput()->GetPoint(theObjID);
}
+/*!
+ Maps object index of a node to corresponding VTK index
+*/
+int
+VTKViewer_Actor
+::GetNodeVtkId( int theObjID )
+{
+ return theObjID;
+}
+
+
/*!
Get corresponding #vtkCell for given object index
*/
*/
void
VTKViewer_Actor
-::SetMaterial(std::vector<vtkProperty*> theProps)
+::SetMaterial(std::vector<vtkProperty*> /*theProps*/)
{
}
/*!
- Get current front material\r
-*/\r
-vtkProperty* \r
-VTKViewer_Actor\r
-::GetFrontMaterial()\r
-{\r
- return NULL;\r
-}\r
-\r
-/*!\r
- Get current back material\r
-*/\r
-vtkProperty* \r
-VTKViewer_Actor\r
-::GetBackMaterial()\r
-{\r
- return NULL;\r
+ Get current front material
+*/
+vtkProperty*
+VTKViewer_Actor
+::GetFrontMaterial()
+{
+ return NULL;
+}
+
+/*!
+ Get current back material
+*/
+vtkProperty*
+VTKViewer_Actor
+::GetBackMaterial()
+{
+ return NULL;
}
/*!
-vtkCxxSetObjectMacro(VTKViewer_Actor,PreviewProperty,vtkProperty);
+vtkCxxSetObjectMacro(VTKViewer_Actor,PreviewProperty,vtkProperty)