OCC.MeshVS module

class Handle_MeshVS_DataMapNodeOfDataMapOfColorMapOfInteger(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_DataMapNodeOfDataMapOfHArray1OfSequenceOfInteger(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_DataMapNodeOfDataMapOfIntegerAsciiString(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_DataMapNodeOfDataMapOfIntegerBoolean(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_DataMapNodeOfDataMapOfIntegerColor(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_DataMapNodeOfDataMapOfIntegerMaterial(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_DataMapNodeOfDataMapOfIntegerMeshEntityOwner(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_DataMapNodeOfDataMapOfIntegerOwner(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_DataMapNodeOfDataMapOfIntegerTwoColors(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_DataMapNodeOfDataMapOfIntegerVector(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_DataMapNodeOfDataMapOfTwoColorsMapOfInteger(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_DataSource(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_DataSource3D(*args)

Bases: OCC.MeshVS.Handle_MeshVS_DataSource

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_DeformedDataSource(*args)

Bases: OCC.MeshVS.Handle_MeshVS_DataSource

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_Drawer(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_DummySensitiveEntity(*args)

Bases: OCC.SelectBasics.Handle_SelectBasics_SensitiveEntity

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_ElementalColorPrsBuilder(*args)

Bases: OCC.MeshVS.Handle_MeshVS_PrsBuilder

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_HArray1OfSequenceOfInteger(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_Mesh(*args)

Bases: OCC.AIS.Handle_AIS_InteractiveObject

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_MeshEntityOwner(*args)

Bases: object

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_MeshOwner(*args)

Bases: object

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_MeshPrsBuilder(*args)

Bases: OCC.MeshVS.Handle_MeshVS_PrsBuilder

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_NodalColorPrsBuilder(*args)

Bases: OCC.MeshVS.Handle_MeshVS_PrsBuilder

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_PrsBuilder(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_SensitiveFace(*args)

Bases: OCC.Select3D.Handle_Select3D_SensitiveFace

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_SensitiveMesh(*args)

Bases: OCC.Select3D.Handle_Select3D_SensitiveEntity

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_SensitivePolyhedron(*args)

Bases: OCC.Select3D.Handle_Select3D_SensitiveEntity

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_SensitiveSegment(*args)

Bases: OCC.Select3D.Handle_Select3D_SensitiveSegment

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_SequenceNodeOfSequenceOfPrsBuilder(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_StdMapNodeOfMapOfTwoNodes(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_TextPrsBuilder(*args)

Bases: OCC.MeshVS.Handle_MeshVS_PrsBuilder

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_MeshVS_VectorPrsBuilder(*args)

Bases: OCC.MeshVS.Handle_MeshVS_PrsBuilder

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class MeshVS_Array1OfSequenceOfInteger(*args)

Bases: object

Parameters:
  • Low (int) –
  • Up (int) –
  • Item (TColStd_SequenceOfInteger &) –
  • Low
  • Up
Return type:

None

Return type:

None

Assign()
Parameters:Other (MeshVS_Array1OfSequenceOfInteger &) –
Return type:MeshVS_Array1OfSequenceOfInteger
ChangeValue()
Parameters:Index (int) –
Return type:TColStd_SequenceOfInteger
Destroy()
Return type:None
Init()
Parameters:V (TColStd_SequenceOfInteger &) –
Return type:None
IsAllocated()
Return type:bool
Length()
Return type:int
Lower()
Return type:int
Set()
Parameters:Other (MeshVS_Array1OfSequenceOfInteger &) –
Return type:MeshVS_Array1OfSequenceOfInteger
SetValue()
Parameters:
  • Index (int) –
  • Value (TColStd_SequenceOfInteger &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (int) –
Return type:TColStd_SequenceOfInteger
thisown

The membership flag

class MeshVS_ColorHasher

Bases: object

static HashCode(*args)
Parameters:
  • K (Quantity_Color &) –
  • Upper (int) –
Return type:

int

static IsEqual(*args)
Parameters:
  • K1 (Quantity_Color &) –
  • K2 (Quantity_Color &) –
Return type:

bool

thisown

The membership flag

MeshVS_ColorHasher_HashCode(*args)
Parameters:
  • K (Quantity_Color &) –
  • Upper (int) –
Return type:

int

MeshVS_ColorHasher_IsEqual(*args)
Parameters:
  • K1 (Quantity_Color &) –
  • K2 (Quantity_Color &) –
Return type:

bool

class MeshVS_DataMapIteratorOfDataMapOfColorMapOfInteger(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (MeshVS_DataMapOfColorMapOfInteger &) –
Return type:None
Initialize()
Parameters:aMap (MeshVS_DataMapOfColorMapOfInteger &) –
Return type:None
Key()
Return type:Quantity_Color
Value()
Return type:TColStd_MapOfInteger
thisown

The membership flag

class MeshVS_DataMapIteratorOfDataMapOfHArray1OfSequenceOfInteger(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (MeshVS_DataMapOfHArray1OfSequenceOfInteger &) –
Return type:None
Initialize()
Parameters:aMap (MeshVS_DataMapOfHArray1OfSequenceOfInteger &) –
Return type:None
Key()
Return type:int
Value()
Return type:Handle_MeshVS_HArray1OfSequenceOfInteger
thisown

The membership flag

class MeshVS_DataMapIteratorOfDataMapOfIntegerAsciiString(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (MeshVS_DataMapOfIntegerAsciiString &) –
Return type:None
Initialize()
Parameters:aMap (MeshVS_DataMapOfIntegerAsciiString &) –
Return type:None
Key()
Return type:int
Value()
Return type:TCollection_AsciiString
thisown

The membership flag

class MeshVS_DataMapIteratorOfDataMapOfIntegerBoolean(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (MeshVS_DataMapOfIntegerBoolean &) –
Return type:None
Initialize()
Parameters:aMap (MeshVS_DataMapOfIntegerBoolean &) –
Return type:None
Key()
Return type:int
Value()
Return type:bool
thisown

The membership flag

class MeshVS_DataMapIteratorOfDataMapOfIntegerColor(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (MeshVS_DataMapOfIntegerColor &) –
Return type:None
Initialize()
Parameters:aMap (MeshVS_DataMapOfIntegerColor &) –
Return type:None
Key()
Return type:int
Value()
Return type:Quantity_Color
thisown

The membership flag

class MeshVS_DataMapIteratorOfDataMapOfIntegerMaterial(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (MeshVS_DataMapOfIntegerMaterial &) –
Return type:None
Initialize()
Parameters:aMap (MeshVS_DataMapOfIntegerMaterial &) –
Return type:None
Key()
Return type:int
Value()
Return type:Graphic3d_MaterialAspect
thisown

The membership flag

class MeshVS_DataMapIteratorOfDataMapOfIntegerMeshEntityOwner(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (MeshVS_DataMapOfIntegerMeshEntityOwner &) –
Return type:None
Initialize()
Parameters:aMap (MeshVS_DataMapOfIntegerMeshEntityOwner &) –
Return type:None
Key()
Return type:int
Value()
Return type:Handle_MeshVS_MeshEntityOwner
thisown

The membership flag

class MeshVS_DataMapIteratorOfDataMapOfIntegerOwner(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (MeshVS_DataMapOfIntegerOwner &) –
Return type:None
Initialize()
Parameters:aMap (MeshVS_DataMapOfIntegerOwner &) –
Return type:None
Key()
Return type:int
Value()
Return type:Handle_SelectMgr_EntityOwner
thisown

The membership flag

class MeshVS_DataMapIteratorOfDataMapOfIntegerTwoColors(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (MeshVS_DataMapOfIntegerTwoColors &) –
Return type:None
Initialize()
Parameters:aMap (MeshVS_DataMapOfIntegerTwoColors &) –
Return type:None
Key()
Return type:int
Value()
Return type:MeshVS_TwoColors
thisown

The membership flag

class MeshVS_DataMapIteratorOfDataMapOfIntegerVector(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (MeshVS_DataMapOfIntegerVector &) –
Return type:None
Initialize()
Parameters:aMap (MeshVS_DataMapOfIntegerVector &) –
Return type:None
Key()
Return type:int
Value()
Return type:gp_Vec
thisown

The membership flag

class MeshVS_DataMapIteratorOfDataMapOfTwoColorsMapOfInteger(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (MeshVS_DataMapOfTwoColorsMapOfInteger &) –
Return type:None
Initialize()
Parameters:aMap (MeshVS_DataMapOfTwoColorsMapOfInteger &) –
Return type:None
Key()
Return type:MeshVS_TwoColors
Value()
Return type:TColStd_MapOfInteger
thisown

The membership flag

class MeshVS_DataMapNodeOfDataMapOfColorMapOfInteger(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (Quantity_Color &) –
  • I (TColStd_MapOfInteger &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Key()
Return type:Quantity_Color
Value()
Return type:TColStd_MapOfInteger
thisown

The membership flag

class MeshVS_DataMapNodeOfDataMapOfHArray1OfSequenceOfInteger(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (int &) –
  • I (Handle_MeshVS_HArray1OfSequenceOfInteger &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
GetKey()

MeshVS_DataMapNodeOfDataMapOfHArray1OfSequenceOfInteger_GetKey(MeshVS_DataMapNodeOfDataMapOfHArray1OfSequenceOfInteger self) -> Standard_Integer

SetKey()

MeshVS_DataMapNodeOfDataMapOfHArray1OfSequenceOfInteger_SetKey(MeshVS_DataMapNodeOfDataMapOfHArray1OfSequenceOfInteger self, Standard_Integer value)

Value()
Return type:Handle_MeshVS_HArray1OfSequenceOfInteger
thisown

The membership flag

class MeshVS_DataMapNodeOfDataMapOfIntegerAsciiString(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (int &) –
  • I (TCollection_AsciiString &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
GetKey()

MeshVS_DataMapNodeOfDataMapOfIntegerAsciiString_GetKey(MeshVS_DataMapNodeOfDataMapOfIntegerAsciiString self) -> Standard_Integer

SetKey()

MeshVS_DataMapNodeOfDataMapOfIntegerAsciiString_SetKey(MeshVS_DataMapNodeOfDataMapOfIntegerAsciiString self, Standard_Integer value)

Value()
Return type:TCollection_AsciiString
thisown

The membership flag

class MeshVS_DataMapNodeOfDataMapOfIntegerBoolean(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (int &) –
  • I (bool) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
GetKey()

MeshVS_DataMapNodeOfDataMapOfIntegerBoolean_GetKey(MeshVS_DataMapNodeOfDataMapOfIntegerBoolean self) -> Standard_Integer

GetValue()

MeshVS_DataMapNodeOfDataMapOfIntegerBoolean_GetValue(MeshVS_DataMapNodeOfDataMapOfIntegerBoolean self) -> Standard_Boolean

SetKey()

MeshVS_DataMapNodeOfDataMapOfIntegerBoolean_SetKey(MeshVS_DataMapNodeOfDataMapOfIntegerBoolean self, Standard_Integer value)

SetValue()

MeshVS_DataMapNodeOfDataMapOfIntegerBoolean_SetValue(MeshVS_DataMapNodeOfDataMapOfIntegerBoolean self, Standard_Boolean value)

thisown

The membership flag

class MeshVS_DataMapNodeOfDataMapOfIntegerColor(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (int &) –
  • I (Quantity_Color &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
GetKey()

MeshVS_DataMapNodeOfDataMapOfIntegerColor_GetKey(MeshVS_DataMapNodeOfDataMapOfIntegerColor self) -> Standard_Integer

SetKey()

MeshVS_DataMapNodeOfDataMapOfIntegerColor_SetKey(MeshVS_DataMapNodeOfDataMapOfIntegerColor self, Standard_Integer value)

Value()
Return type:Quantity_Color
thisown

The membership flag

class MeshVS_DataMapNodeOfDataMapOfIntegerMaterial(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (int &) –
  • I (Graphic3d_MaterialAspect &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
GetKey()

MeshVS_DataMapNodeOfDataMapOfIntegerMaterial_GetKey(MeshVS_DataMapNodeOfDataMapOfIntegerMaterial self) -> Standard_Integer

SetKey()

MeshVS_DataMapNodeOfDataMapOfIntegerMaterial_SetKey(MeshVS_DataMapNodeOfDataMapOfIntegerMaterial self, Standard_Integer value)

Value()
Return type:Graphic3d_MaterialAspect
thisown

The membership flag

class MeshVS_DataMapNodeOfDataMapOfIntegerMeshEntityOwner(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (int &) –
  • I (Handle_MeshVS_MeshEntityOwner &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
GetKey()

MeshVS_DataMapNodeOfDataMapOfIntegerMeshEntityOwner_GetKey(MeshVS_DataMapNodeOfDataMapOfIntegerMeshEntityOwner self) -> Standard_Integer

SetKey()

MeshVS_DataMapNodeOfDataMapOfIntegerMeshEntityOwner_SetKey(MeshVS_DataMapNodeOfDataMapOfIntegerMeshEntityOwner self, Standard_Integer value)

Value()
Return type:Handle_MeshVS_MeshEntityOwner
thisown

The membership flag

class MeshVS_DataMapNodeOfDataMapOfIntegerOwner(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (int &) –
  • I (Handle_SelectMgr_EntityOwner &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
GetKey()

MeshVS_DataMapNodeOfDataMapOfIntegerOwner_GetKey(MeshVS_DataMapNodeOfDataMapOfIntegerOwner self) -> Standard_Integer

SetKey()

MeshVS_DataMapNodeOfDataMapOfIntegerOwner_SetKey(MeshVS_DataMapNodeOfDataMapOfIntegerOwner self, Standard_Integer value)

Value()
Return type:Handle_SelectMgr_EntityOwner
thisown

The membership flag

class MeshVS_DataMapNodeOfDataMapOfIntegerTwoColors(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (int &) –
  • I (MeshVS_TwoColors &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
GetKey()

MeshVS_DataMapNodeOfDataMapOfIntegerTwoColors_GetKey(MeshVS_DataMapNodeOfDataMapOfIntegerTwoColors self) -> Standard_Integer

SetKey()

MeshVS_DataMapNodeOfDataMapOfIntegerTwoColors_SetKey(MeshVS_DataMapNodeOfDataMapOfIntegerTwoColors self, Standard_Integer value)

Value()
Return type:MeshVS_TwoColors
thisown

The membership flag

class MeshVS_DataMapNodeOfDataMapOfIntegerVector(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (int &) –
  • I (gp_Vec) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
GetKey()

MeshVS_DataMapNodeOfDataMapOfIntegerVector_GetKey(MeshVS_DataMapNodeOfDataMapOfIntegerVector self) -> Standard_Integer

SetKey()

MeshVS_DataMapNodeOfDataMapOfIntegerVector_SetKey(MeshVS_DataMapNodeOfDataMapOfIntegerVector self, Standard_Integer value)

Value()
Return type:gp_Vec
thisown

The membership flag

class MeshVS_DataMapNodeOfDataMapOfTwoColorsMapOfInteger(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (MeshVS_TwoColors &) –
  • I (TColStd_MapOfInteger &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Key()
Return type:MeshVS_TwoColors
Value()
Return type:TColStd_MapOfInteger
thisown

The membership flag

class MeshVS_DataMapOfColorMapOfInteger(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (MeshVS_DataMapOfColorMapOfInteger &) –
Return type:MeshVS_DataMapOfColorMapOfInteger
Bind()
Parameters:
  • K (Quantity_Color &) –
  • I (TColStd_MapOfInteger &) –
Return type:

bool

ChangeFind()
Parameters:K (Quantity_Color &) –
Return type:TColStd_MapOfInteger
ChangeFind1()
Parameters:K (Quantity_Color &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (Quantity_Color &) –
Return type:TColStd_MapOfInteger
Find1()
Parameters:K (Quantity_Color &) –
Return type:Standard_Address
IsBound()
Parameters:K (Quantity_Color &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (MeshVS_DataMapOfColorMapOfInteger &) –
Return type:MeshVS_DataMapOfColorMapOfInteger
UnBind()
Parameters:K (Quantity_Color &) –
Return type:bool
thisown

The membership flag

class MeshVS_DataMapOfHArray1OfSequenceOfInteger(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (MeshVS_DataMapOfHArray1OfSequenceOfInteger &) –
Return type:MeshVS_DataMapOfHArray1OfSequenceOfInteger
Bind()
Parameters:
  • K (int &) –
  • I (Handle_MeshVS_HArray1OfSequenceOfInteger &) –
Return type:

bool

ChangeFind()
Parameters:K (int &) –
Return type:Handle_MeshVS_HArray1OfSequenceOfInteger
ChangeFind1()
Parameters:K (int &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (int &) –
Return type:Handle_MeshVS_HArray1OfSequenceOfInteger
Find1()
Parameters:K (int &) –
Return type:Standard_Address
IsBound()
Parameters:K (int &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (MeshVS_DataMapOfHArray1OfSequenceOfInteger &) –
Return type:MeshVS_DataMapOfHArray1OfSequenceOfInteger
UnBind()
Parameters:K (int &) –
Return type:bool
thisown

The membership flag

class MeshVS_DataMapOfIntegerAsciiString(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (MeshVS_DataMapOfIntegerAsciiString &) –
Return type:MeshVS_DataMapOfIntegerAsciiString
Bind()
Parameters:
  • K (int &) –
  • I (TCollection_AsciiString &) –
Return type:

bool

ChangeFind()
Parameters:K (int &) –
Return type:TCollection_AsciiString
ChangeFind1()
Parameters:K (int &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (int &) –
Return type:TCollection_AsciiString
Find1()
Parameters:K (int &) –
Return type:Standard_Address
IsBound()
Parameters:K (int &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (MeshVS_DataMapOfIntegerAsciiString &) –
Return type:MeshVS_DataMapOfIntegerAsciiString
UnBind()
Parameters:K (int &) –
Return type:bool
thisown

The membership flag

class MeshVS_DataMapOfIntegerBoolean(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (MeshVS_DataMapOfIntegerBoolean &) –
Return type:MeshVS_DataMapOfIntegerBoolean
Bind()
Parameters:
  • K (int &) –
  • I (bool) –
Return type:

bool

ChangeFind()
Parameters:K (int &) –
Return type:bool
ChangeFind1()
Parameters:K (int &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (int &) –
Return type:bool
Find1()
Parameters:K (int &) –
Return type:Standard_Address
IsBound()
Parameters:K (int &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (MeshVS_DataMapOfIntegerBoolean &) –
Return type:MeshVS_DataMapOfIntegerBoolean
UnBind()
Parameters:K (int &) –
Return type:bool
thisown

The membership flag

class MeshVS_DataMapOfIntegerColor(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (MeshVS_DataMapOfIntegerColor &) –
Return type:MeshVS_DataMapOfIntegerColor
Bind()
Parameters:
  • K (int &) –
  • I (Quantity_Color &) –
Return type:

bool

ChangeFind()
Parameters:K (int &) –
Return type:Quantity_Color
ChangeFind1()
Parameters:K (int &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (int &) –
Return type:Quantity_Color
Find1()
Parameters:K (int &) –
Return type:Standard_Address
IsBound()
Parameters:K (int &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (MeshVS_DataMapOfIntegerColor &) –
Return type:MeshVS_DataMapOfIntegerColor
UnBind()
Parameters:K (int &) –
Return type:bool
thisown

The membership flag

class MeshVS_DataMapOfIntegerMaterial(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (MeshVS_DataMapOfIntegerMaterial &) –
Return type:MeshVS_DataMapOfIntegerMaterial
Bind()
Parameters:
  • K (int &) –
  • I (Graphic3d_MaterialAspect &) –
Return type:

bool

ChangeFind()
Parameters:K (int &) –
Return type:Graphic3d_MaterialAspect
ChangeFind1()
Parameters:K (int &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (int &) –
Return type:Graphic3d_MaterialAspect
Find1()
Parameters:K (int &) –
Return type:Standard_Address
IsBound()
Parameters:K (int &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (MeshVS_DataMapOfIntegerMaterial &) –
Return type:MeshVS_DataMapOfIntegerMaterial
UnBind()
Parameters:K (int &) –
Return type:bool
thisown

The membership flag

class MeshVS_DataMapOfIntegerMeshEntityOwner(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (MeshVS_DataMapOfIntegerMeshEntityOwner &) –
Return type:MeshVS_DataMapOfIntegerMeshEntityOwner
Bind()
Parameters:
  • K (int &) –
  • I (Handle_MeshVS_MeshEntityOwner &) –
Return type:

bool

ChangeFind()
Parameters:K (int &) –
Return type:Handle_MeshVS_MeshEntityOwner
ChangeFind1()
Parameters:K (int &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (int &) –
Return type:Handle_MeshVS_MeshEntityOwner
Find1()
Parameters:K (int &) –
Return type:Standard_Address
IsBound()
Parameters:K (int &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (MeshVS_DataMapOfIntegerMeshEntityOwner &) –
Return type:MeshVS_DataMapOfIntegerMeshEntityOwner
UnBind()
Parameters:K (int &) –
Return type:bool
thisown

The membership flag

class MeshVS_DataMapOfIntegerOwner(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (MeshVS_DataMapOfIntegerOwner &) –
Return type:MeshVS_DataMapOfIntegerOwner
Bind()
Parameters:
  • K (int &) –
  • I (Handle_SelectMgr_EntityOwner &) –
Return type:

bool

ChangeFind()
Parameters:K (int &) –
Return type:Handle_SelectMgr_EntityOwner
ChangeFind1()
Parameters:K (int &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (int &) –
Return type:Handle_SelectMgr_EntityOwner
Find1()
Parameters:K (int &) –
Return type:Standard_Address
IsBound()
Parameters:K (int &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (MeshVS_DataMapOfIntegerOwner &) –
Return type:MeshVS_DataMapOfIntegerOwner
UnBind()
Parameters:K (int &) –
Return type:bool
thisown

The membership flag

class MeshVS_DataMapOfIntegerTwoColors(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (MeshVS_DataMapOfIntegerTwoColors &) –
Return type:MeshVS_DataMapOfIntegerTwoColors
Bind()
Parameters:
  • K (int &) –
  • I (MeshVS_TwoColors &) –
Return type:

bool

ChangeFind()
Parameters:K (int &) –
Return type:MeshVS_TwoColors
ChangeFind1()
Parameters:K (int &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (int &) –
Return type:MeshVS_TwoColors
Find1()
Parameters:K (int &) –
Return type:Standard_Address
IsBound()
Parameters:K (int &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (MeshVS_DataMapOfIntegerTwoColors &) –
Return type:MeshVS_DataMapOfIntegerTwoColors
UnBind()
Parameters:K (int &) –
Return type:bool
thisown

The membership flag

class MeshVS_DataMapOfIntegerVector(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (MeshVS_DataMapOfIntegerVector &) –
Return type:MeshVS_DataMapOfIntegerVector
Bind()
Parameters:
  • K (int &) –
  • I (gp_Vec) –
Return type:

bool

ChangeFind()
Parameters:K (int &) –
Return type:gp_Vec
ChangeFind1()
Parameters:K (int &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (int &) –
Return type:gp_Vec
Find1()
Parameters:K (int &) –
Return type:Standard_Address
IsBound()
Parameters:K (int &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (MeshVS_DataMapOfIntegerVector &) –
Return type:MeshVS_DataMapOfIntegerVector
UnBind()
Parameters:K (int &) –
Return type:bool
thisown

The membership flag

class MeshVS_DataMapOfTwoColorsMapOfInteger(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (MeshVS_DataMapOfTwoColorsMapOfInteger &) –
Return type:MeshVS_DataMapOfTwoColorsMapOfInteger
Bind()
Parameters:
  • K (MeshVS_TwoColors &) –
  • I (TColStd_MapOfInteger &) –
Return type:

bool

ChangeFind()
Parameters:K (MeshVS_TwoColors &) –
Return type:TColStd_MapOfInteger
ChangeFind1()
Parameters:K (MeshVS_TwoColors &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (MeshVS_TwoColors &) –
Return type:TColStd_MapOfInteger
Find1()
Parameters:K (MeshVS_TwoColors &) –
Return type:Standard_Address
IsBound()
Parameters:K (MeshVS_TwoColors &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (MeshVS_DataMapOfTwoColorsMapOfInteger &) –
Return type:MeshVS_DataMapOfTwoColorsMapOfInteger
UnBind()
Parameters:K (MeshVS_TwoColors &) –
Return type:bool
thisown

The membership flag

class MeshVS_DataSource(*args, **kwargs)

Bases: OCC.MMgt.MMgt_TShared

Get3DGeom()
  • This method returns topology information about 3D-element Returns false if element with ID isn’t 3D or because other troubles
Parameters:
  • ID (int) –
  • NbNodes (int &) –
  • Data (Handle_MeshVS_HArray1OfSequenceOfInteger &) –
Return type:

bool

GetAddr()
  • This method returns pointer which represents element or node data structure. This address will be saved in MeshVS_MeshEntityOwner, so that you can access to data structure fast by the method Owner(). In the redefined method you can return NULL. ID is the numerical identificator of node or element IsElement indicates this ID describe node ( if Standard_False ) or element ( if Standard_True )
Parameters:
  • ID (int) –
  • IsElement (bool) –
Return type:

Standard_Address

GetAllElements()
  • This method returns map of all elements the object consist of.
Return type:TColStd_PackedMapOfInteger
GetAllGroups()
  • This method returns map of all groups the object contains.
Parameters:Ids (TColStd_PackedMapOfInteger &) –
Return type:void
GetAllNodes()
  • This method returns map of all nodes the object consist of.
Return type:TColStd_PackedMapOfInteger
GetBoundingBox()
  • Returns the bounding box of the whole mesh. It is used in advanced selection mode to define roughly the sensitive area of the mesh. It can be redefined to get access to a box computed in advance.
Return type:Bnd_Box
GetDetectedEntities()
  • Returns maps of entities (nodes and elements) detected by mouse click at the point (X,Y) on the current view plane, with the tolerance aTol. DMin - is out argument should return actual detection tolerance. Returns True if something is detected. It should be redefined if the advanced mesh selection is activated. Default implementation returns False.
Parameters:
  • Prs (Handle_MeshVS_Mesh &) –
  • X (float) –
  • Y (float) –
  • aTol (float) –
  • Nodes (Handle_TColStd_HPackedMapOfInteger &) –
  • Elements (Handle_TColStd_HPackedMapOfInteger &) –
  • DMin (float &) –
Return type:

bool

  • Returns maps of entities (nodes and elements) detected by mouse selection with rectangular box (XMin, YMin, XMax, YMax) on the current veiw plane, with the tolerance aTol. Returns True if something is detected. It should be redefined if the advanced mesh selection is activated. Default implementation returns False.
Parameters:
  • Prs (Handle_MeshVS_Mesh &) –
  • XMin (float) –
  • YMin (float) –
  • XMax (float) –
  • YMax (float) –
  • aTol (float) –
  • Nodes (Handle_TColStd_HPackedMapOfInteger &) –
  • Elements (Handle_TColStd_HPackedMapOfInteger &) –
Return type:

bool

  • Returns maps of entities (nodes and elements) detected by mouse selection with the polyline <Polyline> on the current veiw plane, with the tolerance aTol. Returns True if something is detected. It should be redefined if the advanced mesh selection is activated. Default implementation returns False.
Parameters:
  • Prs (Handle_MeshVS_Mesh &) –
  • Polyline (TColgp_Array1OfPnt2d) –
  • aBox (Bnd_Box2d &) –
  • aTol (float) –
  • Nodes (Handle_TColStd_HPackedMapOfInteger &) –
  • Elements (Handle_TColStd_HPackedMapOfInteger &) –
Return type:

bool

  • Filter out the maps of mesh entities so as to keep only the entities that are allowed to be selected according to the current context. Returns True if any of the maps has been changed. It should be redefined if the advanced mesh selection is activated. Default implementation returns False.
Parameters:
  • Prs (Handle_MeshVS_Mesh &) –
  • Nodes (Handle_TColStd_HPackedMapOfInteger &) –
  • Elements (Handle_TColStd_HPackedMapOfInteger &) –
Return type:

bool

GetGeom()
  • Returns geometry information about node or element ID is the numerical identificator of node or element IsElement indicates this ID describe node ( if Standard_False ) or element ( if Standard_True ) Coords is an array of co-ordinates of node(s). For node it is only 3 numbers: X, Y, Z in the strict order For element it is 3*n numbers, where n is number of this element vertices The order is strict also: X1, Y1, Z1, X2,...., where Xi, Yi, Zi are co-ordinates of vertices NbNodes is number of nodes. It is recommended this parameter to be set to 1 for node. Type is type of node or element (from enumeration). It is recommended this parameter to be set to MeshVS_ET_Node for node.
Parameters:
  • ID (int) –
  • IsElement (bool) –
  • Coords (TColStd_Array1OfReal &) –
  • NbNodes (int &) –
  • Type (MeshVS_EntityType &) –
Return type:

bool

GetGeomType()
  • This method is similar to GetGeom, but returns only element or node type.
Parameters:
  • ID (int) –
  • IsElement (bool) –
  • Type (MeshVS_EntityType &) –
Return type:

bool

GetGroup()
  • This method returns map of all group elements.
Parameters:
  • Id (int) –
  • Type (MeshVS_EntityType &) –
  • Ids (TColStd_PackedMapOfInteger &) –
Return type:

bool

GetGroupAddr()
  • This method returns pointer which represents group data structure. This address will be saved in MeshVS_MeshOwner, so that you can access to data structure fast by the method Owner(). In the redefined method you can return NULL. ID is the numerical identificator of group
Parameters:ID (int) –
Return type:Standard_Address
GetHandle()
GetNodeNormal()
  • This method return normal of node ranknode of face Id, which is using for smooth shading presentation. Returns false if normal isn’t defined.
Parameters:
  • ranknode (int) –
  • ElementId (int) –
  • nx (float &) –
  • ny (float &) –
  • nz (float &) –
Return type:

bool

GetNodesByElement()
  • This method returns information about nodes this element consist of. ID is the numerical identificator of element. NodeIDs is the output array of nodes IDs in correct order, the same as coordinates returned by GetGeom(). NbNodes is number of nodes (number of items set in NodeIDs). Returns False if element does not exist
Parameters:
  • ID (int) –
  • NodeIDs (TColStd_Array1OfInteger &) –
  • NbNodes (int &) –
Return type:

bool

GetNormal()
  • This method calculates normal of face, which is using for correct reflection presentation. There is default method, for advance reflection this method can be redefined. Id is the numerical identificator of only element! Max is maximal number of nodes an element can consist of nx, ny, nz are values whose represent co-ordinates of normal (will be returned) In the redefined method you can return normal with length more then 1, but in this case the appearance of element will be more bright than usual. For ordinary brightness you must return normal with length 1
Parameters:
  • Id (int) –
  • Max (int) –
  • nx (float &) –
  • ny (float &) –
  • nz (float &) –
Return type:

bool

GetNormalsByElement()
  • This method puts components of normal vectors at each node of a mesh face (at each face of a mesh volume) into the output array. Returns false if some problem was detected during calculation of normals. Id is an identifier of the mesh element. IsNodal, when true, means that normals at mesh element nodes are needed. If nodal normals are not available, or IsNodal is false, or the mesh element is a volume, then the output array contents depend on the element type: face: a normal calculated by GetNormal() is duplicated for each node of the face; volume: normals to all faces of the volume are computed (not for each node!). MaxNodes is maximal number of nodes an element can consist of. Normals contains the result.
Parameters:
  • Id (int) –
  • IsNodal (bool) –
  • MaxNodes (int) –
  • Normals (Handle_TColStd_HArray1OfReal &) –
Return type:

bool

IsAdvancedSelectionEnabled()
  • Returns True if advanced mesh selection is enabled. Default implementation returns False. It should be redefined to return True for advanced mesh selection activation.
Return type:bool
thisown

The membership flag

class MeshVS_DataSource3D(*args, **kwargs)

Bases: OCC.MeshVS.MeshVS_DataSource

static CreatePrismTopology(*args)
Parameters:BasePoints (int) –
Return type:Handle_MeshVS_HArray1OfSequenceOfInteger
static CreatePyramidTopology(*args)
Parameters:BasePoints (int) –
Return type:Handle_MeshVS_HArray1OfSequenceOfInteger
GetHandle()
GetPrismTopology()
Parameters:BasePoints (int) –
Return type:Handle_MeshVS_HArray1OfSequenceOfInteger
GetPyramidTopology()
Parameters:BasePoints (int) –
Return type:Handle_MeshVS_HArray1OfSequenceOfInteger
thisown

The membership flag

MeshVS_DataSource3D_CreatePrismTopology(*args)
Parameters:BasePoints (int) –
Return type:Handle_MeshVS_HArray1OfSequenceOfInteger
MeshVS_DataSource3D_CreatePyramidTopology(*args)
Parameters:BasePoints (int) –
Return type:Handle_MeshVS_HArray1OfSequenceOfInteger
class MeshVS_DeformedDataSource(*args)

Bases: OCC.MeshVS.MeshVS_DataSource

  • Constructor theNonDeformDS is canonical non-deformed data source, by which we are able to calculate deformed mesh geometry theMagnify is coefficient of displacement magnify
Parameters:
  • theNonDeformDS (Handle_MeshVS_DataSource &) –
  • theMagnify (float) –
Return type:

None

GetHandle()
GetMagnify()
  • With this methods you can read and change magnify coefficient of nodal displacements
Return type:float
GetNonDeformedDataSource()
  • With this methods you can read and change internal canonical data source
Return type:Handle_MeshVS_DataSource
GetVector()
  • This method returns vector ( Vect ) assigned to node number ID.
Parameters:
Return type:

bool

GetVectors()
  • This method returns map of nodal displacement vectors
Return type:MeshVS_DataMapOfIntegerVector
SetMagnify()
Parameters:theMagnify (float) –
Return type:None
SetNonDeformedDataSource()
Parameters:theDS (Handle_MeshVS_DataSource &) –
Return type:None
SetVector()
  • This method sets vector ( Vect ) assigned to node number ID.
Parameters:
Return type:

None

SetVectors()
  • This method sets map of nodal displacement vectors (Map).
Parameters:Map (MeshVS_DataMapOfIntegerVector &) –
Return type:None
thisown

The membership flag

class MeshVS_Drawer(*args, **kwargs)

Bases: OCC.MMgt.MMgt_TShared

Assign()
  • This method copies other drawer contents to this.
Parameters:aDrawer (Handle_MeshVS_Drawer &) –
Return type:void
GetAsciiString()
Parameters:
  • Key (int) –
  • Value (TCollection_AsciiString &) –
Return type:

bool

GetBoolean()
Parameters:
Return type:

bool

GetColor()
Parameters:
  • Key (int) –
  • Value (Quantity_Color &) –
Return type:

bool

GetDouble()
Parameters:
  • Key (int) –
  • Value (float &) –
Return type:

bool

GetHandle()
GetInteger()
Parameters:
  • Key (int) –
  • Value (int &) –
Return type:

bool

GetMaterial()
Parameters:
  • Key (int) –
  • Value (Graphic3d_MaterialAspect &) –
Return type:

bool

RemoveAsciiString()
Parameters:Key (int) –
Return type:bool
RemoveBoolean()
Parameters:Key (int) –
Return type:bool
RemoveColor()
Parameters:Key (int) –
Return type:bool
RemoveDouble()
Parameters:Key (int) –
Return type:bool
RemoveInteger()
Parameters:Key (int) –
Return type:bool
RemoveMaterial()
Parameters:Key (int) –
Return type:bool
SetAsciiString()
Parameters:
  • Key (int) –
  • Value (TCollection_AsciiString &) –
Return type:

None

SetBoolean()
Parameters:
Return type:

None

SetColor()
Parameters:
  • Key (int) –
  • Value (Quantity_Color &) –
Return type:

None

SetDouble()
Parameters:
Return type:

None

SetInteger()
Parameters:
  • Key (int) –
  • Value (int) –
Return type:

None

SetMaterial()
Parameters:
  • Key (int) –
  • Value (Graphic3d_MaterialAspect &) –
Return type:

None

thisown

The membership flag

class MeshVS_DummySensitiveEntity(*args)

Bases: OCC.SelectBasics.SelectBasics_SensitiveEntity

Parameters:OwnerId (Handle_SelectBasics_EntityOwner &) –
Return type:None
GetHandle()
Matches()
Parameters:
  • thePickArgs (SelectBasics_PickArgs &) –
  • theMatchDMin (float &) –
  • theMatchDepth (float &) –
  • XMin (float) –
  • YMin (float) –
  • XMax (float) –
  • YMax (float) –
  • aTol (float) –
  • Polyline (TColgp_Array1OfPnt2d) –
  • aBox (Bnd_Box2d &) –
  • aTol
Return type:

bool

Return type:

bool

Return type:

bool

thisown

The membership flag

class MeshVS_ElementalColorPrsBuilder(*args)

Bases: OCC.MeshVS.MeshVS_PrsBuilder

  • Constructor
Parameters:
  • Parent (Handle_MeshVS_Mesh &) –
  • Flags (MeshVS_DisplayModeFlags &) – default value is MeshVS_DMF_ElementalColorDataPrs
  • DS (Handle_MeshVS_DataSource &) – default value is 0
  • Id (int) – default value is -1
  • Priority (MeshVS_BuilderPriority &) – default value is MeshVS_BP_ElemColor
Return type:

None

GetColor1()
  • Returns color assigned with element number ID
Parameters:
  • ID (int) –
  • theColor (Quantity_Color &) –
Return type:

bool

GetColor2()
  • Returns colors assigned with element number ID
Parameters:
  • ID (int) –
  • theColor (MeshVS_TwoColors &) –
Return type:

bool

  • Returns colors assigned with element number ID theColor1 is the front element color theColor2 is the back element color
Parameters:
  • ID (int) –
  • theColor1 (Quantity_Color &) –
  • theColor2 (Quantity_Color &) –
Return type:

bool

GetColors1()
  • Returns map of colors same for front and back side of face.
Return type:MeshVS_DataMapOfIntegerColor
GetColors2()
  • Returns map of different colors for front and back side of face
Return type:MeshVS_DataMapOfIntegerTwoColors
GetHandle()
HasColors1()
  • Returns true, if map of colors isn’t empty
Return type:bool
HasColors2()
  • Returns true, if map isn’t empty
Return type:bool
SetColor1()
  • Sets color assigned with element number ID
Parameters:
  • ID (int) –
  • theColor (Quantity_Color &) –
Return type:

None

SetColor2()
  • Sets colors assigned with element number ID
Parameters:
  • ID (int) –
  • theTwoColors (MeshVS_TwoColors &) –
Return type:

None

  • Sets color assigned with element number ID theColor1 is the front element color theColor2 is the back element color
Parameters:
  • ID (int) –
  • theColor1 (Quantity_Color &) –
  • theColor2 (Quantity_Color &) –
Return type:

None

SetColors1()
  • Sets map of colors same for front and back side of face.
Parameters:Map (MeshVS_DataMapOfIntegerColor &) –
Return type:None
SetColors2()
  • Sets map of different colors for front and back side of face
Parameters:Map (MeshVS_DataMapOfIntegerTwoColors &) –
Return type:None
thisown

The membership flag

class MeshVS_HArray1OfSequenceOfInteger(*args)

Bases: OCC.MMgt.MMgt_TShared

Parameters:
  • Low (int) –
  • Up (int) –
  • Low
  • Up
  • V (TColStd_SequenceOfInteger &) –
Return type:

None

Return type:

None

Array1()
Return type:MeshVS_Array1OfSequenceOfInteger
ChangeArray1()
Return type:MeshVS_Array1OfSequenceOfInteger
ChangeValue()
Parameters:Index (int) –
Return type:TColStd_SequenceOfInteger
GetHandle()
Init()
Parameters:V (TColStd_SequenceOfInteger &) –
Return type:None
Length()
Return type:int
Lower()
Return type:int
SetValue()
Parameters:
  • Index (int) –
  • Value (TColStd_SequenceOfInteger &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (int) –
Return type:TColStd_SequenceOfInteger
thisown

The membership flag

class MeshVS_MapIteratorOfMapOfTwoNodes(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (MeshVS_MapOfTwoNodes &) –
Return type:None
Initialize()
Parameters:aMap (MeshVS_MapOfTwoNodes &) –
Return type:None
Key()
Return type:MeshVS_TwoNodes
thisown

The membership flag

class MeshVS_MapOfTwoNodes(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:
  • NbBuckets (int) – default value is 1
  • Other (MeshVS_MapOfTwoNodes &) –
Return type:

None

Return type:

None

Add()
Parameters:aKey (MeshVS_TwoNodes &) –
Return type:bool
Assign()
Parameters:Other (MeshVS_MapOfTwoNodes &) –
Return type:MeshVS_MapOfTwoNodes
Clear()
Return type:None
Contains()
Parameters:aKey (MeshVS_TwoNodes &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Remove()
Parameters:aKey (MeshVS_TwoNodes &) –
Return type:bool
Set()
Parameters:Other (MeshVS_MapOfTwoNodes &) –
Return type:MeshVS_MapOfTwoNodes
thisown

The membership flag

class MeshVS_Mesh(*args)

Bases: OCC.AIS.AIS_InteractiveObject

  • Constructor. theIsAllowOverlapped is Standard_True, if it is allowed to draw edges overlapped with beams Its value is stored in drawer
Parameters:theIsAllowOverlapped (bool) – default value is Standard_False
Return type:None
AddBuilder()
  • Adds builder to tale of sequence. PrsBuilder is builder to be added If TreatAsHilighter is true, MeshVS_Mesh will use this builder to create presentation of hilighted and selected owners. Only one builder can be hilighter, so that if you call this method with TreatAsHilighter = Standard_True some times, only last builder will be hilighter WARNING: As minimum one builder must be added as hilighter, otherwise selection cannot be computed
Parameters:
  • Builder (Handle_MeshVS_PrsBuilder &) –
  • TreatAsHilighter (bool) – default value is Standard_False
Return type:

None

ClearSelected()
  • Clears internal selection presentation
Return type:void
Compute()
  • Computes presentation using builders added to sequence. Each builder computes own part of mesh presentation according to its type.
Parameters:
  • PM (Handle_PrsMgr_PresentationManager3d &) –
  • Prs (Handle_Prs3d_Presentation &) –
  • DisplayMode (int) –
Return type:

void

ComputeSelection()
  • Computes selection according to SelectMode
Parameters:
  • Sel (Handle_SelectMgr_Selection &) –
  • SelectMode (int) –
Return type:

void

Destroy()
Return type:void
FindBuilder()
  • Finds builder by its type the string represents
Parameters:TypeString (char *) –
Return type:Handle_MeshVS_PrsBuilder
GetBuilder()
  • Returns builder by its index in sequence
Parameters:Index (int) –
Return type:Handle_MeshVS_PrsBuilder
GetBuilderById()
  • Returns builder by its ID
Parameters:Id (int) –
Return type:Handle_MeshVS_PrsBuilder
GetBuildersCount()
  • How many builders there are in sequence
Return type:int
GetDataSource()
  • Returns default builders’ data source
Return type:Handle_MeshVS_DataSource
GetDrawer()
  • Returns default builders’ drawer
Return type:Handle_MeshVS_Drawer
GetFreeId()
  • Returns the smallest positive ID, not occupied by any builder. This method using when builder is created with ID = -1
Return type:int
GetHandle()
GetHiddenElems()
  • Returns map of hidden elements (may be null handle)
Return type:Handle_TColStd_HPackedMapOfInteger
GetHiddenNodes()
  • Returns map of hidden nodes (may be null handle)
Return type:Handle_TColStd_HPackedMapOfInteger
GetHilighter()
  • Returns hilighter
Return type:Handle_MeshVS_PrsBuilder
GetMeshSelMethod()
  • Returns set mesh selection method (see MeshVS.cdl)
Return type:MeshVS_MeshSelectionMethod
GetOwnerMaps()
  • Returns map of owners.
Parameters:IsElement (bool) –
Return type:MeshVS_DataMapOfIntegerOwner
GetSelectableNodes()
  • Returns map of selectable elements (may be null handle)
Return type:Handle_TColStd_HPackedMapOfInteger
HilightOwnerWithColor()
  • Draw hilighted owner presentation
Parameters:
  • PM (Handle_PrsMgr_PresentationManager3d &) –
  • Color (Quantity_NameOfColor) –
  • Owner (Handle_SelectMgr_EntityOwner &) –
Return type:

void

HilightSelected()
  • Draw selected owners presentation
Parameters:
  • PM (Handle_PrsMgr_PresentationManager3d &) –
  • Owners (SelectMgr_SequenceOfOwner &) –
Return type:

void

IsHiddenElem()
  • Returns True if specified element is hidden By default no elements are hidden
Parameters:ID (int) –
Return type:bool
IsHiddenNode()
  • Returns True if specified node is hidden. By default all nodes are hidden
Parameters:ID (int) –
Return type:bool
IsSelectableElem()
  • Returns True if specified element is not hidden
Parameters:ID (int) –
Return type:bool
IsSelectableNode()
  • Returns True if specified node is specified as selectable.
Parameters:ID (int) –
Return type:bool
IsWholeMeshOwner()
  • Returns True if the given owner represents a whole mesh.
Parameters:theOwner (Handle_SelectMgr_EntityOwner &) –
Return type:bool
RemoveBuilder()
  • Removes builder from sequence. If it is hilighter, hilighter will be NULL ( Don’t remember to set it to other after!!! )
Parameters:Index (int) –
Return type:None
RemoveBuilderById()
  • Removes builder with identificator Id
Parameters:Id (int) –
Return type:None
SetDataSource()
  • Sets default builders’ data source
Parameters:aDataSource (Handle_MeshVS_DataSource &) –
Return type:None
SetDrawer()
  • Sets default builders’ drawer
Parameters:aDrawer (Handle_MeshVS_Drawer &) –
Return type:None
SetHiddenElems()
  • Sets map of hidden elements
Parameters:Ids (Handle_TColStd_HPackedMapOfInteger &) –
Return type:None
SetHiddenNodes()
  • Sets map of hidden nodes, which shall not be displayed individually. If nodes shared by some elements shall not be drawn, they should be included into that map
Parameters:Ids (Handle_TColStd_HPackedMapOfInteger &) –
Return type:None
SetHilighter()
  • Changes hilighter ( see above )
Parameters:Builder (Handle_MeshVS_PrsBuilder &) –
Return type:None
  • Sets builder with sequence index ‘Index’ as hilighter
Parameters:Index (int) –
Return type:bool
SetHilighterById()
  • Sets builder with identificator ‘Id’ as hilighter
Parameters:Id (int) –
Return type:bool
SetMeshSelMethod()
  • Sets mesh selection method (see MeshVS.cdl)
Parameters:M (MeshVS_MeshSelectionMethod) –
Return type:None
SetSelectableNodes()
  • Sets map of selectable nodes.
Parameters:Ids (Handle_TColStd_HPackedMapOfInteger &) –
Return type:None
UpdateSelectableNodes()
  • Automatically computes selectable nodes; the node is considered as being selectable if it is either not hidden, or is hidden but referred by at least one non-hidden element. Thus all nodes that are visible (either individually, or as ends or corners of elements) are selectable by default.
Return type:None
thisown

The membership flag

class MeshVS_MeshEntityOwner(*args)

Bases: object

Parameters:
  • SelObj (SelectMgr_SOPtr &) –
  • ID (int) –
  • MeshEntity (Standard_Address) –
  • Type (MeshVS_EntityType &) –
  • Priority (int) – default value is 0
  • IsGroup (bool) – default value is Standard_False
Return type:

None

Clear()
Parameters:
  • PM (Handle_PrsMgr_PresentationManager &) –
  • Mode (int) – default value is 0
Return type:

void

GetHandle()
Hilight()
  • Hilights owner
Return type:void
  • Hilights owner
Parameters:
  • PM (Handle_PrsMgr_PresentationManager &) –
  • Mode (int) – default value is 0
Return type:

void

HilightWithColor()
  • Hilights owner with the certain color
Parameters:
  • PM (Handle_PrsMgr_PresentationManager3d &) –
  • theColor (Quantity_NameOfColor) –
  • Mode (int) – default value is 0
Return type:

void

ID()
  • Returns ID of element or node data structure
Return type:int
IsGroup()
  • Returns true if owner represents group of nodes or elements
Return type:bool
IsHilighted()
  • Returns true if owner is hilighted
Parameters:
  • PM (Handle_PrsMgr_PresentationManager &) –
  • Mode (int) – default value is 0
Return type:

bool

Owner()
  • Returns an address of element or node data structure
Return type:Standard_Address
Type()
  • Returns type of element or node data structure
Return type:MeshVS_EntityType
Unhilight()
  • Strip hilight of owner
Parameters:
  • PM (Handle_PrsMgr_PresentationManager &) –
  • Mode (int) – default value is 0
Return type:

void

thisown

The membership flag

class MeshVS_MeshOwner(*args)

Bases: object

Parameters:
  • theSelObj (SelectMgr_SOPtr &) –
  • theDS (Handle_MeshVS_DataSource &) –
  • thePriority (int) – default value is 0
Return type:

None

AddSelectedEntities()
  • Saves ids of selected mesh entities
Parameters:
  • Nodes (Handle_TColStd_HPackedMapOfInteger &) –
  • Elems (Handle_TColStd_HPackedMapOfInteger &) –
Return type:

void

ClearSelectedEntities()
  • Clears ids of selected mesh entities
Return type:void
GetDataSource()
Return type:Handle_MeshVS_DataSource
GetDetectedElements()
  • Returns ids of hilighted mesh elements
Return type:Handle_TColStd_HPackedMapOfInteger
GetDetectedNodes()
  • Returns ids of hilighted mesh nodes
Return type:Handle_TColStd_HPackedMapOfInteger
GetHandle()
GetSelectedElements()
  • Returns ids of selected mesh elements
Return type:Handle_TColStd_HPackedMapOfInteger
GetSelectedNodes()
  • Returns ids of selected mesh nodes
Return type:Handle_TColStd_HPackedMapOfInteger
HilightWithColor()
Parameters:
  • PM (Handle_PrsMgr_PresentationManager3d &) –
  • theColor (Quantity_NameOfColor) –
  • Mode (int) – default value is 0
Return type:

void

IsForcedHilight()
Return type:bool
SetDetectedEntities()
  • Saves ids of hilighted mesh entities
Parameters:
  • Nodes (Handle_TColStd_HPackedMapOfInteger &) –
  • Elems (Handle_TColStd_HPackedMapOfInteger &) –
Return type:

None

Unhilight()
Parameters:
  • PM (Handle_PrsMgr_PresentationManager &) –
  • Mode (int) – default value is 0
Return type:

void

thisown

The membership flag

class MeshVS_MeshPrsBuilder(*args)

Bases: OCC.MeshVS.MeshVS_PrsBuilder

  • Creates builder with certain display mode flags, data source, ID and priority
Parameters:
  • Parent (Handle_MeshVS_Mesh &) –
  • Flags (MeshVS_DisplayModeFlags &) – default value is MeshVS_DMF_OCCMask
  • DS (Handle_MeshVS_DataSource &) – default value is 0
  • Id (int) – default value is -1
  • Priority (MeshVS_BuilderPriority &) – default value is MeshVS_BP_Mesh
Return type:

None

static AddVolumePrs(*args)
  • Add to array polygons or polylines representing volume
Parameters:
  • Topo (Handle_MeshVS_HArray1OfSequenceOfInteger &) –
  • Nodes (TColStd_Array1OfReal &) –
  • NbNodes (int) –
  • Array (Handle_Graphic3d_ArrayOfPrimitives &) –
  • IsReflected (bool) –
  • IsShrinked (bool) –
  • IsSelect (bool) –
  • ShrinkCoef (float) –
Return type:

void

BuildElements()
  • Builds elements presentation
Parameters:
  • Prs (Handle_Prs3d_Presentation &) –
  • IDs (TColStd_PackedMapOfInteger &) –
  • IDsToExclude (TColStd_PackedMapOfInteger &) –
  • DisplayMode (int) –
Return type:

void

BuildHilightPrs()
  • Builds presentation of hilighted entity
Parameters:
  • Prs (Handle_Prs3d_Presentation &) –
  • IDs (TColStd_PackedMapOfInteger &) –
  • IsElement (bool) –
Return type:

void

BuildNodes()
  • Builds nodes presentation
Parameters:
  • Prs (Handle_Prs3d_Presentation &) –
  • IDs (TColStd_PackedMapOfInteger &) –
  • IDsToExclude (TColStd_PackedMapOfInteger &) –
  • DisplayMode (int) –
Return type:

void

GetHandle()
static HowManyPrimitives(*args)
  • Calculate how many polygons or polylines are necessary to draw passed topology
Parameters:
  • Topo (Handle_MeshVS_HArray1OfSequenceOfInteger &) –
  • AsPolygons (bool) –
  • IsSelect (bool) –
  • NbNodes (int) –
  • Vertices (int &) –
  • Bounds (int &) –
Return type:

void

thisown

The membership flag

MeshVS_MeshPrsBuilder_AddVolumePrs(*args)
  • Add to array polygons or polylines representing volume
Parameters:
  • Topo (Handle_MeshVS_HArray1OfSequenceOfInteger &) –
  • Nodes (TColStd_Array1OfReal &) –
  • NbNodes (int) –
  • Array (Handle_Graphic3d_ArrayOfPrimitives &) –
  • IsReflected (bool) –
  • IsShrinked (bool) –
  • IsSelect (bool) –
  • ShrinkCoef (float) –
Return type:

void

MeshVS_MeshPrsBuilder_HowManyPrimitives(*args)
  • Calculate how many polygons or polylines are necessary to draw passed topology
Parameters:
  • Topo (Handle_MeshVS_HArray1OfSequenceOfInteger &) –
  • AsPolygons (bool) –
  • IsSelect (bool) –
  • NbNodes (int) –
  • Vertices (int &) –
  • Bounds (int &) –
Return type:

void

class MeshVS_NodalColorPrsBuilder(*args)

Bases: OCC.MeshVS.MeshVS_PrsBuilder

Parameters:
  • Parent (Handle_MeshVS_Mesh &) –
  • Flags (MeshVS_DisplayModeFlags &) – default value is MeshVS_DMF_NodalColorDataPrs
  • DS (Handle_MeshVS_DataSource &) – default value is 0
  • Id (int) – default value is -1
  • Priority (MeshVS_BuilderPriority &) – default value is MeshVS_BP_NodalColor
Return type:

None

AddVolumePrs()
  • Add to array polygons or polylines representing volume
Parameters:
  • theTopo (Handle_MeshVS_HArray1OfSequenceOfInteger &) –
  • theNodes (TColStd_Array1OfInteger &) –
  • theCoords (TColStd_Array1OfReal &) –
  • theArray (Handle_Graphic3d_ArrayOfPrimitives &) –
  • theIsShaded (bool) –
  • theNbColors (int) –
  • theNbTexColors (int) –
  • theColorRatio (float) –
Return type:

None

GetColor()
  • Returns color assigned to single node
Parameters:
  • ID (int) –
  • theColor (Quantity_Color &) –
Return type:

bool

GetColorMap()
  • Return colors used for texrture presentation
Return type:Aspect_SequenceOfColor
GetColors()
  • Returns map of colors assigned to nodes.
Return type:MeshVS_DataMapOfIntegerColor
GetHandle()
GetInvalidColor()
  • Return color representing invalid texture coordinate (laying outside range [0, 1])
Return type:Quantity_Color
GetTextureCoord()
  • Return correspondence between node IDs and texture coordinate (range [0, 1])
Parameters:theID (int) –
Return type:float
GetTextureCoords()
  • Get correspondence between node IDs and texture coordinates (range [0, 1])
Return type:TColStd_DataMapOfIntegerReal
HasColors()
  • Returns true, if map isn’t empty
Return type:bool
IsUseTexture()
  • Verify whether texture is used to build presentation
Return type:bool
SetColor()
  • Sets color assigned to single node
Parameters:
  • ID (int) –
  • theColor (Quantity_Color &) –
Return type:

None

SetColorMap()
  • Set colors to be used for texrture presentation theColors - colors for valid coordinates (laying in range [0, 1])
Parameters:theColors (Aspect_SequenceOfColor &) –
Return type:None
SetColors()
  • Sets map of colors assigned to nodes.
Parameters:Map (MeshVS_DataMapOfIntegerColor &) –
Return type:None
SetInvalidColor()
  • Set color representing invalid texture coordinate (laying outside range [0, 1])
Parameters:theInvalidColor (Quantity_Color &) –
Return type:None
SetTextureCoord()
  • Specify correspondence between node ID and texture coordinate (range [0, 1])
Parameters:
Return type:

None

SetTextureCoords()
  • Specify correspondence between node IDs and texture coordinates (range [0, 1])
Parameters:theMap (TColStd_DataMapOfIntegerReal &) –
Return type:None
UseTexture()
  • Specify whether texture must be used to build presentation
Parameters:theToUse (bool) –
Return type:None
thisown

The membership flag

class MeshVS_PrsBuilder(*args, **kwargs)

Bases: OCC.MMgt.MMgt_TShared

Build()
  • Builds presentation of certain type of data. Prs is presentation object which this method constructs. IDs is set of numeric identificators forming object appearance. IDsToExclude is set of IDs to exclude from processing. If some entity has been excluded, it is not processed by other builders. IsElement indicates, IDs is identificators of nodes or elements. DisplayMode is numeric constant describing display mode (see MeshVS_DisplayModeFlags.hxx)
Parameters:
  • Prs (Handle_Prs3d_Presentation &) –
  • IDs (TColStd_PackedMapOfInteger &) –
  • IDsToExclude (TColStd_PackedMapOfInteger &) –
  • IsElement (bool) –
  • DisplayMode (int) –
Return type:

void

CustomBuild()
  • This method is called to build presentation of custom elements (they have MeshVS_ET_0D type). IDs is set of numeric identificators of elements for custom building. IDsToExclude is set of IDs to exclude from processing. If some entity has been excluded, it is not processed by other builders. DisplayMode is numeric constant describing display mode (see MeshVS_DisplayModeFlags.hxx)
Parameters:
  • Prs (Handle_Prs3d_Presentation &) –
  • IDs (TColStd_PackedMapOfInteger &) –
  • IDsToExclude (TColStd_PackedMapOfInteger &) –
  • DisplayMode (int) –
Return type:

void

CustomSensitiveEntity()
  • This method is called to build sensitive of custom elements ( they have MeshVS_ET_0D type )
Parameters:
  • Owner (Handle_SelectBasics_EntityOwner &) –
  • SelectMode (int) –
Return type:

Handle_SelectBasics_SensitiveEntity

GetDataSource()
  • Returns custom data source or default ( from MeshVS_Mesh ) if custom is NULL
Return type:Handle_MeshVS_DataSource
GetDrawer()
  • Returns custom drawer or default ( from MeshVS_Mesh ) if custom is NULL
Return type:Handle_MeshVS_Drawer
GetFlags()
  • Returns flags, assigned with builder during creation
Return type:int
GetHandle()
GetId()
  • Returns builder ID
Return type:int
GetPresentationManager()
  • Get presentation manager of builder
Return type:Handle_PrsMgr_PresentationManager3d
GetPriority()
  • Returns priority; as priority bigger, as soon builder will be called.
Return type:int
IsExcludingOn()
  • Read excluding state
Return type:bool
SetDataSource()
  • Change custom data source
Parameters:newDS (Handle_MeshVS_DataSource &) –
Return type:None
SetDrawer()
  • Change custom drawer
Parameters:newDr (Handle_MeshVS_Drawer &) –
Return type:None
SetExcluding()
  • Set excluding state. If it is Standard_True, the nodes or elements, processed by current builder will be noted and next builder won’t process its.
Parameters:state (bool) –
Return type:None
SetPresentationManager()
  • Set presentation manager for builder
Parameters:thePrsMgr (Handle_PrsMgr_PresentationManager3d &) –
Return type:None
TestFlags()
  • Test whether display mode has flags assigned with this builder. This method has default implementation and can be redefined for advance behavior Returns Standard_True only if display mode is appropriate for this builder
Parameters:DisplayMode (int) –
Return type:bool
thisown

The membership flag

class MeshVS_SensitiveFace(*args)

Bases: OCC.Select3D.Select3D_SensitiveFace

Parameters:
  • theOwner (Handle_SelectBasics_EntityOwner &) –
  • thePoints (TColgp_Array1OfPnt) –
  • theSensType (Select3D_TypeOfSensitivity) – default value is Select3D_TOS_INTERIOR
Return type:

None

GetHandle()
Matches()
Parameters:
Return type:

bool

Return type:

bool

thisown

The membership flag

class MeshVS_SensitiveMesh(*args)

Bases: OCC.Select3D.Select3D_SensitiveEntity

Parameters:
  • theOwner (Handle_SelectBasics_EntityOwner &) –
  • theMode (int) – default value is 0
Return type:

None

GetHandle()
GetMode()
Return type:int
Matches()
Parameters:
  • thePickArgs (SelectBasics_PickArgs &) –
  • theMatchDMin (float &) –
  • theMatchDepth (float &) –
  • XMin (float) –
  • YMin (float) –
  • XMax (float) –
  • YMax (float) –
  • aTol (float) –
  • Polyline (TColgp_Array1OfPnt2d) –
  • aBox (Bnd_Box2d &) –
  • aTol
Return type:

bool

Return type:

bool

Return type:

bool

thisown

The membership flag

class MeshVS_SensitivePolyhedron(*args)

Bases: OCC.Select3D.Select3D_SensitiveEntity

Parameters:
  • Owner (Handle_SelectBasics_EntityOwner &) –
  • Nodes (TColgp_Array1OfPnt) –
  • Topo (Handle_MeshVS_HArray1OfSequenceOfInteger &) –
Return type:

None

ComputeDepth()
Parameters:EyeLine (gp_Lin) –
Return type:float
GetHandle()
Matches()
Parameters:
  • thePickArgs (SelectBasics_PickArgs &) –
  • theMatchDMin (float &) –
  • theMatchDepth (float &) –
  • XMin (float) –
  • YMin (float) –
  • XMax (float) –
  • YMax (float) –
  • aTol (float) –
  • Polyline (TColgp_Array1OfPnt2d) –
  • aBox (Bnd_Box2d &) –
  • aTol
Return type:

bool

Return type:

bool

Return type:

bool

thisown

The membership flag

class MeshVS_SensitiveSegment(*args)

Bases: OCC.Select3D.Select3D_SensitiveSegment

Parameters:
  • theOwner (Handle_SelectBasics_EntityOwner &) –
  • theFirstP (gp_Pnt) –
  • theLastP (gp_Pnt) –
  • theMaxRect (int) – default value is 1
Return type:

None

GetHandle()
Matches()
Parameters:
Return type:

bool

Return type:

bool

thisown

The membership flag

class MeshVS_SequenceNodeOfSequenceOfPrsBuilder(*args)

Bases: OCC.TCollection.TCollection_SeqNode

Parameters:
  • I (Handle_MeshVS_PrsBuilder &) –
  • n (TCollection_SeqNodePtr &) –
  • p (TCollection_SeqNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:Handle_MeshVS_PrsBuilder
thisown

The membership flag

class MeshVS_SequenceOfPrsBuilder(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (MeshVS_SequenceOfPrsBuilder &) –
Return type:None
Append()
Parameters:
  • T (Handle_MeshVS_PrsBuilder &) –
  • S (MeshVS_SequenceOfPrsBuilder &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (MeshVS_SequenceOfPrsBuilder &) –
Return type:MeshVS_SequenceOfPrsBuilder
ChangeValue()
Parameters:Index (int) –
Return type:Handle_MeshVS_PrsBuilder
Clear()
Return type:None
First()
Return type:Handle_MeshVS_PrsBuilder
InsertAfter()
Parameters:
  • Index (int) –
  • T (Handle_MeshVS_PrsBuilder &) –
  • Index
  • S (MeshVS_SequenceOfPrsBuilder &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (Handle_MeshVS_PrsBuilder &) –
  • Index
  • S (MeshVS_SequenceOfPrsBuilder &) –
Return type:

None

Return type:

None

Last()
Return type:Handle_MeshVS_PrsBuilder
Prepend()
Parameters:
  • T (Handle_MeshVS_PrsBuilder &) –
  • S (MeshVS_SequenceOfPrsBuilder &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • Index (int) –
  • FromIndex (int) –
  • ToIndex (int) –
Return type:

None

Return type:

None

Set()
Parameters:Other (MeshVS_SequenceOfPrsBuilder &) –
Return type:MeshVS_SequenceOfPrsBuilder
SetValue()
Parameters:
  • Index (int) –
  • I (Handle_MeshVS_PrsBuilder &) –
Return type:

None

Split()
Parameters:
  • Index (int) –
  • Sub (MeshVS_SequenceOfPrsBuilder &) –
Return type:

None

Value()
Parameters:Index (int) –
Return type:Handle_MeshVS_PrsBuilder
thisown

The membership flag

class MeshVS_StdMapNodeOfMapOfTwoNodes(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (MeshVS_TwoNodes &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Key()
Return type:MeshVS_TwoNodes
thisown

The membership flag

class MeshVS_SymmetricPairHasher(*args, **kwargs)

Bases: object

static HashCode(*args)
Parameters:
  • thePair (MeshVS_NodePair &) –
  • theMaxCode (int) –
Return type:

int

static IsEqual(*args)
Parameters:
  • thePair1 (MeshVS_NodePair &) –
  • thePair2 (MeshVS_NodePair &) –
Return type:

bool

thisown

The membership flag

MeshVS_SymmetricPairHasher_HashCode(*args)
Parameters:
  • thePair (MeshVS_NodePair &) –
  • theMaxCode (int) –
Return type:

int

MeshVS_SymmetricPairHasher_IsEqual(*args)
Parameters:
  • thePair1 (MeshVS_NodePair &) –
  • thePair2 (MeshVS_NodePair &) –
Return type:

bool

class MeshVS_TextPrsBuilder(*args)

Bases: OCC.MeshVS.MeshVS_PrsBuilder

Parameters:
  • Parent (Handle_MeshVS_Mesh &) –
  • Height (float) –
  • Color (Quantity_Color &) –
  • Flags (MeshVS_DisplayModeFlags &) – default value is MeshVS_DMF_TextDataPrs
  • DS (Handle_MeshVS_DataSource &) – default value is 0
  • Id (int) – default value is -1
  • Priority (MeshVS_BuilderPriority &) – default value is MeshVS_BP_Text
Return type:

None

GetHandle()
GetText()
  • Returns text assigned with single node or element
Parameters:
  • IsElement (bool) –
  • ID (int) –
  • Text (TCollection_AsciiString &) –
Return type:

bool

GetTexts()
  • Returns map of text assigned with nodes ( IsElement = False ) or elements ( IsElement = True )
Parameters:IsElement (bool) –
Return type:MeshVS_DataMapOfIntegerAsciiString
HasTexts()
  • Returns True if map isn’t empty
Parameters:IsElement (bool) –
Return type:bool
SetText()
  • Sets text assigned with single node or element
Parameters:
  • IsElement (bool) –
  • ID (int) –
  • Text (TCollection_AsciiString &) –
Return type:

None

SetTexts()
  • Sets map of text assigned with nodes or elements
Parameters:
  • IsElement (bool) –
  • Map (MeshVS_DataMapOfIntegerAsciiString &) –
Return type:

None

thisown

The membership flag

class MeshVS_Tool

Bases: object

static CreateAspectFillArea3d(*args)
  • Creates fill area aspect with values from Drawer according to keys from DrawerAttribute
Parameters:
  • theDr (Handle_MeshVS_Drawer &) –
  • UseDefaults (bool) – default value is Standard_True
Return type:

Handle_Graphic3d_AspectFillArea3d

  • Creates fill aspect with values from Drawer according to keys from DrawerAttribute and specific material aspect
Parameters:
  • theDr (Handle_MeshVS_Drawer &) –
  • Mat (Graphic3d_MaterialAspect &) –
  • UseDefaults (bool) – default value is Standard_True
Return type:

Handle_Graphic3d_AspectFillArea3d

static CreateAspectLine3d(*args)
  • Creates line aspect with values from Drawer according to keys from DrawerAttribute
Parameters:
  • theDr (Handle_MeshVS_Drawer &) –
  • UseDefaults (bool) – default value is Standard_True
Return type:

Handle_Graphic3d_AspectLine3d

static CreateAspectMarker3d(*args)
  • Creates marker aspect with values from Drawer according to keys from DrawerAttribute
Parameters:
  • theDr (Handle_MeshVS_Drawer &) –
  • UseDefaults (bool) – default value is Standard_True
Return type:

Handle_Graphic3d_AspectMarker3d

static CreateAspectText3d(*args)
  • Creates text aspect with values from Drawer according to keys from DrawerAttribute
Parameters:
  • theDr (Handle_MeshVS_Drawer &) –
  • UseDefaults (bool) – default value is Standard_True
Return type:

Handle_Graphic3d_AspectText3d

static GetAverageNormal(*args)
  • Get an average of normals to non-planar polygon described by these points or compute normal of planar polygon. If the polygon isn’t planar, function returns false
Parameters:
  • Nodes (TColStd_Array1OfReal &) –
  • Norm (gp_Vec) –
Return type:

bool

static GetNormal(*args)
  • Get one of normals to polygon described by these points. If the polygon isn’t planar, function returns false
Parameters:
  • Nodes (TColStd_Array1OfReal &) –
  • Norm (gp_Vec) –
Return type:

bool

thisown

The membership flag

MeshVS_Tool_CreateAspectFillArea3d(*args)
  • Creates fill area aspect with values from Drawer according to keys from DrawerAttribute
Parameters:
  • theDr (Handle_MeshVS_Drawer &) –
  • UseDefaults (bool) – default value is Standard_True
Return type:

Handle_Graphic3d_AspectFillArea3d

  • Creates fill aspect with values from Drawer according to keys from DrawerAttribute and specific material aspect
Parameters:
  • theDr (Handle_MeshVS_Drawer &) –
  • Mat (Graphic3d_MaterialAspect &) –
  • UseDefaults (bool) – default value is Standard_True
Return type:

Handle_Graphic3d_AspectFillArea3d

MeshVS_Tool_CreateAspectLine3d(*args)
  • Creates line aspect with values from Drawer according to keys from DrawerAttribute
Parameters:
  • theDr (Handle_MeshVS_Drawer &) –
  • UseDefaults (bool) – default value is Standard_True
Return type:

Handle_Graphic3d_AspectLine3d

MeshVS_Tool_CreateAspectMarker3d(*args)
  • Creates marker aspect with values from Drawer according to keys from DrawerAttribute
Parameters:
  • theDr (Handle_MeshVS_Drawer &) –
  • UseDefaults (bool) – default value is Standard_True
Return type:

Handle_Graphic3d_AspectMarker3d

MeshVS_Tool_CreateAspectText3d(*args)
  • Creates text aspect with values from Drawer according to keys from DrawerAttribute
Parameters:
  • theDr (Handle_MeshVS_Drawer &) –
  • UseDefaults (bool) – default value is Standard_True
Return type:

Handle_Graphic3d_AspectText3d

MeshVS_Tool_GetAverageNormal(*args)
  • Get an average of normals to non-planar polygon described by these points or compute normal of planar polygon. If the polygon isn’t planar, function returns false
Parameters:
  • Nodes (TColStd_Array1OfReal &) –
  • Norm (gp_Vec) –
Return type:

bool

MeshVS_Tool_GetNormal(*args)
  • Get one of normals to polygon described by these points. If the polygon isn’t planar, function returns false
Parameters:
  • Nodes (TColStd_Array1OfReal &) –
  • Norm (gp_Vec) –
Return type:

bool

class MeshVS_TwoColors(*args, **kwargs)

Bases: object

b1
b2
g1
g2
r1
r2
thisown

The membership flag

class MeshVS_TwoColorsHasher

Bases: object

static HashCode(*args)
Parameters:
  • K (MeshVS_TwoColors &) –
  • Upper (int) –
Return type:

int

static IsEqual(*args)
Parameters:
  • K1 (MeshVS_TwoColors &) –
  • K2 (MeshVS_TwoColors &) –
Return type:

bool

thisown

The membership flag

MeshVS_TwoColorsHasher_HashCode(*args)
Parameters:
  • K (MeshVS_TwoColors &) –
  • Upper (int) –
Return type:

int

MeshVS_TwoColorsHasher_IsEqual(*args)
Parameters:
  • K1 (MeshVS_TwoColors &) –
  • K2 (MeshVS_TwoColors &) –
Return type:

bool

class MeshVS_TwoNodes(*args)

Bases: object

Parameters:
  • aFirst (int) – default value is 0
  • aSecond (int) – default value is 0
Return type:

None

First
Second
thisown

The membership flag

class MeshVS_TwoNodesHasher

Bases: object

static HashCode(*args)
Parameters:
  • K (MeshVS_TwoNodes &) –
  • Upper (int) –
Return type:

int

static IsEqual(*args)
Parameters:
  • K1 (MeshVS_TwoNodes &) –
  • K2 (MeshVS_TwoNodes &) –
Return type:

bool

thisown

The membership flag

MeshVS_TwoNodesHasher_HashCode(*args)
Parameters:
  • K (MeshVS_TwoNodes &) –
  • Upper (int) –
Return type:

int

MeshVS_TwoNodesHasher_IsEqual(*args)
Parameters:
  • K1 (MeshVS_TwoNodes &) –
  • K2 (MeshVS_TwoNodes &) –
Return type:

bool

class MeshVS_VectorPrsBuilder(*args)

Bases: OCC.MeshVS.MeshVS_PrsBuilder

Parameters:
  • Parent (Handle_MeshVS_Mesh &) –
  • MaxLength (float) –
  • VectorColor (Quantity_Color &) –
  • Flags (MeshVS_DisplayModeFlags &) – default value is MeshVS_DMF_VectorDataPrs
  • DS (Handle_MeshVS_DataSource &) – default value is 0
  • Id (int) – default value is -1
  • Priority (MeshVS_BuilderPriority &) – default value is MeshVS_BP_Vector
  • IsSimplePrs (bool) – default value is Standard_False
Return type:

None

DrawVector()
  • Adds to array of polygons and polylines some primitive representing single vector
Parameters:
  • theTrsf (gp_Trsf) –
  • Length (float) –
  • MaxLength (float) –
  • ArrowPoints (TColgp_Array1OfPnt) –
  • Lines (Handle_Graphic3d_ArrayOfPrimitives &) –
  • ArrowLines (Handle_Graphic3d_ArrayOfPrimitives &) –
  • Triangles (Handle_Graphic3d_ArrayOfPrimitives &) –
Return type:

None

GetHandle()
GetMinMaxVectorValue()
  • Calculates minimal and maximal length of vectors in map ( nodal, if IsElement = False or elemental, if IsElement = True )
Parameters:
  • IsElement (bool) –
  • MinValue (float &) –
  • MaxValue (float &) –
Return type:

None

GetVector()
  • Returns vector assigned with certain node or element
Parameters:
Return type:

bool

GetVectors()
  • Returns map of vectors assigned with nodes or elements
Parameters:IsElement (bool) –
Return type:MeshVS_DataMapOfIntegerVector
HasVectors()
  • Returns true, if map isn’t empty
Parameters:IsElement (bool) –
Return type:bool
SetSimplePrsMode()
  • Sets flag that indicates is simple vector arrow mode uses or not default value is False
Parameters:IsSimpleArrow (bool) –
Return type:None
SetSimplePrsParams()
  • Sets parameters of simple vector arrwo presentation theLineWidthParam - coefficient of vector line width (to draw line instead of arrow) theStartParam and theEndParam parameters of start and end of thickened ends position of thickening calculates according to parameters and maximum vector length default values are: theLineWidthParam = 2.5 theStartParam = 0.85 theEndParam = 0.95
Parameters:
  • theLineWidthParam (float) –
  • theStartParam (float) –
  • theEndParam (float) –
Return type:

None

SetVector()
  • Sets vector assigned with certain node or element
Parameters:
Return type:

None

SetVectors()
  • Sets map of vectors assigned with nodes or elements
Parameters:
  • IsElement (bool) –
  • Map (MeshVS_DataMapOfIntegerVector &) –
Return type:

None

static calculateArrow(*args)
  • Calculates points of arrow presentation
Parameters:
Return type:

float

thisown

The membership flag

MeshVS_VectorPrsBuilder_calculateArrow(*args)
  • Calculates points of arrow presentation
Parameters:
Return type:

float

class SwigPyIterator(*args, **kwargs)

Bases: object

advance()
copy()
decr()
distance()
equal()
incr()
next()
previous()
thisown

The membership flag

value()
register_handle(handle, base_object)

Inserts the handle into the base object to prevent memory corruption in certain cases