Metafor

ULiege - Aerospace & Mechanical Engineering

User Tools

Site Tools


doc:user:geometry:mesh:geniso

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:user:geometry:mesh:geniso [2014/08/08 23:09] jorisdoc:user:geometry:mesh:geniso [2016/03/30 15:23] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Biomec GenIso mesher ======+====== Biomech GenIso Mesher ======
  
 This mesher is used to generate a 3D surface mesh from a 3D segmented image. This mesher is used to generate a 3D surface mesh from a 3D segmented image.
Line 32: Line 32:
    poly = generalTools.genisoMeshToPolyData(smooth.getSurf())      poly = generalTools.genisoMeshToPolyData(smooth.getSurf())  
  
-TetGen is used to get a tetrahedral volumic mesh of the object from the triangular surface mesh of the boundary of the object: +TetGen is used to get a tetrahedral volume mesh of the object from the triangular surface mesh of the boundary of the object: 
  
    ugrid = meshingTools.callTetgen(poly)    ugrid = meshingTools.callTetgen(poly)
Line 76: Line 76:
     poly = generalTools.genisoMeshToPolyData(gen.getSurf()) // vtkPolyData     poly = generalTools.genisoMeshToPolyData(gen.getSurf()) // vtkPolyData
  
-From this surface multi-regions mesh, TetGen is used to generate the volumic mesh in each of these regions. To do so, TetGen must be given a point, //seed// situated in each of the regions to be meshed (this point can be found, for example, by loading the ''vtkPolydata'' in the graphical interface ''geniso/tools/gui4.py'' using the option //point//).+From this surface multi-regions mesh, TetGen is used to generate the volume mesh in each of these regions. To do so, TetGen must be given a point, //seed// situated in each of the regions to be meshed (this point can be found, for example, by loading the ''vtkPolydata'' in the graphical interface ''geniso/tools/gui4.py'' using the option //point//).
  
     seedbrain= [118.3,160.5,75]     seedbrain= [118.3,160.5,75]
Line 101: Line 101:
 | ''spx,spy,spz'' | Spacing of the grid used to generate the mesh \\ __recommended__ = gen.getRegularGrid().getDx(),.getDy(),.getDz() | | ''spx,spy,spz'' | Spacing of the grid used to generate the mesh \\ __recommended__ = gen.getRegularGrid().getDx(),.getDy(),.getDz() |
 | ''res'' | Resolution of the grid used to generate the mesh \\ __recommended__: image.GetDimensions()[0] if the grid defined by the initial image is to be kept | | ''res'' | Resolution of the grid used to generate the mesh \\ __recommended__: image.GetDimensions()[0] if the grid defined by the initial image is to be kept |
-| ''eps'' | relative distance allowed between the initial image and the function Fct // __recommended__: 1./image.GetDimensions()[0], which corresponds to a distance of a voxel width |+| ''eps'' | relative distance allowed between the initial image and the function Fct \\ __recommended__: 1./image.GetDimensions()[0], which corresponds to a distance of a voxel width |
 | ''nmin'' | smoothing degree \\ __recommended__: between 15 and 100 | | ''nmin'' | smoothing degree \\ __recommended__: between 15 and 100 |
 | ''interpol'' | 0: approximation function, 1: interpolation function \\ __recommended__: 0 for a smoother surface, 1 for a geometry closer to the initial image | | ''interpol'' | 0: approximation function, 1: interpolation function \\ __recommended__: 0 for a smoother surface, 1 for a geometry closer to the initial image |
 | ''type'' | 1: linear, 2: quadratic\\ __recommended__: 1 for robustness, 2 for a smoother surface | | ''type'' | 1: linear, 2: quadratic\\ __recommended__: 1 for robustness, 2 for a smoother surface |
doc/user/geometry/mesh/geniso.1407532194.txt.gz · Last modified: 2016/03/30 15:22 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki