Re: [info-performer] pfNodeTravMask

Date view Thread view Subject view Author view

From: Allan Schaffer (allan++at++sgi.com)
Date: 08/03/2004 15:54:36


Christian Beaudoin wrote:
> But I use the C++ API instead of the c API.
> c-1020 CC: ERROR File = ModMotionControl_IRDPQ.cpp, Line = 1086
> The identifier "pfNodeTravMask" is undefined.
>
> pfNodeTravMask( object.p_DCS, PFTRAV_ISECT, 1,
> PFTRAV_SELF, PF_SET);

That function (pfNodeTravMask) is only defined for the C API. You want:

     void pfNode::setTravMask(int which, uint mask, int setMode, int bitOp);

ie
     object.p_DCS->setTravMask(PFTRAV_ISECT, 1, PFTRAV_SELF, PF_SET);

Allan

-- 
Allan Schaffer                                            allan++at++sgi.com
Engr. Dept. Manager, Visual Systems Group                1-650-933-2160
Silicon Graphics                                     http://www.sgi.com


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Aug 03 2004 - 15:54:47 PDT