c

scalismo.mesh

TriangleMesh3DOperations

class TriangleMesh3DOperations extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TriangleMesh3DOperations
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TriangleMesh3DOperations(mesh: TriangleMesh[_3D])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clip(clipPointPredicate: (Point[_3D]) => Boolean): TriangleMesh[_3D]

    Returns a new TriangleMesh where all points satisfying the given predicate are removed.

    Returns a new TriangleMesh where all points satisfying the given predicate are removed. All cells containing deleted points are also deleted.

    To do

    use MeshCompactifier to express this functionality. But first verify and test that it remains the same.

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def closestPoint(point: Point[_3D]): ClosestPoint
  8. def closestPointOnSurface(point: Point[_3D]): ClosestPointWithType
  9. def compact: MeshCompactifier

    Reduces the triangle and points so that only used and valid locations and triangles remain.

  10. def decimate(targetedNumberOfVertices: Int): TriangleMesh[_3D]

    Attempts to reduce the number of vertices of a mesh to the given number of vertices.

    Attempts to reduce the number of vertices of a mesh to the given number of vertices.

    targetedNumberOfVertices

    The targeted number of vertices. Note that it is not guaranteed that this number is reached exactly

    returns

    The decimated mesh

  11. def edgeIsOnBoundary(pid1: PointId, pid2: PointId): Boolean
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def getIntersectionPoints(point: Point[_3D], direction: EuclideanVector[_3D]): Seq[Point[_3D]]
  17. def getIntersectionPointsOnSurface(point: Point[_3D], direction: EuclideanVector[_3D]): Seq[(TriangleId, BarycentricCoordinates)]
  18. def hasIntersection(point: Point[_3D], direction: EuclideanVector[_3D]): Boolean
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def mask(pointFilter: (PointId) => Boolean, triangleFilter: (TriangleId) => Boolean): MeshCompactifier

    Mask a mesh to a subset of points and triangles.

    Mask a mesh to a subset of points and triangles.

    pointFilter

    Predicate that maps PointId to boolean ('true' = keep location).

    triangleFilter

    Predicate that maps TriangleId to boolean ('true' = keep triangle).

  22. def maskPoints(pointFilter: (PointId) => Boolean): MeshCompactifier

    Mask reduces the pointSet and triangulation of a mesh to keep only those parts that evaluate to true for the passed in predicate.

    Mask reduces the pointSet and triangulation of a mesh to keep only those parts that evaluate to true for the passed in predicate.

    pointFilter

    Predicate that maps PointId to boolean ('true' = keep location).

  23. def maskSpatially(pointFilter: (Point[_3D]) => Boolean): MeshCompactifier

    Mask reduces the pointSet and triangulation of a mesh to keep only those parts that evaluate to true for the passed in predicate.

    Mask reduces the pointSet and triangulation of a mesh to keep only those parts that evaluate to true for the passed in predicate.

    pointFilter

    predicate that maps 3d locations to boolean ('true' = keep location).

  24. def maskTriangles(triangleFilter: (TriangleId) => Boolean): MeshCompactifier

    Mask a mesh to a subset of the triangles.

    Mask a mesh to a subset of the triangles.

    triangleFilter

    Predicate that maps TriangleId to boolean ('true' = keep triangle).

  25. def maskWithPlane(point: Point[_3D], normal: EuclideanVector[_3D]): MeshCompactifier

    mask points behind clipping plane

    mask points behind clipping plane

    point

    point in clipping plane

    normal

    normal vector of clipping plane

  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. def pointIsOnBoundary(pid: PointId): Boolean
  30. def shortestDistanceToSurfaceSquared(point: Point[_3D]): Double
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toBinaryImage: Field[_3D, Short]

    Returns a new continuous binary ScalarImage defined on 3-dimensional RealSpace , where the mesh surface is used to split the image domain.

    Returns a new continuous binary ScalarImage defined on 3-dimensional RealSpace , where the mesh surface is used to split the image domain. Points lying on the space side pointed towards by the surface normals will have value 0. Points lying on the other side have value 1. Hence if the mesh is a closed surface, points inside the surface have value 1 and points outside 0.

  33. def toDistanceImage: DifferentiableField[_3D, Float]

    Returns a new continuous DifferentiableScalarImage defined on 3-dimensional RealSpace which is the distance transform of the mesh

  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. def triangleIsOnBoundary(tid: TriangleId): Boolean
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped