UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ZtZoomIn.H
1 // ZtZoomIn.H
2 // $Id: ZtZoomIn.H,v 1.3 2004/02/17 13:53:39 vlad Exp $
3 
4 #if !defined __ZtZoomIn_H
5 
6 #define __ZtZoomIn_H
7 
8 #include <zm/ZtRubberRect.H>
9 
10 
11 /*************************************************************
12  * Class supports rubber rectangle with zoom-in interpretetion
13  * of selected box.
14  *************************************************************/
15 
16 class ZtZoomIn : public ZtRubberRect
17 {
18 public:
19 
20  ZtZoomIn (ZtMain* pManager, ZGroupId pxid_int, ZGroupId pyid_int,
21  ZGroupId pxid_ext, ZGroupId pyid_ext,
22  ZGroupId nxid, ZGroupId nyid);
23 
24  /* pxid_ext=pxid_int; pyid_ext=pyid_int; */
25  ZtZoomIn (ZtMain* pManager, ZGroupId pxid, ZGroupId pyid,
26  ZGroupId nxid, ZGroupId nyid);
27 
28  /* The same as previous constructor, but only one dimension is
29  really zoomed. */
30  ZtZoomIn (ZtMain* pManager, ZGroupId pxid, ZGroupId pyid,
31  ZDimension dim, ZGroupId nid);
32 
33  /* Callback for end of selection */
34  virtual void box (float size_x[2], float size_y[2]);
35 
37  virtual const char* class_id () const;
38 
39 };
40 
41 
42 #endif // ZtZoomIn.H
virtual void box(float size_x[2], float size_y[2])
Definition: ZtMain.H:32
virtual const char * class_id() const
Definition: ZtZoomIn.H:16
Definition: ZtRubberRect.H:16