Package com.banuba.sdk.scene
Interface Component
-
- All Known Implementing Classes:
Component.CppProxy
public interface Component
Base component class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Component.CppProxy
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BodyTracker
asBodyTracker()
cast component to body_tracker subclass instance.FaceMorphing
asFaceMorphing()
cast component to face_morphing subclass instance.FaceTracker
asFaceTracker()
cast component to face tracker subclass instance.HandTracker
asHandTracker()
cast component to hand_tracker subclass instance.MeshInstance
asMeshInstance()
cast component to mesh_instance subclass instance.Transformation3d
asTransformation()
cast component to transformation_3d subclass instance.ComponentType
getComponentType()
-
-
-
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.
-
-