HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SOP_Handle.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: SOP_Handle.h (SOP library, C++)
7  *
8  * COMMENTS:
9  * This class will be the interface between sop parameters
10  * and sage's viewdata. It should be abstracted at the
11  * UI level, but I'll put it here in SOP for now.
12  *
13  * IDEA:
14  * There will be some guide geometry associated with
15  * this handle. Whenever the user clicks on the guide
16  * geometry in the ViewData and drags, doDrag will be
17  * called with the deltax and deltay passed in.
18  * The member function will make appropriate changes to
19  * the sop parameters.
20  *
21  */
22 
23 #ifndef __SOP_Handle__
24 #define __SOP_Handle__
25 
26 #include "SOP_API.h"
27 class PRM_ParmList;
28 
30 {
31 public:
32  SOP_Handle();
33  virtual ~SOP_Handle() {}
34 
35  virtual void doDrag(int modifierkeys, int mousebutton,
36  int dx, int dy);
37 private:
38  void doXY(int dx, int dy);
39  PRM_ParmList *myParmListPtr;
40 };
41 
42 #endif
#define SOP_API
Definition: SOP_API.h:10
virtual ~SOP_Handle()
Definition: SOP_Handle.h:33