All Frameworks Class Hierarchy This Framework Previous Indexes
VisualizationBase Notification CATVueNotification
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---System.CATNotification
|
+---CATVueNotification
Usage: you must use this class as is. You should never derive it.
public class CATVueNotification
Class to notify an event from the user interface.
Role: This notification is the base class for all notification
send by CATManipulator and its derived classes. They notify of the
different interactions from the user.
Constructor and Destructor Index
- o
CATVueNotification(CATNotification*)
- Constructs a CATVueNotification notification.
- o
~CATVueNotification()
-
Method Index
- o
GetPickPath()
- Retrieves the PickPath associated to the VueNotification.
- o
InitElementList()
- Sets the cursor on the 1st graphical element under the mouse.
- o
MoveToNextElement()
- Moves the cursor on the next element of the list containing the graphical elements under the mouse.
Constructor and Destructor
o CATVueNotification
-
Constructs a CATVueNotification notification.
- Parameters:
-
- iNotification
- The device event notification.
This notification contains the manipulation device
parameters like mouse position and move vector.
o ~CATVueNotification
public virtual ~CATVueNotification( | ) |
-
Methods
o GetPickPath
-
Retrieves the PickPath associated to the VueNotification.
- Returns:
- The CATPickPath constructed during the user interaction
o InitElementList
public void InitElementList( | ) |
-
Sets the cursor on the 1st graphical element under the mouse.
This element is the 1st of a list containing the graphical elements under the mouse.
The list is sorted by the depth of element. The pick path returned by
GetPickPath is valuated with the pick path of this 1st lement under the mouse.
- See also:
- CATPickPath
o MoveToNextElement
public int MoveToNextElement( | ) |
-
Moves the cursor on the next element of the list containing the graphical elements under the mouse.
The list is sorted by depth and thus, the cursor will be positionned on a deeper element.
The pick path returned by
GetPickPath is valuated with the pick path of this next element under the mouse.
- Returns:
- 1 when such a pick path exists.
0 if there is no element deeper under the mouse.
This object is included in the file: CATVueNotification.h
If needed, your Imakefile.mk should include the module: CATViz