CATMecModExtendItf Interface CATIVisuChildren

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


interface CATIVisuChildren

Interface to manage tree visualization.
Role : For a given model architecture, defines the corresponding visualization tree, how the visual representations have to be aggregated.

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 GetChildrenToVisualizeBeforeAndAfterMyRep(CATListValCATBaseUnknown_var**,CATListValCATBaseUnknown_var**,CATUnicodeString&)
Gives the model children whose representations have to be aggregated under the same father rep as the representation of this in the visualization tree.
o GetChildrenToVisualizeUnderMyRep(CATListValCATBaseUnknown_var**,CATUnicodeString&)
Gives the model children whose representations have to be aggregated under the representation of this in the visualization tree.

Methods


o GetChildrenToVisualizeBeforeAndAfterMyRep
public virtual GetChildrenToVisualizeBeforeAndAfterMyRep( oBefore,
oAfter,
const iViewContext= MfDefault3DView)
Gives the model children whose representations have to be aggregated under the same father rep as the representation of this in the visualization tree.
Role : . Use this method for children that have to be visualized independantly (eg. independant highlight, no show behavior). Refer to the method for details.
Parameters:
oBefore
: list of children whose reps have to be aggregated before the rep of this in the visualization tree (eg. input of this).
oAfter
: list of children whose reps have to be aggregated after the rep of this in the visualization tree (eg. output of this).
iViewContext
The view context.
Legal values:
  • MfDefault3DView: The default 3D view
  • MfUnfoldedView: An unfolded view
o GetChildrenToVisualizeUnderMyRep
public virtual GetChildrenToVisualizeUnderMyRep( oUnder,
const iViewContext= MfDefault3DView)
Gives the model children whose representations have to be aggregated under the representation of this in the visualization tree.
Role : . Use this method for objects (ex : feature sons) whose visualization has to follow the representation of this (eg. simultaneous highlight, no show of a whole model branch). Refer to the method for details.
Parameters:
oUnder
: list of children whose reps have to be aggregated under the rep of this in the visualization tree.
iViewContext
The view context.
Legal values:
  • MfDefault3DView: The default 3D view
  • MfUnfoldedView: An unfolded view

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

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