home *** CD-ROM | disk | FTP | other *** search
/ Stone Design / Stone Design.iso / Stone_Stuff / 3D_Reality / 3D_Reality_API / Examples / Patch.bproj / PatchInspector.h < prev    next >
Encoding:
Text File  |  1992-10-09  |  993 b   |  30 lines

  1. /* PatchInspector.h     Peter Wickersham
  2.  * 
  3.  * PatchInspector : ShapeInspector : Inspector3D : Inspector : Object
  4.  *
  5.  * PatchInspector is a class for inspecting and changing certain attributes
  6.  * about the Patch geometry object.  It is needed as the File's Owner object
  7.  * in the PatchInspector.nib.  It provides the conduit between the selected
  8.  * Patch object and the Patch Inspector panel.  The important method that
  9.  * needs to be overridden is the loadShape:inView method(see PatchInspector.m)
  10.  * 
  11.  */
  12.  
  13. @interface PatchInspector:ShapeInspector
  14. {
  15.     id  uBasisButton;        // The U basis button
  16.     id  vBasisButton;        // The V basis button
  17.     id  pointsVisibleSwitch;    // Show control points switch
  18.     id  hullVisibleSwitch;    // Show control hull switch
  19. }
  20.  
  21.  
  22. // Methods for changing parameters of the selected Patch.  Basically, these
  23. // all forward the desired state to the selected Patch.
  24.  
  25. - changeHullVisible:sender;
  26. - changePointsVisible:sender;
  27. - setUBasis:sender;
  28. - setVBasis:sender;
  29.  
  30. @end