Skip to content

[Feature] Add vtkMassProperties (volume/surface area calculation) #3324

@vishnusureshperumbavoor

Description

@vishnusureshperumbavoor

Motivation

Currently, vtk.js does not provide an equivalent to VTK’s vtkMassProperties class, which is essential for calculating mesh volume, surface area and shape index.

Detailed Description

I would like vtk.js to support mesh analysis features similar to VTK’s vtkMassProperties, including:

  • Volume calculation for closed triangle meshes
  • Surface area computation
  • Normalized shape index

This would enable browser-based applications to perform geometric analysis without server-side computation.

Potential alternatives (currently unavailable) include manually porting the C++ algorithm to JavaScript, but this is non-trivial and error-prone.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions