3 #ifndef __ZtRubberRay_H
4 #define __ZtRubberRay_H
6 #include <zm/ZtObject.H>
21 ZGroupId pxid, ZGroupId pyid,
22 ZGroupId nxid, ZGroupId nyid);
28 virtual void ray (
float direction[2],
int button_id, Logic pressed);
34 virtual ZInputStatus
input (
const XEvent* xev);
41 virtual void set_base (
const float base[2]);
44 virtual void get_base (
float base[2])
const;
47 virtual const char*
class_id ()
const;
63 const float nc_point[2],
virtual void set_base(const float base[2])
void prolongate_ray(const float nc_base[2], const float nc_point[2], float nc_prolong[2])
virtual const char * class_id() const
virtual void get_base(float base[2]) const
virtual ZInputStatus input(const XEvent *xev)
Definition: geometry.H:16
Logic drawn
Definition: ZtRubberRay.H:56
Definition: ZtRubberRay.H:15
virtual void redraw()
Definition: ZtRubberRay.H:36
Definition: ZtObject.H:57
ZtRubberRay(ZtMain *pManager, ZGroupId pxid, ZGroupId pyid, ZGroupId nxid, ZGroupId nyid)
void draw_rubber_ray(const ZPoint &point)
virtual void ray(float direction[2], int button_id, Logic pressed)