home *** CD-ROM | disk | FTP | other *** search
/ Stone Design / Stone Design.iso / Stone_Friends / Wave / WavesWorld / Source / IBPalettes / WW3DKit / EveCommand.h < prev    next >
Encoding:
Text File  |  1995-03-23  |  1.3 KB  |  47 lines

  1. // copyright 1993 Michael B. Johnson; some portions copyright 1994, MIT
  2. // see COPYRIGHT for reuse legalities
  3. //
  4.  
  5. #import <appkit/appkit.h>
  6. #import "RIBCommand.h"
  7. #import "Protocol_WWAnimatable.h"
  8.  
  9. @interface EveCommand:Object < WWAnimatable >
  10. {
  11.     id myShape; // this is a pointer to the shape which has this
  12.                 // RIBCommand embedded in it.  In order to calculate it's 
  13.                 // bounding box, it needs access to the 4x4s of this shape.
  14.     id      interp;
  15.     id      eveParser;
  16.     int   tclVarCnt;
  17.     id    cmd;
  18.     BOOL  hasBoundingBox;
  19.     BOOL  isMotionBlurrable;
  20.     BOOL  isTCLCommand;
  21.     BOOL  isCompoundCommand;
  22.     BOOL  pushesCTM;
  23.     BOOL  popsCTM;
  24.  
  25.     // rendering cache stuff
  26.     BOOL      cacheIsFilled;
  27.     id        firstSampleData, lastSampleData; // this should be a list, but for now...
  28.  
  29.     RtFloat  lastShutterOpenTime, lastShutterCloseTime;
  30.     id       sceneClock;
  31.     id       samplesList;
  32.  
  33.     // boundingBox cache stuff
  34.     RtBound    boundingBox;
  35.     BOOL       dirtyBoundingBox;
  36.     RtFloat    bbIntervalStart, bbIntervalEnd;
  37.  
  38.     char       *sampleName;
  39. }
  40.  
  41. - initWithInterp:newEveInterp eveParser:newEveParser shape:newShape cmd:(char *)newCmd clock:newSceneClock frozen:(BOOL)frozenOrMalleable;
  42. - evalAndAddAsSamples:(char *)sampleList;
  43. - (const char *)sampleName;
  44. - command;
  45.  
  46. @end
  47.