mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
Replace VTK_CONVEX_POINT_SET with VTK_QUADRATIC_PYRAMID
This commit is contained in:
parent
82fc097deb
commit
27c31e5d2a
@ -196,6 +196,7 @@ SMESH_ActorDef::SMESH_ActorDef()
|
|||||||
aFilter->RegisterCellsWithType(VTK_QUADRATIC_TETRA);
|
aFilter->RegisterCellsWithType(VTK_QUADRATIC_TETRA);
|
||||||
aFilter->RegisterCellsWithType(VTK_QUADRATIC_HEXAHEDRON);
|
aFilter->RegisterCellsWithType(VTK_QUADRATIC_HEXAHEDRON);
|
||||||
aFilter->RegisterCellsWithType(VTK_QUADRATIC_WEDGE);
|
aFilter->RegisterCellsWithType(VTK_QUADRATIC_WEDGE);
|
||||||
|
aFilter->RegisterCellsWithType(VTK_QUADRATIC_PYRAMID);
|
||||||
aFilter->RegisterCellsWithType(VTK_CONVEX_POINT_SET);
|
aFilter->RegisterCellsWithType(VTK_CONVEX_POINT_SET);
|
||||||
|
|
||||||
//Definition 1D device of the actor
|
//Definition 1D device of the actor
|
||||||
@ -1346,6 +1347,7 @@ void SMESH_ActorDef::SetEntityMode(unsigned int theMode)
|
|||||||
aHightFilter->RegisterCellsWithType(VTK_QUADRATIC_TETRA);
|
aHightFilter->RegisterCellsWithType(VTK_QUADRATIC_TETRA);
|
||||||
aHightFilter->RegisterCellsWithType(VTK_QUADRATIC_HEXAHEDRON);
|
aHightFilter->RegisterCellsWithType(VTK_QUADRATIC_HEXAHEDRON);
|
||||||
aHightFilter->RegisterCellsWithType(VTK_QUADRATIC_WEDGE);
|
aHightFilter->RegisterCellsWithType(VTK_QUADRATIC_WEDGE);
|
||||||
|
aHightFilter->RegisterCellsWithType(VTK_QUADRATIC_PYRAMID);
|
||||||
aHightFilter->RegisterCellsWithType(VTK_CONVEX_POINT_SET);
|
aHightFilter->RegisterCellsWithType(VTK_CONVEX_POINT_SET);
|
||||||
}
|
}
|
||||||
aFilter->Update();
|
aFilter->Update();
|
||||||
|
@ -119,7 +119,7 @@ static inline vtkIdType getCellType( const SMDSAbs_ElementType theType,
|
|||||||
return VTK_QUADRATIC_WEDGE;
|
return VTK_QUADRATIC_WEDGE;
|
||||||
}
|
}
|
||||||
else if ( theNbNodes==13 ) {
|
else if ( theNbNodes==13 ) {
|
||||||
return VTK_CONVEX_POINT_SET;
|
return VTK_QUADRATIC_PYRAMID; //VTK_CONVEX_POINT_SET;
|
||||||
}
|
}
|
||||||
else return VTK_EMPTY_CELL;
|
else return VTK_EMPTY_CELL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user