mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-13 17:18:35 +05:00
Remarks for issue 17291 EDF 591 SMESH : Visualization of the orientation of the normal vector of the mesh faces
This commit is contained in:
parent
1856f1d72e
commit
94d935e6a0
@ -75,6 +75,8 @@ SMESH_FaceOrientationFilter::SMESH_FaceOrientationFilter()
|
||||
myBaseGlyph = vtkGlyph3D::New();
|
||||
myBaseGlyph->SetInput(myFaceMaskPoints->GetOutput());
|
||||
myBaseGlyph->SetVectorModeToUseVector();
|
||||
myBaseGlyph->SetScaleModeToDataScalingOff();
|
||||
myBaseGlyph->SetColorModeToColorByScalar();
|
||||
myBaseGlyph->SetSource(my3dVectors ? myArrowPolyData : myGlyphSource->GetOutput());
|
||||
}
|
||||
|
||||
@ -282,6 +284,7 @@ int SMESH_FaceOrientationFilter::RequestData(
|
||||
myFacePolyData->SetPolys(aFaces);
|
||||
aFaces->Delete();
|
||||
|
||||
myFacePolyData->GetCellData()->SetScalars(0);
|
||||
myFacePolyData->GetCellData()->SetVectors(aVectors);
|
||||
aVectors->Delete();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user