SALOME documentation central

VISU.Mesh Interface Reference

Interface of the mesh. More...

import "VISU_Gen.idl";

Inheritance diagram for VISU.Mesh:
Inheritance graph

Public Member Functions

void SetCellColor (in SALOMEDS::Color theColor)
SALOMEDS::Color GetCellColor ()
void SetNodeColor (in SALOMEDS::Color theColor)
SALOMEDS::Color GetNodeColor ()
void SetLinkColor (in SALOMEDS::Color theColor)
SALOMEDS::Color GetLinkColor ()
void SetPresentationType (in PresentationType theType)
PresentationType GetPresentationType ()
void SetQuadratic2DPresentationType (in Quadratic2DPresentationType theType)
Quadratic2DPresentationType GetQuadratic2DPresentationType ()
void SetShrink (in boolean toShrink)
boolean IsShrank ()
void SetOffset (in float theDx, in float theDy, in float theDz)
void GetOffset (out float theDx, out float theDy, out float theDz)
float GetMemorySize ()
void RemoveFromStudy ()
IdType GetID ()
VISUType GetType ()

Detailed Description

Manages presentation parameters of a 3D presentation of a mesh. This object can be used for presentation of set of curves using Container class.


Member Function Documentation

void VISU.Mesh.SetCellColor ( in SALOMEDS::Color  theColor  ) 

Sets the color of mesh cells.

Parameters:
theColor The color of the cells. This parameter is taken from Color enumeration.
SALOMEDS::Color VISU.Mesh.GetCellColor (  ) 

Gets the color of mesh cells.

void VISU.Mesh.SetNodeColor ( in SALOMEDS::Color  theColor  ) 

Sets the color of mesh nodes.

Parameters:
theColor The color of the nodes. This parameter is taken from Color enumeration.
SALOMEDS::Color VISU.Mesh.GetNodeColor (  ) 

Gets the color of mesh nodes.

void VISU.Mesh.SetLinkColor ( in SALOMEDS::Color  theColor  ) 

Sets the color of mesh links.

Parameters:
theColor The color of the links. This parameter is taken from Color enumeration.
SALOMEDS::Color VISU.Mesh.GetLinkColor (  ) 

Gets the color of mesh links.

void VISU.Mesh.SetPresentationType ( in PresentationType  theType  ) 

Sets the type of representation of a mesh.

Parameters:
theType The of representation of a mesh. This parameter is taken from PresentationType enumeration.
PresentationType VISU.Mesh.GetPresentationType (  ) 

Gets the type of representation of the mesh.

Returns:
The type of representation of the mesh.
void VISU.Mesh.SetQuadratic2DPresentationType ( in Quadratic2DPresentationType  theType  ) 

Sets the type of representation of a 2D quadratic mesh elements.

Parameters:
theType The type of representation of 2D quadratic mesh elements. This parameter is taken from Quadratic2DPresentationType enumeration.
Quadratic2DPresentationType VISU.Mesh.GetQuadratic2DPresentationType (  ) 

Gets the type of representation of the 2D quadratic mesh elements.

Returns:
The type of representation of the 2D quadratic mesh elements.
void VISU.Mesh.SetShrink ( in boolean  toShrink  ) 

Switches shrink mode of presentation Note: SetPresentationType(SHRINK) is same as SetShrink(True)

boolean VISU.Mesh.IsShrank (  ) 

Returns current state of shrink mode

void VISU.Prs3d.SetOffset ( in float  theDx,
in float  theDy,
in float  theDz 
) [inherited]

Move the 3D presentation according to the given offset parameters

void VISU.Prs3d.GetOffset ( out float  theDx,
out float  theDy,
out float  theDz 
) [inherited]

Gets offset parameters for the 3D presentation

float VISU.Prs3d.GetMemorySize (  )  [inherited]

Gets memory size actually used by the presentation (Mb).

void VISU.RemovableObject.RemoveFromStudy (  )  [inherited]

Remove object from study.

IdType VISU.Base.GetID (  )  [inherited]

Returns ID of the object.

VISUType VISU.Base.GetType (  )  [inherited]

Returns the type of the presentable object

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator

Copyright © 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS