home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Educational / MolViewer / Source / MolShape.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-12  |  680 b   |  19 lines

  1. /* MolShape.h - Copyright 1993 Steve Ludtke */
  2. #import <3Dkit/3Dkit.h>
  3.  
  4. @interface MolShape : N3DShape
  5. {
  6. int mode,flags;                    /* display mode and flags */
  7. float mmx[2],mmy[2],mmz[2];        /* min/max x,y,z */
  8. float theta,chi,phi;            /* molecule orientation */
  9. Molecule *mol;                    /* pointer to molecule (passed from MolObj) */
  10. int nmol;                        /* # molecules, currently always 1 or 0 */
  11. struct ELINFO *elinfo;            /* element info struct for colors/sizes */
  12. }
  13. - renderSelf:(RtToken)context;
  14. - setData:(Molecule *)Mol :(int)Nmol :(struct ELINFO *)Elinfo :(int)Mode :(int)Flags;
  15. - setSurfaceType:(N3DSurfaceType)st andDescendants:(BOOL)flag;
  16. - setAng:(float)Theta :(float)Chi :(float)Phi;
  17.  
  18. @end
  19.