Re: How to call pfFrame without Windows...

New Message Reply Date view Thread view Subject view Author view

Masahiko Yamanaka (wryperf++at++such.dst.nk-exa.co.jp)
Tue, 06 Jan 1998 14:46:03 +0900


Oh, I found that it's good to do the followings...

        void
        openWin( pfPipeWindow* pw )
        {
                // Do not anything!
        }

        int
        initPerf()
        {
                ...
                pw->setConfigFunc( openWin );
                pw->config();
                ...
        }

Thanks,

--
M.Y.

> Hello all, > This might be a basic question... but, > > I'm developping a class which contains following methods... > - int addTerrain( int id, char* fileName ) > - int removeTerrain( int id ) > - int getZPR( float x, float y, float h, float* zpr ) > > The constructor of this class initializes Performer. > addTerrain() and removeTerrain() constructs proper SceneGraph. > I can get the terrain information with getZPR(). > However I don't need any graphics windows. > > In order to make removeTerrain() I have to use pfDelete(), but > it seems not to work without pfFrame(). > > I'd like to avoid creating any windows when calling pfFrame()... > > Does anyone have any idea? > > Thanks, > -- > M.Y. > ======================================================================= > List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ > Submissions: info-performer++at++sgi.com > Admin. requests: info-performer-request++at++sgi.com

======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:31 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.