The HEdgeVertexSelectionObject class handles interactive "mouse-over" selection of triangles inside a shell.
More...
#include <HObjects.h>
The HEdgeVertexSelectionObject class handles interactive "mouse-over" selection of triangles inside a shell.
This class allows you to see the backsidge edges of a shell while highlighting the closest vertices during a mouse-over.
HEdgeVertexSelectionObject::HEdgeVertexSelectionObject |
( |
HBaseView * |
view | ) |
|
const char* HEdgeVertexSelectionObject::GetName |
( |
| ) |
|
|
virtual |
- Returns
- The name of the object which is 'ev_select'.
Implements HObject.
static const char* HEdgeVertexSelectionObject::GetStaticName |
( |
| ) |
|
|
static |
- Returns
- The name of the object which is 'ev_select'.
void HEdgeVertexSelectionObject::IncludeEntity |
( |
HBaseView * |
view, |
|
|
HC_KEY |
movekey |
|
) |
| |
This is a helper function for the mouse move handler. It allows for invisible edge display.
- Parameters
-
view | A pointer to the view object. |
movekey | The segment key to include. |
- Returns
- An HOperatorReturn indicating the status of the event.
virtual int HEdgeVertexSelectionObject::OnLButtonDown |
( |
HEventInfo & |
hevent | ) |
|
|
virtual |
This is the left button down handler. This method records if the left mouse button was pressed while the shift and control keys were down and the mouse move method had found a selectable edge.
- Parameters
-
hevent | An HEventInfo object containing information about the current event. |
- Returns
- An HOperatorReturn indicating the status of the event.
virtual int HEdgeVertexSelectionObject::OnLButtonUp |
( |
HEventInfo & |
hevent | ) |
|
|
virtual |
This is the left button up handler. If the user had pressed the left mouse button while the control and shift keys were down and the cursor was over a selectable edge, then geometry manipulator handles are created.
- Parameters
-
hevent | An HEventInfo object containing information about the current event. |
- Returns
- An HOperatorReturn indicating the status of the event.
virtual int HEdgeVertexSelectionObject::OnMouseMove |
( |
HEventInfo & |
hevent | ) |
|
|
virtual |
This is the mouse move handler. As the mouse moves, this method identifies if the user has moved the cursor over a shell edge. If the mouse cursor is over a selectable edge, it indentifies and marks the edge.
- Parameters
-
hevent | An HEventInfo object containing information about the current event |
- Returns
- An HOperatorReturn indicating the status of the event.
HPoint HEdgeVertexSelectionObject::m_Point1 |
|
protected |
HPoint HEdgeVertexSelectionObject::m_Point2 |
|
protected |
HBaseView* HEdgeVertexSelectionObject::m_pView |
|
protected |
HC_KEY HEdgeVertexSelectionObject::m_SegKey |
|
protected |
The key of the included segment.
The documentation for this class was generated from the following file: