Vtk no copy
0fa25818
ENH: Align Eigen matrix allocator for stl vectors -Define StdVectorOfxxx
for all eigen matrix structures defined in imstkMath.h
which are used in iMSTK within a std::vector
.
See http://eigen.tuxfamily.org/dox-devel/group__TopicStlContainers.html
Requires to update SCCD to commit 645508940 which also updates its vec3 structure.
400c0987
ENH: Use no copy data array to map vertices to VTK -Update VTK mesh render delegates (SurfaceMesh, LineMesh, TetrahedralMesh) to directly map the vertices from the eigen and stl structures in iMSTK, and get rid of VTKMappedVertexArray
. This should considerably reduce overhead calls and improve performances thanks to the no-copy operation. See http://www.vtk.org/Wiki/VTK/Tutorials/DataArrays
Add back normals generation in the SurfaceMesh
render delegate, and update testPbdCloth to add another row of points to the cloth (made it easier to debug the initial vertex positions), as well as adding lights to better visualize correct normals.