Version: 6.3.1
Public Member Functions

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)
void SetMarkerStd (in MarkerType theType, in MarkerScale theScale)
void SetMarkerTexture (in long theTextureId)
MarkerType GetMarkerType ()
MarkerScale GetMarkerScale ()
long GetMarkerTexture ()
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:
theColorThe 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:
theColorThe 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:
theColorThe 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:
theTypeThe 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:
theTypeThe 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

void VISU.Prs3d.SetMarkerStd ( in MarkerType  theType,
in MarkerScale  theScale 
) [inherited]

Set standard point marker for the object

Parameters:
theTypestandard marker type
theScalestandard marker scale
void VISU.Prs3d.SetMarkerTexture ( in long  theTextureId) [inherited]

Set custom point marker for the object. The texture can be added by LoadTexture() function

Parameters:
theTextureIdtexture ID
MarkerType VISU.Prs3d.GetMarkerType ( ) [inherited]

Get type of the point marker assigned to the object

Returns:
current marker type (MT_NONE if no marker is set)
MarkerScale VISU.Prs3d.GetMarkerScale ( ) [inherited]

Get scale of the point marker assigned to the object

Returns:
current marker scale (MS_NONE if no marker is set)
long VISU.Prs3d.GetMarkerTexture ( ) [inherited]

Get texture idenifier of the point marker assigned to the object

Returns:
marker texture ID (0 if no marker set)
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

Copyright © 2007-2011 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