Package cz.fidentis.analyst.data.face
Record Class HumanFaceState
java.lang.Object
java.lang.Record
cz.fidentis.analyst.data.face.HumanFaceState
- Record Components:
meshModel
- Mesh modelsymmetryPlane
- Symmetry planekdTree
- K-d treeoctree
- OctreefeaturePoints
- Feature pointsboundingBox
- Bounding boxglyphs
- Glyphs
public record HumanFaceState(MeshModel meshModel, Plane symmetryPlane, KdTree kdTree, Octree octree, List<Landmark> featurePoints, Box boundingBox, List<Glyph> glyphs)
extends Record
A copy of the internal state of the
HumanFace
instance.
Can be used to fall back changes made with the face.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theboundingBox
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of thefeaturePoints
record component.glyphs()
Returns the value of theglyphs
record component.final int
hashCode()
Returns a hash code value for this object.kdTree()
Returns the value of thekdTree
record component.Returns the value of themeshModel
record component.octree()
Returns the value of theoctree
record component.Returns the value of thesymmetryPlane
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
HumanFaceState
Constructor.- Parameters:
face
- Original face.
-
HumanFaceState
public HumanFaceState(MeshModel meshModel, Plane symmetryPlane, KdTree kdTree, Octree octree, List<Landmark> featurePoints, Box boundingBox, List<Glyph> glyphs) Creates an instance of aHumanFaceState
record class.- Parameters:
meshModel
- the value for themeshModel
record componentsymmetryPlane
- the value for thesymmetryPlane
record componentkdTree
- the value for thekdTree
record componentoctree
- the value for theoctree
record componentfeaturePoints
- the value for thefeaturePoints
record componentboundingBox
- the value for theboundingBox
record componentglyphs
- the value for theglyphs
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
meshModel
Returns the value of themeshModel
record component.- Returns:
- the value of the
meshModel
record component
-
symmetryPlane
Returns the value of thesymmetryPlane
record component.- Returns:
- the value of the
symmetryPlane
record component
-
kdTree
Returns the value of thekdTree
record component.- Returns:
- the value of the
kdTree
record component
-
octree
Returns the value of theoctree
record component.- Returns:
- the value of the
octree
record component
-
featurePoints
Returns the value of thefeaturePoints
record component.- Returns:
- the value of the
featurePoints
record component
-
boundingBox
Returns the value of theboundingBox
record component.- Returns:
- the value of the
boundingBox
record component
-
glyphs
Returns the value of theglyphs
record component.- Returns:
- the value of the
glyphs
record component
-