VisualizationFoundation CATContext

Usage: you must use this class as is. You should never derive it.


public class CATContext

Class to notify that a contextual action is asked on a manipulator.
Role: This notification sent by a indicates that the mouse button 3 is pressed above the representation controlled by the manipulator. It can be received by any class by means of the callback through the method.


Constructor and Destructor Index


o CATContext(CATNotification*,CATDlgContextualMenu*)
Constructs a CATContext notification.
o ~CATContext()

Method Index


o GetContextualMenu()
Returns the associated context menu.

Constructor and Destructor


o CATContext
public CATContext( iNotification,
menu=NULL)
Constructs a CATContext notification.
Parameters:
iNotification
The device event notification. This notification contains the manipulation device parameters like mouse position.
menu
The associated context menu.
o ~CATContext
public virtual ~CATContext()

Methods


o GetContextualMenu
public GetContextualMenu()
Returns the associated context menu. An application can subscribe to this notfication to put specific items in the context menu associated to manipulator. The contextual menu is specific to each manipulator and is redefined each time a contextual action is asked on a manipulator.

This object is included in the file: CATContext.h
If needed, your Imakefile.mk should include the module: CATVisFoundation

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.