home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / IRIT / IRITS.ZIP / OBJECTS.H < prev    next >
Encoding:
C/C++ Source or Header  |  1990-05-05  |  1.7 KB  |  39 lines

  1. /*****************************************************************************
  2. *   "Irit" - the 3d polygonal solid modeller.                     *
  3. *                                         *
  4. * Written by:  Gershon Elber                Ver 0.2, Mar. 1990   *
  5. ******************************************************************************
  6. *   General, visible to others, definitions of Objects module.             *
  7. *****************************************************************************/
  8.  
  9. /*****************************************************************************
  10. *   Prototype for visible function in the Objects module.             *
  11. *****************************************************************************/
  12.  
  13. #ifndef    OBJECTS_H
  14. #define    OBJECTS_H
  15.  
  16. void SetUpPredefObjects(void);
  17. struct ObjectStruct *GetObject(char *ObjName);
  18. void FreeObject(ObjectStruct *PObj);
  19. void DeleteObject(ObjectStruct *PObj, int Free);
  20. void InsertObject(ObjectStruct *PObj);
  21. void PrintObject(ObjectStruct *PObj);
  22. void PrintObjectList(ObjectStruct *PObj);
  23. void SetGeomObjectColor(ObjectStruct *PObj, RealType *Color);
  24. struct ObjectStruct *GenGeomObject(char *Name, PolygonStruct *Pl,
  25.                             ObjectStruct *Pnext);
  26. struct ObjectStruct *GenNumObject(char *Name, RealType *R,
  27.                             ObjectStruct *Pnext);
  28. struct ObjectStruct *GenVecObject(char *Name, RealType *Vec0, RealType *Vec1,
  29.                     RealType *Vec2, ObjectStruct *Pnext);
  30. struct ObjectStruct *GenMatObject(char *Name, MatrixType Mat,
  31.                             ObjectStruct *Pnext);
  32. struct ObjectStruct *CopyObject(ObjectStruct *Dest, ObjectStruct *Src,
  33.                                 int CopyAll);
  34. struct VertexStruct *CopyVList(VertexStruct *Src);
  35. struct PolygonStruct *CopyPolygonList(PolygonStruct *Src);
  36.  
  37. #endif    /* OBJECTS_H */
  38.  
  39.