本文整理汇总了Java中br.usp.libras.sign.face.Face类的典型用法代码示例。如果您正苦于以下问题:Java Face类的具体用法?Java Face怎么用?Java Face使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Face类属于br.usp.libras.sign.face包,在下文中一共展示了Face类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: convert
import br.usp.libras.sign.face.Face; //导入依赖的package包/类
public static Symbol convert(br.usp.wikilibras.ws.Symbol wlsymbol) {
if (wlsymbol == null)
return null;
Symbol symbol = new Symbol();
symbol.setId(wlsymbol.getId());
Contact cont = Contact.valueOf(wlsymbol.getContact().toString());
Location loc = Location.valueOf(wlsymbol.getLocation().toString());
symbol.setContact(cont);
symbol.setContactQuantity(wlsymbol.getContactQuantity());
symbol.setLocation(loc);
symbol.setSequence(wlsymbol.getSequence());
symbol.setHandsInUnity(wlsymbol.isHandsInUnity());
// mão dominante
Hand rh = convert(wlsymbol.getRightHand());
symbol.setRightHand(rh);
// mão não-dominante
Hand lh = convert(wlsymbol.getLeftHand());
symbol.setLeftHand(lh);
// expressão facial
Face face = convert(wlsymbol.getFace());
symbol.setFace(face);
return symbol;
}
示例2: FaceGraph
import br.usp.libras.sign.face.Face; //导入依赖的package包/类
public FaceGraph(PApplet processing, Face face) {
this.face = face;
this.processing = processing;
}
示例3: nextSign
import br.usp.libras.sign.face.Face; //导入依赖的package包/类
void nextSign(Face nextFace) {
this.face = nextFace;
}
示例4: Symbol
import br.usp.libras.sign.face.Face; //导入依赖的package包/类
public Symbol(Face face, Hand leftHand, Hand rightHand) {
this.face = face;
this.rightHand = rightHand;
this.leftHand = leftHand;
}
示例5: getFace
import br.usp.libras.sign.face.Face; //导入依赖的package包/类
public Face getFace() {
return face;
}
示例6: setFace
import br.usp.libras.sign.face.Face; //导入依赖的package包/类
public void setFace(Face face) {
this.face = face;
}