All Frameworks  Class Hierarchy  This Framework  Previous  Indexes

AnalysisMeshingModel Interface CATIMSHVisuManager

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIMSHVisuManager
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIMSHVisuManager

Interface giving access to visualization services on the Mesh Manager.
See CATIMSHMeshManager.


Method Index


o BuildPathElement(CATMSHElement*,int,int)
Build a path element from a finite element.
o BuildPathElement(CATMSHMeshDomain*)
Build a path element from a Mesh Domain.
o BuildPathElement(CATMSHNode*)
Build a path element from a finite element node.
o GetResolution1D()
Get the resolution of the entire mesh ( 1D elements only ).
o GetVisibility()
Returns the visibility of the entire mesh (nodes and elements).
o SetPickMode(int)
Set the sensitivity to picking of the entire mesh (nodes and elements).
o SetResolution1D(float)
Set the resolution of the entire mesh ( 1D elements only ).
o SetVisibility(int)
Set the visibility of the entire mesh (nodes and elements).
o SetVisualizationMode(CATMSHVisuMode)
Set the mode used to visualize finite elements.
o SetVisualizationWay(CATMSHVisuWay)
Set the way used to visualize finite elements.

Enumerated Type Index


o CATMSHVisuMode
Mode used to visualisation finite elements.
o CATMSHVisuWay
Way used to visualize finite elements.

Methods


o BuildPathElement
public virtual CATPathElement * BuildPathElement(CATMSHElement* iElement,
int iFaceNumber= -1 ,
int iEdgeNumber= -1 )= 0
Build a path element from a finite element.
Role: This method should be used in order to build a path element from a finite element.

The highlight can be either the full element, a face or an edge.

The resulting path element can be used to highlight the element, the face or the edge.

Parameters:
iElement
Finite element to be placed at bottom of the path element.
iFaceNumber
Face number to be placed in path element. A -1 value indicates all faces.
iEdgeNumber
Edge number to be placed in path element. A -1 value indicates all edges.
Returns:
CATBaseUnknown#Release The created path element.
o BuildPathElement
public virtual CATPathElement * BuildPathElement(CATMSHMeshDomain* iDomain)= 0
Build a path element from a Mesh Domain.
Role: This method should be used in order to build a path element from a Mesh Domain.

The resulting path element can be used to highlight the Mesh Domain.

Parameters:
iNode
Mesh Domain to be placed at bottom of the path element.
Returns:
CATBaseUnknown#Release The created path element.
o BuildPathElement
public virtual CATPathElement * BuildPathElement(CATMSHNode* iNode)= 0
Build a path element from a finite element node.
Role: This method should be used in order to build a path element from a finite element node.

The resulting path element can be used to highlight the node.

Parameters:
iNode
Finite element node to be placed at bottom of the path element.
Returns:
CATBaseUnknown#Release The created path element.
o GetResolution1D
public virtual float GetResolution1D()const = 0
Get the resolution of the entire mesh ( 1D elements only ).
Returns:
Float The mesh current resolution value.
o GetVisibility
public virtual int GetVisibility()= 0
Returns the visibility of the entire mesh (nodes and elements).
o SetPickMode
public virtual void SetPickMode(int iPicking)= 0
Set the sensitivity to picking of the entire mesh (nodes and elements).
Parameters:
iPicking
Picking sensitivity.
Legal values:
0
Nodes and elements are not sensitive to picking.
1
Nodes and elements can be picked.
o SetResolution1D
public virtual void SetResolution1D(float iResolution)= 0
Set the resolution of the entire mesh ( 1D elements only ).
Parameters:
iResolution
Value of the mesh resolution.
Legal value:
Strictly positive
o SetVisibility
public virtual void SetVisibility(int iVisible= 1 )= 0
Set the visibility of the entire mesh (nodes and elements).
Parameters:
iVisible
Visibility mode.
Legal values:
0
Nodes and elements are not visible.
1
Nodes and elements are visible.
o SetVisualizationMode
public virtual HRESULT SetVisualizationMode(CATMSHVisuMode iMode)= 0
Set the mode used to visualize finite elements.
Parameters:
iMode
Mode used to visualize finite elements.
Legal values:
StandardVisualization
Finite elements color correspond to Mesh Part/Group.
QualityVisualization
Finite elements color correspond to quality.
OrientationVisualization
Finite elements color correspond to orientation.
Returns:
An HRESULT.
Legal values:
S_OK
Visualization mode has been successfully activated.
E_FAIL
A problem occured.
o SetVisualizationWay
public virtual HRESULT SetVisualizationWay(CATMSHVisuWay iWay)= 0
Set the way used to visualize finite elements.
Parameters:
iWay
Way used to visualize finite elements.
Legal values:
VisuByMeshPart
Finite elements are visualized through Mesh Parts.
VisuByElementGroup
Finite elements are visualized through Groups.
Returns:
An HRESULT.
Legal values:
S_OK
Visualization way has been successfully activated.
E_FAIL
A problem occured.

Enumerated Types


o CATMSHVisuMode
enum CATMSHVisuMode {
  StandardVisualization,
  QualityVisualization,
  OrientationVisualization
}
Mode used to visualisation finite elements.
Parameters:
StandardVisualization
Finite elements are visualized using color of their Mesh Part/Group.
QualityVisualization
Finite elements are visualized using color corresponding to their quality.
OrientationVisualization
Finite elements are visualized using color corresponding to their orientation.
o CATMSHVisuWay
enum CATMSHVisuWay {
  VisuByMeshPart,
  VisuByElementGroup
}
Way used to visualize finite elements.
Parameters:
VisuByMeshPart
Finite elements are visualized through the Mesh Part they belong to.
VisuByElementGroup
Finite elements are visualized through the Group(s) they belong to.

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

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