Class/Object

scalismo.mesh

TriangleMesh

Related Docs: object TriangleMesh | package mesh

Permalink

case class TriangleMesh extends UnstructuredPointsDomain3D with Product with Serializable

3-dimensional triangle mesh.

Triangle meshes are currently the only supported representation of 3-dimensional meshes in the library.

Linear Supertypes
Serializable, Serializable, Product, UnstructuredPointsDomain3D, UnstructuredPointsDomain[_3D], DiscreteDomain[_3D], Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TriangleMesh
  2. Serializable
  3. Serializable
  4. Product
  5. UnstructuredPointsDomain3D
  6. UnstructuredPointsDomain
  7. DiscreteDomain
  8. Equals
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. lazy val area: Double

    Permalink

    Area of the mesh surface.

    Area of the mesh surface.

    The computed area is the sum of all the triangle cell areas.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def boundingBox: BoxDomain[_3D]

    Permalink

    Returns the smallest continuous box domain that fully contains all the domain points.

    Returns the smallest continuous box domain that fully contains all the domain points.

    The bounding box is always oriented along the dimensions of the space (i.e. this method does not return rotated boxes)

    Definition Classes
    UnstructuredPointsDomain3DDiscreteDomain
  7. def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    DiscreteDomain → Equals
  8. val cells: IndexedSeq[TriangleCell]

    Permalink
  9. def cellsWithPointId(id: PointId): Seq[TriangleCell]

    Permalink

    Returns the identifiers of the mesh cells to which the given point identifier belongs

  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def computeCellNormal(cell: TriangleCell): Vector[_3D]

    Permalink

    Returns a 3D vector that is orthogonal to the triangle defined by the cell points

  12. def computeTriangleArea(t: TriangleCell): Double

    Permalink

    Returns the area of the indicated triangle cell.

  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    DiscreteDomain → Equals → AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def findClosestPoint(pt: Point[_3D]): PointWithId[_3D]

    Permalink

    * Returns the point belonging to the domain that is closest to the indicated position.

    * Returns the point belonging to the domain that is closest to the indicated position. The point identifier within th e domain is also returned.

    Definition Classes
    UnstructuredPointsDomainDiscreteDomain
  17. def findNClosestPoints(pt: Point[_3D], n: Int): Seq[PointWithId[_3D]]

    Permalink
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. lazy val hashCode: Int

    Permalink
    Definition Classes
    TriangleMeshDiscreteDomain → AnyRef → Any
  20. def isDefinedAt(pt: Point[_3D]): Boolean

    Permalink
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def normalAtPoint(pt: Point[_3D]): Vector[_3D]

    Permalink

    Returns surface normal at the closest mesh point to the indicated argument point.

    Returns surface normal at the closest mesh point to the indicated argument point.

    pt

    Point at which to evaluate the surface normal. Note that it does not need to be one of the mesh points. The returned vector is the normal at the closest mesh point to this point.

  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def numberOfPoints: Int

    Permalink
  27. def point(id: PointId): Point[_3D]

    Permalink
  28. def pointId(pt: Point[_3D]): Option[PointId]

    Permalink
  29. def pointIds: Iterator[PointId]

    Permalink
    Definition Classes
    DiscreteDomain
  30. def points: Iterator[Point[_3D]]

    Permalink
  31. def pointsWithId: Iterator[(Point[_3D], PointId)]

    Permalink
    Definition Classes
    DiscreteDomain
  32. def samplePointInTriangleCell(t: TriangleCell, seed: Int): Point[_3D]

    Permalink

    Returns a random point lying within the triangle defined by the indicated cell.

    Returns a random point lying within the triangle defined by the indicated cell.

    A uniform distribution is used for sampling points.

    t

    Triangle cell in which to draw a random point

    seed

    Seed value for the random generator

  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def transform(transform: (Point[_3D]) ⇒ Point[_3D]): TriangleMesh

    Permalink

    Returns a triangle mesh that is the image of this mesh by the given transform.

    Returns a triangle mesh that is the image of this mesh by the given transform.

    This method maps all mesh points to their images by the given transform while maintaining the same triangle cell relations.

    transform

    A function that maps a given point to a new position. All instances of scalismo.registration.Transformation being descendants of Function1[Point[_3D], Point[_3D] ] are valid arguments.

    Definition Classes
    TriangleMeshUnstructuredPointsDomain3DDiscreteDomain
  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from UnstructuredPointsDomain[_3D]

Inherited from DiscreteDomain[_3D]

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped