pinkpitch
路人甲
路人甲
  • 注册日期2003-08-18
  • 发帖数144
  • QQ
  • 铜币474枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:1648回复:0

VEGA实用编程手册5

楼主#
更多 发布于:2006-04-04 14:18
<H2 ><FONT face=Tahoma size=6>Vega Object(vgObject)</FONT></H2>
<P ><FONT size=2><FONT face="Times New Roman">A vgObject is a collection of geometry and attributes maintained in a single hierarchy.<p></p></FONT></FONT></P>
<H3 ><FONT face=Tahoma size=3>Vega Object Functions</FONT></H3>
<P ><FONT size=2><FONT face="Times New Roman">vgObject* vgNewObj ( void );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">vgObject* vgNewObjCopy ( const vgObject *obj );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">vgObject* vgFindObj ( const char *name );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">vgObject* vgGetObj ( int _index );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">int  vgGetNumObj ( void );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">void  vgObjDS ( vgObject *obj, vgDataSet *ds );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">vgDataSet* vgGetObjDS ( vgObject *obj );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">void  vgMakeObj ( vgObject *obj, int options );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">void  vgUnmakeObj ( vgObject *obj );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">void  vgObjVol ( vgObject *obj, vgVolume *vol );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">vgVolume* vgGetObjVol ( vgObject *obj );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">void  vgObjCTab ( vgObject *obj, vgColorTable *ctab );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">vgColorTable* vgGetObjCTab ( vgObject *obj );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">void  vgObjClass ( vgObject *obj, unsigned int iclass );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">unsigned int  vgGetObjClass ( vgObject *obj );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">void  vgObjRepresent ( vgObject *obj, unsigned mask );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">unsigned  vgGetObjRepresent ( vgObject *obj );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">int  vgAddObjSTab ( vgObject *obj, vgStateTable *stab );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">int  vgGetObjNumSTab ( vgObject *obj );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">vgStateTable* vgGetObjSTab ( vgObject *obj, int which );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">int  vgRemObjSTab ( vgObject *obj, vgStateTable *stab );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">int  vgGetObjSTabIndex ( vgObject *obj, vgStateTable *stab );  <p></p></FONT></FONT></P>
<H3 ><FONT face=Tahoma size=3>Vega Object properties</FONT></H3>
<P ><FONT size=2><FONT face="Times New Roman">VGOBJ_CS<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGOBJ_OPTIM<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGOBJ_AUTORANGE<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGOBJ_PARTS<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGOBJ_UPVOL<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGOBJ_DIVISIONS<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGOBJ_IMMEDIATE<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGOBJ_USEPROJECTION<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGOBJ_TEMP<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGOBJ_CONVT<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGOBJ_SCALE<p></p></FONT></FONT></P>
<H2 ><FONT face=Tahoma size=6>Vega Player(vgPlayer)</FONT></H2>
<H3 ><FONT face=Tahoma size=3>Vega Player Functions</FONT></H3>
<P ><FONT size=2><FONT face="Times New Roman">vgPlayer* vgNewPlyr ( void );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">vgPlayer* vgNewPlyrCopy ( const vgPlayer *src );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">vgPlayer* vgFindPlyr ( const char *name );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">vgPlayer* vgGetPlyr ( int _index );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">int  vgGetNumPlyr ( void );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">void  vgPlyrVol ( vgPlayer *plyr, vgVolume *vol );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">vgVolume* vgGetPlyrVol ( vgPlayer *plyr );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">void  vgAddPlyrIsect ( vgPlayer *plyr , vgIsector *isect );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">void  vgRemPlyrIsect ( vgPlayer *plyr , vgIsector *isect );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">int  vgGetPlyrNumIsect ( vgPlayer *plyr );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">vgIsector* vgGetPlyrIsect ( vgPlayer *plyr, int idx );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">void  vgAddPlyrObj ( vgPlayer *plyr , vgObject *obj );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">void  vgRemPlyrObj ( vgPlayer *plyr , vgObject *obj );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">int  vgGetPlyrNumObj ( vgPlayer *plyr );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">vgObject* vgGetPlyrObj ( vgPlayer *plyr, int idx );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">void  vgPlyrMot ( vgPlayer *plyr, vgMotion *motion );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">vgMotion* vgGetPlyrMot ( vgPlayer *plyr );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">void  vgPlyrNav ( vgPlayer *plyr, vgNavigator *nav );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">vgNavigator* vgGetPlyrNav ( vgPlayer *plyr );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">void  vgPlyrObservRef ( vgPlayer *plyr, vgObserver *obs );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">vgObserver* vgGetPlyrObservRef ( vgPlayer *plyr );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">vgPlayer* vgGetPlyrPlyrRef ( vgPlayer *plyr );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">void  vgPlyrPlyrRef ( vgPlayer *plyr, vgPlayer *plyrd );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">void  vgPlyrCSRef ( vgPlayer *plyr, vgPosition *pos );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">void  vgGetPlyrCSRef ( vgPlayer *plyr, vgPosition *pos );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">void  vgPlyrRepresent ( vgPlayer *plyr, unsigned mask );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">unsigned  vgGetPlyrRepresent ( vgPlayer *plyr );  <p></p></FONT></FONT></P>
<H3 ><FONT face=Tahoma size=3>Vega Player properties</FONT></H3>
<P ><FONT size=2><FONT face="Times New Roman">VGCOMMON_ENABLED<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGPLYR_TYPE<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGPLYR_CLASSNUM<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGPLYR_TEAM<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGPLYR_CSREF<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGPLYR_MOTION<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGPLYR_SPLINE_NAVIGATOR<p></p></FONT></FONT></P>
<H2 ><FONT face=Tahoma size=6>Vega Motion Models(vgMotion)</FONT></H2>
<H3 ><FONT face=Tahoma size=3>Vega Motion Models Functions</FONT></H3>
<P ><FONT size=2><FONT face="Times New Roman">vgMotion* vgNewMot ( void );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">vgMotion* vgNewMotCopy ( const vgMotion *src );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">vgMotion* vgFindMot ( const char *name ); <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman"> vgMotion* vgGetMot ( int idx ); <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman"> int  vgGetNumMot ( void ); <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman"> int  vgMotInitPos ( vgMotion *mot, vgPosition *pos ); <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman"> void  vgMotResetPos ( vgMotion *mot ); <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman"> int  vgGetMotENUHPR ( vgMotion *mot, float *h, float *p, float *r ); <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman"> void  vgAddMotIsect ( vgMotion *mot, vgIsector *isect ); <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman"> int  vgRemMotIsect ( vgMotion *mot, vgIsector *isect );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">int  vgGetMotNumIsect ( vgMotion *mot );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">vgIsector* vgGetMotIsect ( vgMotion *mot, int idx );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">void  vgMotIDev ( vgMotion *mot, vgIDev *input );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">vgIDev* vgGetMotIDev ( vgMotion *mot );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">int  vgMotRegister ( int index, int (*mot_callback)( vgMotionCallbackStruct *mot_cb ) );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">void  vgMotTrigger ( vgMotion *mot );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">void  vgMotTgtMask ( vgMotion *mot, unsigned mask );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">unsigned  vgGetMotTgtMask ( vgMotion *mot );  <p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">vgPlayer* vgGetMotTgtPlyr ( vgMotion *mot ); <p></p></FONT></FONT></P>
<H3 ><FONT size=3><FONT face=Tahoma> Vega Motion Models Properties</FONT></FONT></H3>
<P ><FONT size=2><FONT face="Times New Roman">VGCOMMON_ENABLED<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGMOT_DRIVE_BRAKE<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGMOT_DRIVE_GAS<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGMOT_DRIVE_WHEEL<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGMOT_FLY_VELOCITY<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGMOT_MODEL<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGMOT_SPIN_RADIUS<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGMOT_UFO_VELOCITY<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGMOT_WARP_XMAX<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGMOT_WARP_XMIN<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGMOT_WARP_YMAX<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGMOT_WARP_YMIN<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGMOT_XSCALE<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGMOT_YSCALE<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGMOT_PLANE_BRAKES<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGMOT_PLANE_FLAPS<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGMOT_PLANE_ALPHALIMIT<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGMOT_PLANE_STICKX<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGMOT_PLANE_STICKY<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGMOT_PLANE_RUDDER<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGMOT_PLANE_THROTTLE<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGMOT_TRACKBALL_RADIUS<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">ATTRIBUTES<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGMOT_PLANEATTR_FDATA<p></p></FONT></FONT></P>
<P ><FONT size=2><FONT face="Times New Roman">VGMOT_MISSATTR_DATA<p></p></FONT></FONT></P>
<P ><p><FONT face="Times New Roman" size=2> </FONT></p></P>
<P ><p><FONT face="Times New Roman" size=2> </FONT></p></P>
喜欢0 评分0
游客

返回顶部