All Frameworks  Class Hierarchy  This Framework  Indexes   

CATAnalysisInterfaces Interface CATISamEntityVisu

Usage: you can reimplement this interface by deriving the supplied CATEAnalysisEntityVisu adapter class.


interface CATISamEntityVisu

Management of visualization of analysis entities and sets

This interface allows not to implement CATI3DGeoVisu Interface.
Analysis default implementation is already done. It will call this interface for appropriate rebuild of your visualization.

BOA information: this interface can be implemented using the BOA (Basic Object Adapter). To know more about the BOA, refer to the CAA Encyclopedia home page. Click Middleware at the bottom left, then click the Object Modeler tab page. Several articles deal with the BOA.


Method Index


o BuildEntityRep(int)
Build the entity graphical representation.
o BuildHighlightLook(CATPathElement&,CATRepPath&)
Builds step by step a path of graphical representations from a path of objects for (pre)highlight purposes.
o DecodeGraphic(CATPickPath&,CATPathElement&)
Builds step by step a path of objects from a path of graphical representations.
o ModifyRep(CATNotification&)
Modifies the geometry or the graphical attributes of the object.

Methods


o BuildEntityRep
public virtual BuildEntityRep( iEntityUpToDate)
Build the entity graphical representation. By default, This method is the only on to be implemented
Parameters:
iEntityUpToDate
informs if the entity is UpToDate or not.
Returns:
CAT3DBagRep The Bag rep, can be empty but always returns one.
o BuildHighlightLook
public virtual BuildHighlightLook( const iPathElt,
ioPathRep)
Builds step by step a path of graphical representations from a path of objects for (pre)highlight purposes.
Role: The same as @see CATExtIVisu#BuildRepPath but it is for (pre)highlight purposes only. CATEAnalysisEntityVisu is used to complete the default behavior.
o DecodeGraphic
public virtual DecodeGraphic( const iPickPath,
ioPathElt)
Builds step by step a path of objects from a path of graphical representations.
Role: This will be called in standard DS implementation of CATIVisu for Analysis entities. CATEAnalysisEntityVisu returns E_NOTIMPL, and CATExtIVisu::DecodeGraphic is called.
o ModifyRep
public virtual ModifyRep( const iNotif)
Modifies the geometry or the graphical attributes of the object.
Role: this method is used to process all the notifications concerning visual changes for one object.
Returns:
the status of the notification's processing.
Legal values: the status is either
  1. 0 when the input notification has not been processed. Then the default processing is applied
  2. 1 when the input notification has been processed.
Parameters:
iNotif
the input notification holding all the information we need in order to process it.

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

Copyright © 2003, Dassault Systèmes. All rights reserved.