VisualizationFoundation 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.
o SetViewpoint(CATViewpoint*)
Sets the associated viewpoint.

Constructor and Destructor


o CATIndicator
public CATIndicator( Father,
const iName,
iViewpoint=NULL,
i_pManipulatorMediator= NULL)
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 GetMultiSelBehavior()
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
public GetViewpoint()
Gets the associated viewpoint.
Returns:
The associated viewpoint.
o SetMultiSelBehavior
public SetMultiSelBehavior( 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 with a CATPathElement in parameter will return a list of .
Parameters:
iActivate
Indicates if the multisel behaviour must be acivate or deactivate.
0 value means a deactivation, a positive value activates it.
o SetViewpoint
public SetViewpoint( i_pViewpoint)
Sets the associated viewpoint. Will Addref it, and Release the current one if not NULL and different.

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

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