Face Robot Developer Reference

Face Robot accepts all XSI scripts and scripted operators. In addition, Face Robot also provides a custom programming interface for accessing and controlling Face Robot. This is the Face Robot Programming Interface (FRPI), and it will grow in scope in future versions so that more and more of the system functionality will be available for programmatic control.

The central concept of FRPI is that of the Robot State (RS). Think of RS as a database of relevant objects that can be accessed conveniently and reliably without searching the scene graph. The examples below should help illustrate how the RS is used.

Here are the FaceRobot commands (presented in JScript syntax):

Table of contents

FaceRobot

fr_sdump

Logs the contents of RS.

fr_sget

Retrieves values from RS as Collections, Groups, X3DObjects, etc.

fr_sget("FaceModel")

fr_sget("meshes") returns an associative array of all Face Robot meshes

fr_sget("meshes","Mesh") returns the main head mesh

valid meshes [Mesh,LEye,REye,UpperTeeth,LowerTeeth]

fr_sget("controls")

fr_sget("groups")

fr_sget("hpoints","HeadNull")

fr_sfeatures

fr_sindices

fr_sset

fr_sstring

This page was last modified 19:47, 4 Mar 2006.
This page has been accessed 388 times.

© Copyright 2008 Autodesk Inc. All Rights Reserved. Privacy Policy | Legal Notices and Trademarks | Report Piracy