Class

scalismo.faces.momo

MoMoBasic

Related Doc: package momo

Permalink

case class MoMoBasic(referenceMesh: TriangleMesh3D, shape: PancakeDLRGP[_3D, UnstructuredPointsDomain[_3D], Point[_3D]], color: PancakeDLRGP[_3D, UnstructuredPointsDomain[_3D], RGB], landmarks: Map[String, Landmark[_3D]] = Map.empty[String, Landmark[_3D]]) extends MoMo with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, MoMo, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MoMoBasic
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. MoMo
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MoMoBasic(referenceMesh: TriangleMesh3D, shape: PancakeDLRGP[_3D, UnstructuredPointsDomain[_3D], Point[_3D]], color: PancakeDLRGP[_3D, UnstructuredPointsDomain[_3D], RGB], landmarks: Map[String, Landmark[_3D]] = Map.empty[String, Landmark[_3D]])

    Permalink

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. def coefficients(sample: VertexColorMesh3D): MoMoCoefficients

    Permalink

    Calculates the parameters of the model representation of the sample.

    Calculates the parameters of the model representation of the sample.

    sample

    the sample (shape and color)

    returns

    the model coefficients

    Definition Classes
    MoMoBasicMoMo
  7. val color: PancakeDLRGP[_3D, UnstructuredPointsDomain[_3D], RGB]

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def expressionModel: Option[MoMoExpress]

    Permalink
    Definition Classes
    MoMoBasicMoMo
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  11. def hasExpressions: Boolean

    Permalink

    returns true if this model has a non-empty expression part

    returns true if this model has a non-empty expression part

    Definition Classes
    MoMoBasicMoMo
  12. def hasLandmarks: Boolean

    Permalink

    Test if the model has some landmarks.

    Test if the model has some landmarks.

    returns

    true if the model has at least one landmark, false otherwise

    Definition Classes
    MoMo
  13. def instance(coefficients: MoMoCoefficients): VertexColorMesh3D

    Permalink

    Generate model instance described by coefficients.

    Generate model instance described by coefficients.

    coefficients

    model coefficients

    returns

    model instance as mesh with per vertex color

    Definition Classes
    MoMoBasicMoMo
  14. def instanceAtPoint(coefficients: MoMoCoefficients, pid: PointId): (Point[_3D], RGB)

    Permalink

    A fast method to evaluate a model instance at a specific point.

    A fast method to evaluate a model instance at a specific point.

    coefficients

    model coefficients

    pid

    point-id

    returns

    shape and color values at point-id

    Definition Classes
    MoMoBasicMoMo
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def landmarkPointId(id: String): Option[PointId]

    Permalink

    Returns the PointId for a given landmark name.

    Returns the PointId for a given landmark name.

    id

    name ot the landmark

    returns

    return the PointId of the landmark

    Definition Classes
    MoMo
  17. val landmarks: Map[String, Landmark[_3D]]

    Permalink

    all landmarks defined on this model, points on reference mesh

    all landmarks defined on this model, points on reference mesh

    Definition Classes
    MoMoBasicMoMo
  18. def landmarksWithClosestPointIds: Map[String, PointId]

    Permalink

    get all landmarks expressed thruogh PointIds, use closest point for each landmarks (careful!)

    get all landmarks expressed thruogh PointIds, use closest point for each landmarks (careful!)

    Definition Classes
    MoMo
  19. def landmarksWithPointIds: Map[String, Option[PointId]]

    Permalink

    get all landmarks expressed thruogh PointIds

    get all landmarks expressed thruogh PointIds

    Definition Classes
    MoMo
  20. def mean: VertexColorMesh3D

    Permalink

    Returns the mean VertexColorMesh3D of the model.

    Returns the mean VertexColorMesh3D of the model.

    returns

    the mean

    Definition Classes
    MoMoBasicMoMo
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. def neutralModel: MoMoBasic

    Permalink

    construct the neutral (identity) model without expressions

    construct the neutral (identity) model without expressions

    Definition Classes
    MoMoBasicMoMo
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  25. def padCoefficients(momoCoeff: MoMoCoefficients): MoMoCoefficients

    Permalink

    pad a coefficient vector if it is too short, basis with single vector

    pad a coefficient vector if it is too short, basis with single vector

    Definition Classes
    MoMoBasicMoMo
  26. def project(sample: VertexColorMesh3D): VertexColorMesh3D

    Permalink

    Projection operator in model space.

    Projection operator in model space.

    sample

    the sample (shape and color)

    returns

    the model reconstruction of the sample

    Definition Classes
    MoMo
  27. val referenceMesh: TriangleMesh3D

    Permalink

    reference of Morphable Model, defines registration and triangulation

    reference of Morphable Model, defines registration and triangulation

    Definition Classes
    MoMoBasicMoMo
  28. def sample()(implicit rnd: Random): VertexColorMesh3D

    Permalink

    Draw a sample from the model.

    Draw a sample from the model.

    returns

    a sample (shape and color)

    Definition Classes
    MoMoBasicMoMo
  29. def sampleCoefficients()(implicit rnd: Random): MoMoCoefficients

    Permalink

    Draw a set of coefficients from the prior of the statistical model.

    Draw a set of coefficients from the prior of the statistical model.

    returns

    a set of coefficients to generate a random sample.

    Definition Classes
    MoMoBasicMoMo
  30. val shape: PancakeDLRGP[_3D, UnstructuredPointsDomain[_3D], Point[_3D]]

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

    Permalink
    Definition Classes
    AnyRef
  32. def truncate(shapeComps: Int, colorComps: Int): MoMoBasic

    Permalink

    Reduces the rank of the model.

    Reduces the rank of the model. Drops components only (pure truncation)

    shapeComps

    Number of shape components to keep.

    colorComps

    Number of color components to keep.

    returns

    Reduced model.

  33. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def withLandmarks(landmarksMap: Map[String, Landmark[_3D]]): MoMo

    Permalink

    Returns the same model but with exchanged or added landmarks.

    Returns the same model but with exchanged or added landmarks.

    landmarksMap

    Map of named landmarks.

    returns

    Same model but with exchanged landmarks.

    Definition Classes
    MoMoBasicMoMo
  37. def zeroCoefficients: MoMoCoefficients

    Permalink

    get a coefficients vector describing the mean, has proper dimensions

    get a coefficients vector describing the mean, has proper dimensions

    Definition Classes
    MoMoBasicMoMo

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from MoMo

Inherited from AnyRef

Inherited from Any

Ungrouped