Class/Object

scalismo.faces.mesh

BinaryMask

Related Docs: object BinaryMask | package mesh

Permalink

case class BinaryMask(entries: IndexedSeq[Boolean]) extends (PointId) ⇒ Boolean with Product with Serializable

Mask is a function from a position in a sequence to a boolean. A mask can be used to remove the same position in many sequences of values with the same length. This is usefull if the ordering has a semantical meaning, as for example in the case of the point or triangle lists in a TriangleMesh3D.

entries

Boolean values if the given position is active or not.

Linear Supertypes
Serializable, Serializable, Product, Equals, (PointId) ⇒ Boolean, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BinaryMask
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Function1
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BinaryMask(entries: IndexedSeq[Boolean])

    Permalink

    entries

    Boolean values if the given position is active or not.

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. def and(mask: BinaryMask): BinaryMask

    Permalink

    Combines two mask by the logical AND between all corresponding entries.

  5. def andThen[A](g: (Boolean) ⇒ A): (PointId) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  6. def apply(pid: PointId): Boolean

    Permalink

    Mapping assuming that the PointId values point directly to IndexedSet of the entries.

    Mapping assuming that the PointId values point directly to IndexedSet of the entries.

    Definition Classes
    BinaryMask → Function1
  7. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  9. def compose[A](g: (A) ⇒ PointId): (A) ⇒ Boolean

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  10. def cut(mask: BinaryMask): BinaryMask

    Permalink

    Selects entries of a provided mask according to the mask.

  11. def cut[T](iseq: IndexedSeq[T]): IndexedSeq[T]

    Permalink

    Selects entries of an IndexedSeq according to the mask.

  12. def cut[D <: Dim, DDomain <: DiscreteDomain[D], T](field: DiscreteField[D, DDomain, T])(implicit arg0: NDSpace[D], creator: Create[D]): DiscreteField[D, UnstructuredPointsDomain[D], T]

    Permalink

    Masks a DiscreteField according to the mask.

  13. def emplaceOnTruesOf(mask: BinaryMask): BinaryMask

    Permalink

    Emplaces the values of this mask on to the locations that are true on the provided mask.

  14. val entries: IndexedSeq[Boolean]

    Permalink

    Boolean values if the given position is active or not.

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

    Permalink
    Definition Classes
    AnyRef
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  17. def inv(): BinaryMask

    Permalink

    Inverts a mask.

  18. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  22. def or(mask: BinaryMask): BinaryMask

    Permalink

    Combines two mask by the logical OR between all corresponding entries.

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

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    Function1 → AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def write(file: File): Try[Unit]

    Permalink

    Write mask to file.

    Write mask to file. The file is human readable.

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 (PointId) ⇒ Boolean

Inherited from AnyRef

Inherited from Any

Ungrouped