All Frameworks Class Hierarchy This Framework Previous Next Indexes
CATAnalysisInterfaces Interface CATISamViewManager
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATISamViewManager
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATISamViewManager
Manages analysis object views.
Makes components ready to communicate with their visualization (graphical
representation) and their graph attachement. It creates, modifies and deletes
the view (Graph and Visualization) of an analysis feature.
This interface manages the CATIModelEvents and CATIRedrawEvent.
Method Index
- o
AddObjectView(CATI3DGeoVisu*)
- Adds temporary object to current feature visualization.
- o
AttachToView(int)
- Informs that the object is connected at least once.
- o
CreateView(CATBaseUnknown*,int)
- Creates the view.
- o
DeleteView(int)
- Disconnect the view.
- o
DetachFromView(int)
- Informs that the object is no more connected.
- o
GetAddedObjectsView(CATLISTV(CATBaseUnknown_var)&)
- Retrieves temporary object to current feature visualization.
- o
ModifyView(int)
- Updates the view.
- o
RemoveObjectView(CATI3DGeoVisu*)
- Removes temporary object to current feature visualization.
Methods
o AddObjectView
-
Adds temporary object to current feature visualization.
This method can be used for example to attach a command in the represenation of the feature.
To to this connect a
CATI3DGeoVisu implementation of your command in the
CATStateCommand.Activate
- Parameters:
-
- iObject
- The object to connect.
o AttachToView
public virtual void AttachToView( | int | iTypeView | = 0) = 0 |
-
Informs that the object is connected at least once.
- Parameters:
-
- iTypeView:
- The connection kind.
Legal values:
- 0 Manage all views.
- 1 Manage 2D and 3D the visualization.
- 2 Manage the Graph.
o CreateView
-
Creates the view.
- Parameters:
-
- iFather:
- The connecting father.
- iTypeView:
- The connection kind.
Legal values:
- 0 Manage all views.
- 1 Manage 2D and 3D the visualization.
- 2 Manage the Graph.
o DeleteView
public virtual HRESULT DeleteView( | int | iTypeView | = 0) = 0 |
-
Disconnect the view.
Should not be called. This is managed by us.
- Parameters:
-
- iTypeView:
- The connection kind.
Legal values:
- 0 Manage all views.
- 1 Manage 2D and 3D the visualization.
- 2 Manage the Graph.
o DetachFromView
public virtual HRESULT DetachFromView( | int | iTypeView | = 0) = 0 |
-
Informs that the object is no more connected.
- Parameters:
-
- iTypeView:
- The connection kind.
Legal values:
- 0 Manage all views.
- 1 Manage 2D and 3D the visualization.
- 2 Manage the Graph.
o GetAddedObjectsView
-
Retrieves temporary object to current feature visualization.
- Parameters:
-
- oObjectList
- The liust of connected objects.
o ModifyView
public virtual HRESULT ModifyView( | int | iTypeView | = 0) = 0 |
-
Updates the view.
- Parameters:
-
- iTypeView:
- The connection kind.
Legal values:
- 0 Manage all views.
- 1 Manage 2D and 3D the visualization.
- 2 Manage the Graph.
o RemoveObjectView
-
Removes temporary object to current feature visualization.
This method can be used for example to attach a command in the represenation of the feature.
To to this connect a
CATI3DGeoVisu implementation of your command in the
CATCommand.Cancel or
CATStateCommand.Desactivate
- Parameters:
-
- iObject
- The object to disconnect.
This object is included in the file: CATISamViewManager.h
If needed, your Imakefile.mk should include the module: CATAnalysisInterface