]> OCCT Git - occt-copy.git/commit
0025845: VIS - Surface normals to be associated with polygonal source
authorkgv <kgv@opencascade.com>
Tue, 30 Mar 2021 18:26:45 +0000 (21:26 +0300)
committerkgv <kgv@opencascade.com>
Thu, 1 Apr 2021 07:43:06 +0000 (10:43 +0300)
commita8690dc621927c1439a03512fa60ddcb93bee829
tree802904feea1609822c55ef1b40e1fbe5a4f238fe
parent9e572b462bde45b74e85ff4d4e353a6e30faa62c
0025845: VIS - Surface normals to be associated with polygonal source

IVtk_IShapeData::InsertCoordinate() has been replaced by IVtk_IShapeData::InsertPoint()
defining vertex position with surface normal.
IVtkVTK_ShapeData now allocates normals array within vtkPolyData.
IVtkOCC_ShapeMesher now fills in vertex positions with surfcae normals.
IVtkTools_SubPolyDataFilter has been corrected to optionally copy normals.

ivtksetboundingdraw command has been merged into "ivtksetdispmode -faceBoundaryDraw".
12 files changed:
src/IVtk/IVtk_IShapeData.hxx
src/IVtkDraw/IVtkDraw.cxx
src/IVtkOCC/IVtkOCC_ShapeMesher.cxx
src/IVtkOCC/IVtkOCC_ShapeMesher.hxx
src/IVtkTools/IVtkTools_DisplayModeFilter.cxx
src/IVtkTools/IVtkTools_DisplayModeFilter.hxx
src/IVtkTools/IVtkTools_SubPolyDataFilter.cxx
src/IVtkTools/IVtkTools_SubPolyDataFilter.hxx
src/IVtkVTK/IVtkVTK_ShapeData.cxx
src/IVtkVTK/IVtkVTK_ShapeData.hxx
tests/vtk/ivtk/boundary_draw
tests/vtk/ivtk/seam_edges