Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 968 Bytes

50_MeshVTKLoader.md

File metadata and controls

29 lines (18 loc) · 968 Bytes

MeshVTKLoader

This component belongs to the category of the MeshLoaders.

The MeshVTKLoader loads a mesh from a file under the format *.vtk. Such a mesh file can be either surface or volumetric meshes. The *.vtk meshes can be generated using the Paraview software.

Usage

No pre-requisite in your scene to use a MeshLoader.

Example

This component is used as follows in XML format:

<MeshVTKLoader name="VtkLoader" filename="mesh/liver.vtk" flipNormals="0"/>

or using SofaPython3:

node.addObject('MeshVTKLoader', name="VtkLoader", filename="mesh/liver.vtk", flipNormals="0")

An example scene involving a MeshVTKLoader is available in examples/Component/IO/Mesh/MeshVTKLoader.scn