Salome HOME
Add polyhedron type to my3DExtActor
authoreap <eap@opencascade.com>
Fri, 11 Feb 2011 15:19:49 +0000 (15:19 +0000)
committereap <eap@opencascade.com>
Fri, 11 Feb 2011 15:19:49 +0000 (15:19 +0000)
+  aFilter->RegisterCellsWithType(VTK_POLYHEDRON);

src/OBJECT/SMESH_Actor.cxx

index 3e4c1ad8a7fe3d224f8672e91e34dda3d1e6a31b..d392cbe0d6e28dce3bd24e5442094f88cb5514c1 100644 (file)
@@ -226,6 +226,7 @@ SMESH_ActorDef::SMESH_ActorDef()
   aFilter->RegisterCellsWithType(VTK_QUADRATIC_WEDGE);
   aFilter->RegisterCellsWithType(VTK_QUADRATIC_PYRAMID);
   aFilter->RegisterCellsWithType(VTK_CONVEX_POINT_SET);
+  aFilter->RegisterCellsWithType(VTK_POLYHEDRON);
 
   //Definition 1D device of the actor
   //---------------------------------