Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
iMSTK
iMSTK
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 39
    • Issues 39
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 13
    • Merge Requests 13
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • iMSTK
  • iMSTKiMSTK
  • Merge Requests
  • !107

Merged
Opened Nov 15, 2016 by Alexis Girault@alexis-giraultOwner

Vtk no copy

  • Overview 11
  • Commits 2
  • Changes 24

ENH: Align Eigen matrix allocator for stl vectors - 0fa25818

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.

ENH: Use no copy data array to map vertices to VTK - 400c0987

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.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: iMSTK/iMSTK!107
Source branch: vtk-no-copy