Public Member Functions | |
HBaseOperator * | Clone () |
virtual const char * | GetName () |
MyPolygonMarkupOp (HBaseView *view, int DoRepeat=0, int DoCapture=1) | |
Static Public Member Functions | |
static void | CreateMarkupPolygon (HBaseView *pView, const char *segment, unsigned int PolyLineLength, HPoint *pPolyline, bool emit_message) |
Protected Member Functions | |
virtual void | BeginNewMarkup () |
virtual void | CompleteLastMarkup () |
virtual void | MarkupSelection (HEventInfo &hevent) |
virtual int | OnLButtonDown (HEventInfo &hevent) |
virtual int | OnLButtonDownAndMove (HEventInfo &hevent) |
virtual int | OnLButtonUp (HEventInfo &hevent) |
Protected Attributes | |
HC_KEY | m_LastKey |
char | markup_seg [4096] |
Static Protected Attributes | |
static long | markup_incarnation |
HBaseOperator* MyPolygonMarkupOp::Clone | ( | ) | [virtual] |
Creates a new operator which is associated with the same view as the current operator. The user is responsible for deleting the newly created operator.
Reimplemented from HBaseOperator.
virtual const char* MyPolygonMarkupOp::GetName | ( | ) | [virtual] |
Reimplemented from HBaseOperator.
virtual int MyPolygonMarkupOp::OnLButtonDown | ( | HEventInfo & | hevent | ) | [protected, virtual] |
The derived operator should overload this function to intercept and handle the case where the left mouse button has been pressed down. It will be automatically called from the HOOPS/GUI toolkit when such an event occurs, and should be manually called by platform-specific UI code if HOOPS/GUI is not being used.
hevent | An HEventInfo object containing information about the current event |
Reimplemented from HBaseOperator.
virtual int MyPolygonMarkupOp::OnLButtonDownAndMove | ( | HEventInfo & | hevent | ) | [protected, virtual] |
The derived operator should overload this function to intercept and handle the case where the left mouse button is pressed down and the mouse has moved. It will be automatically called from the HOOPS/GUI toolkit when such an event occurs, and should be manually called by platform-specific UI code if HOOPS/GUI is not being used.
hevent | An HEventInfo object containing information about the current event |
Reimplemented from HBaseOperator.
virtual int MyPolygonMarkupOp::OnLButtonUp | ( | HEventInfo & | hevent | ) | [protected, virtual] |
The derived operator should overload this function to intercept and handle the case where the left mouse button has been released. It will be automatically called from the HOOPS/GUI toolkit when such an event occurs, and should be manually called by platform-specific UI code if HOOPS/GUI is not being used.
hevent | An HEventInfo object containing information about the current event |
Reimplemented from HBaseOperator.