VisualizationController CATVisManager

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


public class CATVisManager

Class enabling the MVC.

Role: This object is the masterpiece of the MVC architecture and ensures that communication between the model and the vues are made possible.


Constructor and Destructor Index


o ~CATVisManager()

Method Index


o AttachHSOTo(CATXSO*,CATBaseUnknown*)
Tells to VisuManager that we want to connect a Hso to a peculiar viewpoint.
o AttachPSOTo(CATXSO*,CATBaseUnknown*)
Tells to VisuManager that we want to connect a Pso to a peculiar viewpoint.
o AttachTo(CATRep*,CATBaseUnknown*,CATCommand*,int,int,int)
Creates a new cell of visualization.
o AttachTo(CATPathElement*,CATBaseUnknown*,list<IID>&,CATCommand*,int,int,int,int,int)
Creates a new cell of visualization.
o BuildHighlightLook(CATRep&,CATPathElement&,CATRepPath&)
Gives the rep path equivalent to the model path when highlight is concerned.
o BuildRep(CATModelIdentificator&)
Creates the graphical representation of one object.
o BuildRepPath(CATRep&,CATPathElement&,CATRepPath&)
Gives the rep path equivalent to the model path.
o Commit()
Requests the processing of all the events hold by the VisuManager that have not been processed yet.
o Commit(CATModelNotification*,CATBaseUnknown*)
Requests the processing of the input event.
o DecodeGraphic(CATPickPath&,CATPathElement&)
Gives the model path equivalent to the rep path.
o DetachFrom(CATBaseUnknown*,int)
Detaches all tuples ( path / viewpoint / list of visualization interfaces ) corresponding to a given viewpoint.
o DetachFrom(CATPathElement*,CATBaseUnknown*,int)
Detaches all tuples ( path / viewpoint / list of visualization interfaces ) corresponding to a given path and a given viewpoint.
o DetachFrom(CATPathElement*,CATBaseUnknown*,list<IID>&,int)
Detaches a tuple ( path / viewpoint / list of visualization interfaces ).
o DetachHSOFrom(CATBaseUnknown*)
Tells to VisuManager that we want to detach the Hso from a peculiar viewpoint.
o DetachPSOFrom(CATBaseUnknown*)
Tells to VisuManager that we want to detach the Pso from a peculiar viewpoint.
o DisconnectFrom(CATBaseUnknown*)
Disconnects all the cells corresponding to tuples (path / viewpoint/ list of visualization interfaces) having a given viewpoint.
o DisconnectFrom(CATPathElement*,CATBaseUnknown*)
Disconnects all the cells corresponding to tuples (path / viewpoint/ list of visualization interfaces) having a given path and a given viewpoint.
o DisconnectFrom(CATPathElement*,CATBaseUnknown*,list<IID>&)
Disconnects all the cells corresponding to tuples (path / viewpoint/ list of visualization interfaces) having a given path and a given viewpoint.
o DisconnectHSOFrom(CATBaseUnknown*)
Disables the highligth of a viewpoint.
o DisconnectHSOFrom(CATModelIdentificator)
Disables the highligth for a model.
o DisconnectPSOFrom(CATBaseUnknown*)
Disablea the pre-highligth of a viewpoint.
o DisconnectPSOFrom(CATModelIdentificator)
Disablea the pre-highligth for a model.
o DisconnectVisuFrom(CATBaseUnknown*)
Disconnects the visualization of a tree of reps without destroying it.
o DisconnectVisuFrom(CATPathElement*,CATBaseUnknown*)
Disconnects the visualization of a tree of reps without destroying it.
o DisconnectVisuFrom(CATPathElement*,CATBaseUnknown*,list<IID>&)
Disconnects the visualization of a tree of reps without destroying it.
o Draw(CATBaseUnknown*)
Forces the given viewpoint to be redrawn.
o DuplicateViewpoint(CATBaseUnknown*,CATBaseUnknown*)
Duplicates an existing attachment.
o EmptyHSO()
Empties manually the HSO.
o EmptyPSO()
Empties manually the PSO.
o FindNextRep(CATPathElement&,int&)
Finds the next representation from a model path ( this is used for BuildHighlightLook an BuildRepPath ).
o GeneratePathElementFromPickPath(CATPickPath&,CATPathElement&,int)
Gives the model path equivalent to the pick path.
o GenerateRepPathFromPathElement(CATPathElement&,CATBaseUnknown*,CATRepPath&,CATInteractiveContext,CATGenerativeAttribute,int)
Gives the rep path equivalent to the model path.
o GetVisManager(void)
Gets The VisuManager.
o IsConnectedTo(CATPathElement*,CATBaseUnknown*)
Returns whether or not a cell is connected .
o ReconnectHSOTo(CATBaseUnknown*)
Enables the highligth in a given viewpoint.
o ReconnectHSOTo(CATModelIdentificator,CATBaseUnknown*)
Enables a model entry to be highligthed in a given viewpoint.
o ReconnectPSOTo(CATBaseUnknown*)
Enablea the pre-highligth in a given viewpoint.
o ReconnectPSOTo(CATModelIdentificator,CATBaseUnknown*)
Enables a model entry to be pre-highligthed in a given viewpoint.
o ReconnectTo(CATBaseUnknown*)
Reconnects to all the cells corresponding to tuples (path / viewpoint/ list of visualization interfaces) having a given viewpoint.
o ReconnectTo(CATPathElement*,CATBaseUnknown*)
Reconnects to all the cells corresponding to tuples (path / viewpoint/ list of visualization interfaces) having a given path and a given viewpoint.
o ReconnectTo(CATPathElement*,CATBaseUnknown*,list<IID>&)
Reconnects all the cells corresponding to tuples (path / viewpoint/ list of visualization interfaces) having a given path and a given viewpoint.
o ReconnectVisuTo(CATBaseUnknown*)
Reconnects the visualization of a tree without rebuilding it.
o ReconnectVisuTo(CATPathElement*,CATBaseUnknown*)
Reconnects the visualization of a tree without rebuilding it.
o ReconnectVisuTo(CATPathElement*,CATBaseUnknown*,list<IID>&)
Reconnects the visualization of a tree without rebuilding it.
o SetFurtiveMode(CATModelIdentificator,CATBaseUnknown*,int)
Sets in furtive mode or not a given model entry for a viewpoint.
o SetLocalGraphicAttributs(CATModelIdentificator,CATBaseUnknown*,int)
Forces a model to work only with its locals graphic attributs not taking into account its fathers'.
o SetLocalMatrix(CATModelIdentificator,CATBaseUnknown*,int)
Forces a model to work only with its local matrix and to not taking into account its fathers' matrix.
o SetSelector(CATSelector*,CATPathElement*,CATBaseUnknown*,list<IID>&)
Sets Selector on the tuple ( path / viewpoint / list of visualization interfaces ).
o SomethingHappensInSO(CATNotification*,CATInteractiveContext)
(Pre)Highlights pathes of objects hold in the input notification.
o UnreferenceRep(CATModelIdentificator&)
Removes the link between the extension of visualization of a model and this model.

Constructor and Destructor


o ~CATVisManager
public ~CATVisManager()

Methods


o AttachHSOTo
public AttachHSOTo( iXso,
i_pViewObject)
Tells to VisuManager that we want to connect a Hso to a peculiar viewpoint.
Parameters:
iXso
The Hso to connect.
i_pViewObject
The viewpoint in which the model must be connected for highlight.
Returns:
an HRESULT value.
Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o AttachPSOTo
    public AttachPSOTo( iXso,
    i_pViewObject)
    Tells to VisuManager that we want to connect a Pso to a peculiar viewpoint.
    Parameters:
    iXso
    The Pso to connect.
    i_pViewObject
    The viewpoint in which the model must be connected for highlight.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o AttachTo
    public AttachTo( iRep,
    i_pViewObject,
    iSelectorFather= NULL,
    iFurtive= 0,
    iLocalMatrix= 0,
    iLocalGraphicAttributs= 0 )
    Creates a new cell of visualization.
    Role:That means one wants to visualize a given graphical representation inside a given viewpoint.
    Parameters:
    iRep
    Graphical Representation one wants to visualize.
    i_pViewObject
    Viewpoint where the model must be visualized.
    iSelectorFather
    The
    which is the father of the created when a new cell is created. Default value is NULL.
    iFurtive
    Says the graphical representations of the cell are to be drawn in furtive mode.
    Legal values:
  • 0 for normal mode (it's the default value)
  • 1 for furtive mode
  • .
    iLocalMatrix
    Says one wants to take into account the positionning matrices hold in the objects enclosed in the input path of objects iTreeRoot.
    Legal values:
  • 0 positionning matrices are not taken into account (it's the default value)
  • 1 otherwise
  • .
    iLocalGraphicAttributs
    Says one wants to inherit the graphical properties (e.g. color) hold by objects enclosed in the input path of objects iTreeRoot.
    Legal values:
  • 0 there is no inheritance of the graphical properties (it's the default value)
  • 1 otherwise
  • .
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o AttachTo
    public AttachTo( iTreeRoot,
    i_pViewObject,
    iVisuList,
    iSelectorFather= NULL,
    iFurtive=0,
    iLocalMatrix=0,
    iLocalGraphicAttributs=0,
    iCrossHighlight= 0,
    iEmbedded= 0)
    Creates a new cell of visualization.
    Role:That means one wants to visualize a root object inside a given viewpoint using a given list of visualization interfaces.
    Parameters:
    iTreeRoot
    Path of objects which represents the part of a tree one wants to visualiaze. The last object of the path is the root object to visualize. The input path is not necessarily made up of one object (the root object to visualize): it may have been generated by an operation of extraction from a tree. And these informations can be useful for the visualization of the root object.
    i_pViewObject
    Viewpoint where the model must be visualized.
    iVisuList
    List of visualization interfaces one wants to use to visualize obejcts. The list must be sorted by higher priority. The first interface has the highest priority.
    iSelectorFather
    The
    which is the father of the created when a new cell is created. Default value is NULL.
    iFurtive
    Says the graphical representations of the cell are to be drawn in furtive mode.
    Legal values:
  • 0 for normal mode (it's the default value)
  • 1 for furtive mode
  • .
    iLocalMatrix
    Says one wants to take into account the positionning matrices hold in the objects enclosed in the input path of objects iTreeRoot.
    Legal values:
  • 0 positionning matrices are not taken into account (it's the default value)
  • 1 otherwise
  • .
    iLocalGraphicAttributs
    Says one wants to inherit the graphical properties (e.g. color) hold by objects enclosed in the input path of objects iTreeRoot.
    Legal values:
  • 0 there is no inheritance of the graphical properties (it's the default value)
  • 1 otherwise
  • .
    iCrossHighlight
    To be used internally with embedded cells.
    iEmbedded
    To describe an embedded cell. To be used internally.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o BuildHighlightLook
    public BuildHighlightLook( iRep,
    const iPathElement,
    oRepPath)
    Gives the rep path equivalent to the model path when highlight is concerned.
    Parameters:
    iRep
    rep you work on
    iPathElement
    the rep path.
    oRepPath
    the model path.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o BuildRep
    public BuildRep( const iId)
    Creates the graphical representation of one object.
    Role: Create the graphical representation of the object referred by the input identifier. To achieve this goal the current cell has to be set properly. That means that you need to be within a visualization transaction, that is this method should be called either from a method of one visualization extension, or from the method of one visualization extension. Otherwise this method will return NULL.
    Parameters:
    iId
    Identifier of the model you want to get the graphical representation.
    Returns:
    The graphical representation of the model.
    o BuildRepPath
    public BuildRepPath( iRep,
    const iPathElement,
    oRepPath)
    Gives the rep path equivalent to the model path.
    Parameters:
    iRep
    rep you work on
    iPathElement
    the rep path.
    oRepPath
    the model path.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o Commit
    public Commit()
    Requests the processing of all the events hold by the VisuManager that have not been processed yet.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o Commit
    public Commit( iNotif,
    i_pViewObject= NULL)
    Requests the processing of the input event.
    Role:
    Parameters:
    iNotif
    Event to process
    i_pViewObject
    Viewpoint into which one wants to process the input event. More precisely, the input is processed in all the cells having i_pViewObject as their viewpoint. If no viewpoint is given in input, the event is processed in all the cells.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o DecodeGraphic
    public DecodeGraphic( const iRepPath,
    oPathElement)
    Gives the model path equivalent to the rep path.
    Parameters:
    iRepPath
    the model path.
    oPathElement
    the rep path.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o DetachFrom
    public DetachFrom( i_pViewObject,
    iDrawToDo=1 )
    Detaches all tuples ( path / viewpoint / list of visualization interfaces ) corresponding to a given viewpoint.
    Parameters:
    i_pViewObject
    Viewpoint you want to remove.
    iDrawToDo
    Takes two values : 1 : Default value,the viewer is refreshed at the end of method DetachFrom 0 : the viewer is not refreshed at the end of method DetachFrom.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o DetachFrom
    public DetachFrom( iTreeRoot,
    i_pViewObject= NULL ,
    iDrawToDo=1 )
    Detaches all tuples ( path / viewpoint / list of visualization interfaces ) corresponding to a given path and a given viewpoint.
    Parameters:
    iTreeRoot
    Path of objects.
    i_pViewObject
    Viewpoint in which objects are visualized.
    iDrawToDo
    Takes two values : 1 : Default value,the viewer is refreshed at the end of method DetachFrom 0 : the viewer is not refreshed at the end of method DetachFrom.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o DetachFrom
    public DetachFrom( iTreeRoot,
    i_pViewObject,
    iVisuList,
    iDrawToDo=1 )
    Detaches a tuple ( path / viewpoint / list of visualization interfaces ).
    Parameters:
    iTreeRoot
    Path of objects.
    i_pViewObject
    Viewpoint in which objects are visualized.
    iVisuList
    List of
    iDrawToDo
    Takes two values : 1 : Default value,the viewer is refreshed at the end of method DetachFrom 0 : the viewer is not refreshed at the end of method DetachFrom.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o DetachHSOFrom
    public DetachHSOFrom( i_pViewObject)
    Tells to VisuManager that we want to detach the Hso from a peculiar viewpoint.
    Parameters:
    i_pViewObject
    The viewpoint from which we want to remove HSO .
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o DetachPSOFrom
    public DetachPSOFrom( i_pViewObject)
    Tells to VisuManager that we want to detach the Pso from a peculiar viewpoint.
    Parameters:
    i_pViewObject
    The viewpoint from which we want to remove PSO .
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o DisconnectFrom
    public DisconnectFrom( i_pViewObject)
    Disconnects all the cells corresponding to tuples (path / viewpoint/ list of visualization interfaces) having a given viewpoint.
    Parameters:
    i_pViewObject
    Viewpoint one wants to disconnect.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL if no cells have been found
  • .
    o DisconnectFrom
    public DisconnectFrom( iTreeRoot,
    i_pViewObject= NULL )
    Disconnects all the cells corresponding to tuples (path / viewpoint/ list of visualization interfaces) having a given path and a given viewpoint.
    Parameters:
    iTreeRoot
    Path of objects.
    i_pViewObject
    Viewpoint in which objects are visualized. If null, all cells corresponding to tuples (path / viewpoint/ list of visualization interfaces) having iTreeRoot as path of objects are considered.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL if no cells have been found
  • .
    o DisconnectFrom
    public DisconnectFrom( iTreeRoot,
    i_pViewObject,
    iVisuList)
    Disconnects all the cells corresponding to tuples (path / viewpoint/ list of visualization interfaces) having a given path and a given viewpoint.
    Parameters:
    iTreeRoot
    Path of objects.
    i_pViewObject
    Viewpoint in which objects are visualized.
    iVisuList
    list of visualization interfaces.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL if no cells have been found
  • .
    o DisconnectHSOFrom
    public DisconnectHSOFrom( i_pViewObject)
    Disables the highligth of a viewpoint.
    Parameters:
    i_pViewObject
    The viewpoint which is disable to highlight.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o DisconnectHSOFrom
    public DisconnectHSOFrom( const iId)
    Disables the highligth for a model.
    Parameters:
    iId
    The model Id to connect.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o DisconnectPSOFrom
    public DisconnectPSOFrom( i_pViewObject)
    Disablea the pre-highligth of a viewpoint.
    Parameters:
    i_pViewObject
    The viewpoint which is disable to pre-highlight.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o DisconnectPSOFrom
    public DisconnectPSOFrom( const iId)
    Disablea the pre-highligth for a model.
    Parameters:
    iId
    The model Id to connect.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o DisconnectVisuFrom
    public DisconnectVisuFrom( i_pViewObject)
    Disconnects the visualization of a tree of reps without destroying it. Event sending is also disconnected.
    Parameters:
    i_pViewObject
    Viewpoint in which objects are visualized.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL if no cells have been found
  • .
    o DisconnectVisuFrom
    public DisconnectVisuFrom( iTreeRoot,
    i_pViewObject= NULL )
    Disconnects the visualization of a tree of reps without destroying it. Event sending is also disconnected.
    Parameters:
    iTreeRoot
    Path of objects.
    i_pViewObject
    Viewpoint in which objects are visualized. If null, all cells corresponding to tuples (path / viewpoint/ list of visualization interfaces) having iTreeRoot as path of objects are considered.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL if no cells have been found
  • .
    o DisconnectVisuFrom
    public DisconnectVisuFrom( iTreeRoot,
    i_pViewObject,
    iVisuList)
    Disconnects the visualization of a tree of reps without destroying it. Event sending is also disconnected.
    Parameters:
    iTreeRoot
    Path of objects.
    i_pViewObject
    Viewpoint in which objects are visualized.
    iVisuList
    list of visualization interfaces.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL if no cells have been found
  • .
    o Draw
    public Draw( i_pViewObject)
    Forces the given viewpoint to be redrawn.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o DuplicateViewpoint
    public DuplicateViewpoint( i_pViewObjectSource,
    i_pViewObjectTarget)
    Duplicates an existing attachment. Role: Create new attachments to the visu manager from an existing viewpoint to a new viewpoint.
    Parameters:
    i_pViewObjectSource
    The viewpoint from which you want to dupplicate attachments
    i_pViewObjectTarget
    The new viewpoint you want to attach to the visu manager like the viewpoint source.
    Returns:
    The result of the call.
    o EmptyHSO
    public EmptyHSO()
    Empties manually the HSO.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o EmptyPSO
    public EmptyPSO()
    Empties manually the PSO.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o FindNextRep
    public FindNextRep( const iPathElement,
    oValid)
    Finds the next representation from a model path ( this is used for BuildHighlightLook an BuildRepPath ).
    Parameters:
    iPathElement.
    the path element
    oValid
    returned HRESULT (1=OK, 0=KO)
    Returns:
    the next rep we want to add the the reppath
    o GeneratePathElementFromPickPath
    public GeneratePathElementFromPickPath( const iPickPath,
    oPathElt,
    SizeForOptim= 0)
    Gives the model path equivalent to the pick path.
    Parameters:
    iRepPath
    the rep path.
    oPathElement
    the model path.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o GenerateRepPathFromPathElement
    public GenerateRepPathFromPathElement( iPathElt,
    i_pViewObject,
    oRepPath,
    iContext= CATNoneContext,
    iAttribute= pathManipulatorOperation,
    regenerate=0)
    Gives the rep path equivalent to the model path.
    Parameters:
    iPathElement
    the model path.
    oRepPath
    the rep path
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o GetVisManager
    public static GetVisManager( )
    Gets The VisuManager.
    Returns:
    The VisuManager
    o IsConnectedTo
    public IsConnectedTo( iTreeRoot,
    i_pViewObject)
    Returns whether or not a cell is connected .
    Legal values:
  • 1 if the corresponding cells are connected
  • 0if at least one corresponding cell is not connected
  • .
    Parameters:
    iTreeRoot
    Path of objects.
    i_pViewObject
    Viewpoint in which objects are visualized.
    o ReconnectHSOTo
    public ReconnectHSOTo( i_pViewObject)
    Enables the highligth in a given viewpoint.
    Parameters:
    i_pViewObject
    The viewpoint which is enable to highlight.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o ReconnectHSOTo
    public ReconnectHSOTo( const iId,
    i_pViewObject= NULL )
    Enables a model entry to be highligthed in a given viewpoint. If no viewpoint is given all viewpoints are taken.
    Parameters:
    iId
    The model Id to connect.
    i_pViewObject
    The viewpoint in which the model must be connected for highlight.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o ReconnectPSOTo
    public ReconnectPSOTo( i_pViewObject)
    Enablea the pre-highligth in a given viewpoint.
    Parameters:
    i_pViewObject
    The viewpoint which is enable to pre-highlight.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o ReconnectPSOTo
    public ReconnectPSOTo( const iId,
    i_pViewObject= NULL )
    Enables a model entry to be pre-highligthed in a given viewpoint. If no viewpoint is given all viewpoints are taken.
    Parameters:
    iId
    The model Id to connect.
    i_pViewObject
    The viewpoint in which the model must be connected for pre-highlight.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o ReconnectTo
    public ReconnectTo( i_pViewObject)
    Reconnects to all the cells corresponding to tuples (path / viewpoint/ list of visualization interfaces) having a given viewpoint.
    Parameters:
    i_pViewObject
    Viewpoint one wants to reconnect.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL if no cells have been found
  • .
    o ReconnectTo
    public ReconnectTo( iTreeRoot,
    i_pViewObject= NULL )
    Reconnects to all the cells corresponding to tuples (path / viewpoint/ list of visualization interfaces) having a given path and a given viewpoint.
    Parameters:
    iTreeRoot
    Path of objects.
    i_pViewObject
    Viewpoint in which objects are visualized. If null, all cells corresponding to tuples (path / viewpoint/ list of visualization interfaces) having iTreeRoot as path of objects are considered.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL if no cells have been found
  • .
    o ReconnectTo
    public ReconnectTo( iTreeRoot,
    i_pViewObject,
    iVisuList)
    Reconnects all the cells corresponding to tuples (path / viewpoint/ list of visualization interfaces) having a given path and a given viewpoint.
    Parameters:
    iTreeRoot
    Path of objects.
    i_pViewObject
    Viewpoint in which objects are visualized.
    iVisuList
    list of visualization interfaces.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL if no cells have been found
  • .
    o ReconnectVisuTo
    public ReconnectVisuTo( i_pViewObject)
    Reconnects the visualization of a tree without rebuilding it. This method is used together with the method. Event sending is reconnected.
    Parameters:
    i_pViewObject
    Viewpoint in which objects are visualized.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL if no cells have been found
  • .
    o ReconnectVisuTo
    public ReconnectVisuTo( iTreeRoot,
    i_pViewObject= NULL )
    Reconnects the visualization of a tree without rebuilding it. This method is used together with the method. Event sending is reconnected.
    Parameters:
    iTreeRoot
    Path of objects.
    i_pViewObject
    Viewpoint in which objects are visualized. If null, all cells corresponding to tuples (path / viewpoint/ list of visualization interfaces) having iTreeRoot as path of objects are considered.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL if no cells have been found
  • .
    o ReconnectVisuTo
    public ReconnectVisuTo( iTreeRoot,
    i_pViewObject,
    iVisuList)
    Reconnects the visualization of a tree without rebuilding it. This method is used together with the method. Event sending is reconnected.
    Parameters:
    iTreeRoot
    Path of objects.
    i_pViewObject
    Viewpoint in which objects are visualized.
    iVisuList
    list of visualization interfaces.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL if no cells have been found
  • .
    o SetFurtiveMode
    public SetFurtiveMode( const iId,
    i_pViewObject= NULL,
    iFurtive= 0 )
    Sets in furtive mode or not a given model entry for a viewpoint. If no viewpoint is given all viewpoints are taken.
    Returns:
    A HRESULT given the result of the function.
    o SetLocalGraphicAttributs
    public SetLocalGraphicAttributs( const iId,
    i_pViewObject= NULL,
    iLocalGraphicAttributs= 0 )
    Forces a model to work only with its locals graphic attributs not taking into account its fathers'.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o SetLocalMatrix
    public SetLocalMatrix( const iId,
    i_pViewObject= NULL,
    iLocalMatrix= 0 )
    Forces a model to work only with its local matrix and to not taking into account its fathers' matrix.
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o SetSelector
    public SetSelector( iSelector,
    iTreeRoot,
    i_pViewObject,
    iVisuList)
    Sets Selector on the tuple ( path / viewpoint / list of visualization interfaces ).
    Parameters:
    iSelector
    Selector you want to set.CATSelector cannot be managed through AddRef / Release, so caller should not destroy if method succeeds.
    iTreeRoot
    Path of objects.
    i_pViewObject
    Viewpoint in which objects are visualized.
    iVisuList
    List of
    Returns:
    an HRESULT value.
    Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
    o SomethingHappensInSO
    public SomethingHappensInSO( notif,
    context)
    (Pre)Highlights pathes of objects hold in the input notification.
    Parameters:
    notif
    notification holding the pathes of elem to highlight
    context
    defines the type of interaction (CATPreselContext/CATSelContext)
    o UnreferenceRep
    public UnreferenceRep( id)
    Removes the link between the extension of visualization of a model and this model.
    Parameters:
    id
    ID of the model you want the representation.
    Returns:
    The result of the call.

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

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