All Frameworks Class Hierarchy This Framework Previous Next Indexes
Visualization Class CATVisManager
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---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*,CATViewpoint*)
- Tells to VisuManager that we want to connect a Hso to a peculiar
viewpoint.
- o
AttachPSOTo(CATXSO*,CATViewpoint*)
- Tells to VisuManager that we want to connect a Pso to a peculiar
viewpoint.
- o
AttachTo(CATPathElement*,CATViewpoint*,list<IID>&,CATCommand*,int,int,int,int,int)
- Creates a new cell of visualization.
- o
AttachTo(CATRep*,CATViewpoint*,CATCommand*,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*,CATViewpoint*)
- Requests the processing of the input event.
- o
DecodeGraphic(CATPickPath&,CATPathElement&)
- Gives the model path equivalent to the rep path.
- o
DetachFrom(CATPathElement*,CATViewpoint*,int)
- Detaches all tuples ( path / viewpoint / list of visualization interfaces ) corresponding to a given path and a given viewpoint.
- o
DetachFrom(CATPathElement*,CATViewpoint*,list<IID>&,int)
- Detaches a tuple ( path / viewpoint / list of visualization interfaces ).
- o
DetachFrom(CATViewpoint*,int)
- Detaches all tuples ( path / viewpoint / list of visualization interfaces ) corresponding to a given viewpoint.
- o
DetachHSOFrom(CATViewpoint*)
- Tells to VisuManager that we want to detach the Hso from a peculiar
viewpoint.
- o
DetachPSOFrom(CATViewpoint*)
- Tells to VisuManager that we want to detach the Pso from a peculiar
viewpoint.
- o
DisconnectFrom(CATPathElement*,CATViewpoint*)
- Disconnects all the cells corresponding to tuples (path / viewpoint/ list of visualization interfaces) having a given path
and a given viewpoint.
- o
DisconnectFrom(CATPathElement*,CATViewpoint*,list<IID>&)
- Disconnects all the cells corresponding to tuples (path / viewpoint/ list of visualization interfaces) having a given path
and a given viewpoint.
- o
DisconnectFrom(CATViewpoint*)
- Disconnects all the cells corresponding to tuples (path / viewpoint/ list of visualization interfaces) having a given viewpoint.
- o
DisconnectHSOFrom(CATModelIdentificator)
- Disables the highligth for a model.
- o
DisconnectHSOFrom(CATViewpoint*)
- Disables the highligth of a viewpoint.
- o
DisconnectPSOFrom(CATModelIdentificator)
- Disablea the pre-highligth for a model.
- o
DisconnectPSOFrom(CATViewpoint*)
- Disablea the pre-highligth of a viewpoint.
- o
DisconnectVisuFrom(CATPathElement*,CATViewpoint*)
- Disconnects the visualization of a tree of reps without destroying it.
- o
DisconnectVisuFrom(CATPathElement*,CATViewpoint*,list<IID>&)
- Disconnects the visualization of a tree of reps without destroying it.
- o
DisconnectVisuFrom(CATViewpoint*)
- Disconnects the visualization of a tree of reps without destroying it.
- o
Draw(CATViewpoint*)
- Forces the given viewpoint to be redrawn.
- o
DuplicateViewpoint(CATViewpoint*,CATViewpoint*)
- 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&,CATViewpoint*,CATRepPath&,CATInteractiveContext,CATGenerativeAttribute,int)
- Gives the rep path equivalent to the model path.
- o
GetVisManager(void)
- Gets The VisuManager.
- o
IsConnectedTo(CATPathElement*,CATViewpoint*)
- Returns whether or not a cell is connected .
- o
ReconnectHSOTo(CATModelIdentificator,CATViewpoint*)
- Enables a model entry to be highligthed in a given viewpoint.
- o
ReconnectHSOTo(CATViewpoint*)
- Enables the highligth in a given viewpoint.
- o
ReconnectPSOTo(CATModelIdentificator,CATViewpoint*)
- Enables a model entry to be pre-highligthed in a given viewpoint.
- o
ReconnectPSOTo(CATViewpoint*)
- Enablea the pre-highligth in a given viewpoint.
- o
ReconnectTo(CATPathElement*,CATViewpoint*)
- 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*,CATViewpoint*,list<IID>&)
- Reconnects all the cells corresponding to tuples (path / viewpoint/ list of visualization interfaces) having a given path
and a given viewpoint.
- o
ReconnectTo(CATViewpoint*)
- Reconnects to all the cells corresponding to tuples (path / viewpoint/ list of visualization interfaces) having a given viewpoint.
- o
ReconnectVisuTo(CATPathElement*,CATViewpoint*)
- Reconnects the visualization of a tree without rebuilding it.
- o
ReconnectVisuTo(CATPathElement*,CATViewpoint*,list<IID>&)
- Reconnects the visualization of a tree without rebuilding it.
- o
ReconnectVisuTo(CATViewpoint*)
- Reconnects the visualization of a tree without rebuilding it.
- o
SetFurtiveMode(CATModelIdentificator,CATViewpoint*,int)
- Sets in furtive mode or not a given model entry for a viewpoint.
- o
SetLocalGraphicAttributs(CATModelIdentificator,CATViewpoint*,int)
- Forces a model to work only with its locals graphic attributs
not taking into account its fathers'.
- o
SetLocalMatrix(CATModelIdentificator,CATViewpoint*,int)
- Forces a model to work only with its local matrix and to
not taking into account its fathers' matrix.
- o
SetSelector(CATSelector*,CATPathElement*,CATViewpoint*,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
-
Methods
o AttachHSOTo
-
Tells to VisuManager that we want to connect a Hso to a peculiar
viewpoint.
- Parameters:
-
- iXso
- The Hso to connect.
- iViewpoint
- 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
-
Tells to VisuManager that we want to connect a Pso to a peculiar
viewpoint.
- Parameters:
-
- iXso
- The Pso to connect.
- iViewpoint
- 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 HRESULT AttachTo( | CATPathElement* | iTreeRoot, |
| CATViewpoint* | iViewpoint, |
| list<IID>& | iVisuList, |
| CATCommand* | iSelectorFather | = NULL, |
| int | iFurtive | =0, |
| int | iLocalMatrix | =0, |
| int | iLocalGraphicAttributs | =0, |
| int | iCrossHighlight | = 0, |
| int | 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.
- iViewpoint
- 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
CATCommand which is the father of the
CATSelector 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 AttachTo
-
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.
- iViewpoint
- Viewpoint where the model must be visualized.
- iSelectorFather
- The
CATCommand which is the father of the
CATSelector 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 BuildHighlightLook
-
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
-
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
CATIVisu.BuildRep method of one visualization extension, or from the
CATIVisu.ModifyRep 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
-
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
-
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
-
Requests the processing of the input event.
Role:
- Parameters:
-
- iNotif
- Event to process
- iViewpoint
- Viewpoint into which one wants to process the input event. More precisely, the input is processed in all the cells having iViewpoint 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
-
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
-
Detaches all tuples ( path / viewpoint / list of visualization interfaces ) corresponding to a given path and a given viewpoint.
- Parameters:
-
- iTreeRoot
- Path of objects.
- iViewpoint
- 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
-
Detaches a tuple ( path / viewpoint / list of visualization interfaces ).
- Parameters:
-
- iTreeRoot
- Path of objects.
- iViewpoint
- 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 DetachFrom
-
Detaches all tuples ( path / viewpoint / list of visualization interfaces ) corresponding to a given viewpoint.
- Parameters:
-
- iViewpoint
- 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 DetachHSOFrom
-
Tells to VisuManager that we want to detach the Hso from a peculiar
viewpoint.
- Parameters:
-
- iViewpoint
- 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
-
Tells to VisuManager that we want to detach the Pso from a peculiar
viewpoint.
- Parameters:
-
- iViewpoint
- 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
-
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.
- iViewpoint
- 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
-
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.
- iViewpoint
- 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 DisconnectFrom
-
Disconnects all the cells corresponding to tuples (path / viewpoint/ list of visualization interfaces) having a given viewpoint.
- Parameters:
-
- iViewpoint
- 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 DisconnectHSOFrom
-
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 DisconnectHSOFrom
-
Disables the highligth of a viewpoint.
- Parameters:
-
- iViewpoint
- The viewpoint which is disable to highlight.
- Returns:
- an HRESULT value.
Legal values:
- S_OK if the operation succeeds
- E_FAIL otherwise
.
o DisconnectPSOFrom
-
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 DisconnectPSOFrom
-
Disablea the pre-highligth of a viewpoint.
- Parameters:
-
- iViewpoint
- The viewpoint which is disable to pre-highlight.
- Returns:
- an HRESULT value.
Legal values:
- S_OK if the operation succeeds
- E_FAIL otherwise
.
o DisconnectVisuFrom
-
Disconnects the visualization of a tree of reps without destroying it.
Event sending is also disconnected.
- Parameters:
-
- iTreeRoot
- Path of objects.
- iViewpoint
- 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
-
Disconnects the visualization of a tree of reps without destroying it.
Event sending is also disconnected.
- Parameters:
-
- iTreeRoot
- Path of objects.
- iViewpoint
- 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 DisconnectVisuFrom
-
Disconnects the visualization of a tree of reps without destroying it.
Event sending is also disconnected.
- Parameters:
-
- iViewpoint
- 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 Draw
-
Forces the given viewpoint to be redrawn.
- Returns:
- an HRESULT value.
Legal values:
- S_OK if the operation succeeds
- E_FAIL otherwise
.
o DuplicateViewpoint
-
Duplicates an existing attachment.
Role:
Create new attachments to the visu manager from an existing viewpoint
to a new viewpoint.
- Parameters:
-
- iViewpointSource
- The viewpoint from which you want to dupplicate attachments
- iViewpointTarget
- The new viewpoint you want to attach to the visu manager like
the viewpoint source.
- Returns:
- The result of the call.
o EmptyHSO
-
Empties manually the HSO.
- Returns:
- an HRESULT value.
Legal values:
- S_OK if the operation succeeds
- E_FAIL otherwise
.
o EmptyPSO
-
Empties manually the PSO.
- Returns:
- an HRESULT value.
Legal values:
- S_OK if the operation succeeds
- E_FAIL otherwise
.
o FindNextRep
-
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
-
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
-
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
-
Gets The VisuManager.
- Returns:
- The VisuManager
o IsConnectedTo
-
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.
- iViewpoint
- Viewpoint in which objects are visualized.
o ReconnectHSOTo
-
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.
- iViewpoint
- 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 ReconnectHSOTo
-
Enables the highligth in a given viewpoint.
- Parameters:
-
- iViewpoint
- The viewpoint which is enable to highlight.
- Returns:
- an HRESULT value.
Legal values:
- S_OK if the operation succeeds
- E_FAIL otherwise
.
o ReconnectPSOTo
-
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.
- iViewpoint
- 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 ReconnectPSOTo
-
Enablea the pre-highligth in a given viewpoint.
- Parameters:
-
- iViewpoint
- The viewpoint which is enable to pre-highlight.
- Returns:
- an HRESULT value.
Legal values:
- S_OK if the operation succeeds
- E_FAIL otherwise
.
o ReconnectTo
-
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.
- iViewpoint
- 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
-
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.
- iViewpoint
- 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 ReconnectTo
-
Reconnects to all the cells corresponding to tuples (path / viewpoint/ list of visualization interfaces) having a given viewpoint.
- Parameters:
-
- iViewpoint
- 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 ReconnectVisuTo
-
Reconnects the visualization of a tree without rebuilding it. This method is used together with the
DisconnectVisuFrom method. Event sending is reconnected.
- Parameters:
-
- iTreeRoot
- Path of objects.
- iViewpoint
- 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
-
Reconnects the visualization of a tree without rebuilding it. This method is used together with the
DisconnectVisuFrom method. Event sending is reconnected.
- Parameters:
-
- iTreeRoot
- Path of objects.
- iViewpoint
- 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
-
Reconnects the visualization of a tree without rebuilding it. This method is used together with the
DisconnectVisuFrom method. Event sending is reconnected.
- Parameters:
-
- iViewpoint
- 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 SetFurtiveMode
-
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
-
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
-
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
-
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.
- iViewpoint
- 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
-
(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
-
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: CATVisualization