Interface Component

  • All Known Implementing Classes:
    Component.CppProxy

    public interface Component
    Base component class.
    • Method Detail

      • getComponentType

        @NonNull
        ComponentType getComponentType()
        Returns:
        component type. Can be face_tracker, transformation, mesh_instance or face_morphing.
      • asFaceTracker

        @Nullable
        FaceTracker asFaceTracker()
        cast component to face tracker subclass instance. Will throw if derived class is not instance of face_tracker.
      • asMeshInstance

        @Nullable
        MeshInstance asMeshInstance()
        cast component to mesh_instance subclass instance. Will throw if derived class is not instance of mesh_instance.
      • asFaceMorphing

        @Nullable
        FaceMorphing asFaceMorphing()
        cast component to face_morphing subclass instance. Will throw if derived class is not instance of face_morphing.
      • asTransformation

        @Nullable
        Transformation3d asTransformation()
        cast component to transformation_3d subclass instance. Will throw if derived class is not instance of transformation_3d.
      • asHandTracker

        @Nullable
        HandTracker asHandTracker()
        cast component to hand_tracker subclass instance. Will throw if derived class is not instance of hand_tracker.
      • asBodyTracker

        @Nullable
        BodyTracker asBodyTracker()
        cast component to body_tracker subclass instance. Will throw if derived class is not instance of body_tracker.