All Frameworks Class Hierarchy This Framework Previous Next Indexes
VisualizationBase Class CATIndicator
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---System.CATEventSubscriber
|
+---System.CATCommand
|
+---VisualizationBase.CATManipulator
|
+---CATIndicator
Usage: you must use this class as is. You should never derive it.
public class CATIndicator
Class defines a behavior in the back of a viewer.
This class is used by application to have informations when mouse is on
no manipulator controlled representation.
Constructor and Destructor Index
- o
CATIndicator(CATCommand*,CATString&,CATViewpoint*,CATVizBaseManipulatorMediator*)
-
Default constructor.
Method Index
- o
GetMultiSelBehavior()
- Gets the multisel behaviour of this indicator.
- o
GetViewpoint()
- Gets the associated viewpoint.
- o
SetMultiSelBehavior(int)
- Activates or deactivates the multisel behaviour.
Constructor and Destructor
o CATIndicator
-
Default constructor.
- Parameters:
-
- iFather
- a pointer to the father command of the manipulator
- iName
- a name for the manipulator
- iViewpoint
- The viewpoint on which the indicator must be put.
Methods
o GetMultiSelBehavior
public int GetMultiSelBehavior( | )const |
-
Gets the multisel behaviour of this indicator.
- Returns:
- 0 if the multisel behaviour is deactivated.
A positive value means the multisel behaviour is activated.
o GetViewpoint
-
Gets the associated viewpoint.
- Returns:
- The associated viewpoint.
o SetMultiSelBehavior
public void SetMultiSelBehavior( | int | iActivate | =1 ) |
-
Activates or deactivates the multisel behaviour.
When multisel behaviour is activated a trap of selection
is drawn when you click and drag from a no manipulator
controlled representation.
In this case, a call to
CATManipulator.SendCommandSpecificObject with a CATPathElement in parameter will return a list of
CATPathElement.
- Parameters:
-
- iActivate
- Indicates if the multisel behaviour must be acivate or deactivate.
0 value means a deactivation, a positive value activates it.
This object is included in the file: CATIndicator.h
If needed, your Imakefile.mk should include the module: CATViz