OCC.MeshVS module¶
This package provides classes and simple methods of flexible presentation objectthat is responsible for the following tasks:1) Displaying mesh ( some mesh elements and nodes may be hidden )2) Results of calculations and analysis are shown through the single common interface.3) The data can be shown with different visual styles: colors, vectors, texts and deformed mesh.4) Selection of mesh entities (except hidden ones)
-
class
Handle_MeshVS_DataMapNodeOfDataMapOfColorMapOfInteger
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_DataMapNodeOfDataMapOfHArray1OfSequenceOfInteger
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_DataMapNodeOfDataMapOfIntegerAsciiString
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_DataMapNodeOfDataMapOfIntegerBoolean
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_DataMapNodeOfDataMapOfIntegerColor
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_DataMapNodeOfDataMapOfIntegerMaterial
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_DataMapNodeOfDataMapOfIntegerMeshEntityOwner
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_DataMapNodeOfDataMapOfIntegerOwner
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_DataMapNodeOfDataMapOfIntegerTwoColors
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_DataMapNodeOfDataMapOfIntegerVector
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_DataMapNodeOfDataMapOfTwoColorsMapOfInteger
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_DataSource
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_DataSource3D
(*args)¶ Bases:
OCC.MeshVS.Handle_MeshVS_DataSource
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_DeformedDataSource
(*args)¶ Bases:
OCC.MeshVS.Handle_MeshVS_DataSource
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_Drawer
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_DummySensitiveEntity
(*args)¶ Bases:
OCC.SelectBasics.Handle_SelectBasics_SensitiveEntity
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_ElementalColorPrsBuilder
(*args)¶ Bases:
OCC.MeshVS.Handle_MeshVS_PrsBuilder
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_HArray1OfSequenceOfInteger
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_Mesh
(*args)¶ Bases:
OCC.AIS.Handle_AIS_InteractiveObject
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_MeshEntityOwner
(*args)¶ Bases:
OCC.SelectMgr.Handle_SelectMgr_EntityOwner
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_MeshOwner
(*args)¶ Bases:
OCC.SelectMgr.Handle_SelectMgr_EntityOwner
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_MeshPrsBuilder
(*args)¶ Bases:
OCC.MeshVS.Handle_MeshVS_PrsBuilder
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_NodalColorPrsBuilder
(*args)¶ Bases:
OCC.MeshVS.Handle_MeshVS_PrsBuilder
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_PrsBuilder
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_SensitiveFace
(*args)¶ Bases:
OCC.Select3D.Handle_Select3D_SensitiveFace
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_SensitiveMesh
(*args)¶ Bases:
object
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_SensitivePolyhedron
(*args)¶ Bases:
object
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_SensitiveSegment
(*args)¶ Bases:
OCC.Select3D.Handle_Select3D_SensitiveSegment
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_SequenceNodeOfSequenceOfPrsBuilder
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_StdMapNodeOfMapOfTwoNodes
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_TextPrsBuilder
(*args)¶ Bases:
OCC.MeshVS.Handle_MeshVS_PrsBuilder
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_MeshVS_VectorPrsBuilder
(*args)¶ Bases:
OCC.MeshVS.Handle_MeshVS_PrsBuilder
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
MeshVS_Array1OfSequenceOfInteger
(*args)¶ Bases:
object
Parameters: Return type: Return type: -
Assign
()¶ Parameters: Other (MeshVS_Array1OfSequenceOfInteger &) – Return type: MeshVS_Array1OfSequenceOfInteger
-
ChangeValue
()¶ Parameters: Index (int) – Return type: TColStd_SequenceOfInteger
-
Set
()¶ Parameters: Other (MeshVS_Array1OfSequenceOfInteger &) – Return type: MeshVS_Array1OfSequenceOfInteger
-
Value
()¶ Parameters: Index (int) – Return type: TColStd_SequenceOfInteger
-
thisown
¶ The membership flag
-
-
MeshVS_ColorHasher_IsEqual
()¶ Parameters: - K1 (Quantity_Color &) –
- K2 (Quantity_Color &) –
Return type:
-
class
MeshVS_DataMapIteratorOfDataMapOfColorMapOfInteger
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMapIterator
Return type: None 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 -
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 -
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 -
thisown
¶ The membership flag
-
-
class
MeshVS_DataMapIteratorOfDataMapOfIntegerColor
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMapIterator
Return type: None Parameters: aMap (MeshVS_DataMapOfIntegerColor &) – Return type: None -
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 -
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 -
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 -
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 -
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 -
thisown
¶ The membership flag
-
-
class
MeshVS_DataMapIteratorOfDataMapOfTwoColorsMapOfInteger
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMapIterator
Return type: None 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: -
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: -
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: -
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: -
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: -
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: -
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: -
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: -
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: -
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: -
GetHandle
()¶
-
GetKey
()¶ MeshVS_DataMapNodeOfDataMapOfIntegerVector_GetKey(MeshVS_DataMapNodeOfDataMapOfIntegerVector self) -> Standard_Integer
-
SetKey
()¶ MeshVS_DataMapNodeOfDataMapOfIntegerVector_SetKey(MeshVS_DataMapNodeOfDataMapOfIntegerVector self, Standard_Integer value)
-
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: -
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
-
ChangeFind
()¶ Parameters: K (Quantity_Color &) – Return type: TColStd_MapOfInteger
-
ChangeFind1
()¶ Parameters: K (Quantity_Color &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (Quantity_Color &) – Return type: TColStd_MapOfInteger
-
Find1
()¶ Parameters: K (Quantity_Color &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (MeshVS_DataMapOfColorMapOfInteger &) – Return type: MeshVS_DataMapOfColorMapOfInteger
-
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
-
ChangeFind
()¶ Parameters: K (int &) – Return type: Handle_MeshVS_HArray1OfSequenceOfInteger
-
ChangeFind1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (int &) – Return type: Handle_MeshVS_HArray1OfSequenceOfInteger
-
Find1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (MeshVS_DataMapOfHArray1OfSequenceOfInteger &) – Return type: MeshVS_DataMapOfHArray1OfSequenceOfInteger
-
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
-
ChangeFind
()¶ Parameters: K (int &) – Return type: TCollection_AsciiString
-
ChangeFind1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (int &) – Return type: TCollection_AsciiString
-
Find1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (MeshVS_DataMapOfIntegerAsciiString &) – Return type: MeshVS_DataMapOfIntegerAsciiString
-
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
-
ChangeFind1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Find1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (MeshVS_DataMapOfIntegerBoolean &) – Return type: MeshVS_DataMapOfIntegerBoolean
-
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
-
ChangeFind
()¶ Parameters: K (int &) – Return type: Quantity_Color
-
ChangeFind1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (int &) – Return type: Quantity_Color
-
Find1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (MeshVS_DataMapOfIntegerColor &) – Return type: MeshVS_DataMapOfIntegerColor
-
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
-
ChangeFind
()¶ Parameters: K (int &) – Return type: Graphic3d_MaterialAspect
-
ChangeFind1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (int &) – Return type: Graphic3d_MaterialAspect
-
Find1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (MeshVS_DataMapOfIntegerMaterial &) – Return type: MeshVS_DataMapOfIntegerMaterial
-
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
-
ChangeFind
()¶ Parameters: K (int &) – Return type: Handle_MeshVS_MeshEntityOwner
-
ChangeFind1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (int &) – Return type: Handle_MeshVS_MeshEntityOwner
-
Find1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (MeshVS_DataMapOfIntegerMeshEntityOwner &) – Return type: MeshVS_DataMapOfIntegerMeshEntityOwner
-
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
-
ChangeFind
()¶ Parameters: K (int &) – Return type: Handle_SelectMgr_EntityOwner
-
ChangeFind1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (int &) – Return type: Handle_SelectMgr_EntityOwner
-
Find1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (MeshVS_DataMapOfIntegerOwner &) – Return type: MeshVS_DataMapOfIntegerOwner
-
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
-
ChangeFind
()¶ Parameters: K (int &) – Return type: MeshVS_TwoColors
-
ChangeFind1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (int &) – Return type: MeshVS_TwoColors
-
Find1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (MeshVS_DataMapOfIntegerTwoColors &) – Return type: MeshVS_DataMapOfIntegerTwoColors
-
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
-
ChangeFind1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Find1
()¶ Parameters: K (int &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (MeshVS_DataMapOfIntegerVector &) – Return type: MeshVS_DataMapOfIntegerVector
-
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
-
ChangeFind
()¶ Parameters: K (MeshVS_TwoColors &) – Return type: TColStd_MapOfInteger
-
ChangeFind1
()¶ Parameters: K (MeshVS_TwoColors &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (MeshVS_TwoColors &) – Return type: TColStd_MapOfInteger
-
Find1
()¶ Parameters: K (MeshVS_TwoColors &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (MeshVS_DataMapOfTwoColorsMapOfInteger &) – Return type: MeshVS_DataMapOfTwoColorsMapOfInteger
-
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:
-
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: 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: Return type: - 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: Return type: - 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: - 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:
-
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: Return type:
-
GetGeomType
()¶ - This method is similar to GetGeom, but returns only element or node type.
Parameters: Return type:
-
GetGroup
()¶ - This method returns map of all group elements.
Parameters: - Id (int) –
- Type (MeshVS_EntityType &) –
- Ids (TColStd_PackedMapOfInteger &) –
Return type:
-
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: Return type:
-
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:
-
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: Return type:
-
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: Return type:
-
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) → OCC.MeshVS.Handle_MeshVS_HArray1OfSequenceOfInteger¶ Parameters: BasePoints (int) – Return type: Handle_MeshVS_HArray1OfSequenceOfInteger
-
static
CreatePyramidTopology
(*args) → OCC.MeshVS.Handle_MeshVS_HArray1OfSequenceOfInteger¶ 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
-
static
-
MeshVS_DataSource3D_CreatePrismTopology
(*args) → OCC.MeshVS.Handle_MeshVS_HArray1OfSequenceOfInteger¶ Parameters: BasePoints (int) – Return type: Handle_MeshVS_HArray1OfSequenceOfInteger
-
MeshVS_DataSource3D_CreatePyramidTopology
(*args) → OCC.MeshVS.Handle_MeshVS_HArray1OfSequenceOfInteger¶ 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: -
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:
-
GetVectors
()¶ - This method returns map of nodal displacement vectors
Return type: MeshVS_DataMapOfIntegerVector
-
SetVector
()¶ - This method sets vector ( Vect ) assigned to node number ID.
Parameters: Return type:
-
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
-
GetHandle
()¶
-
thisown
¶ The membership flag
-
-
class
MeshVS_DummySensitiveEntity
(*args)¶ Bases:
OCC.SelectBasics.SelectBasics_SensitiveEntity
Parameters: theOwnerId (Handle_SelectBasics_EntityOwner &) – Return type: None -
GetHandle
()¶
-
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: -
GetColor1
()¶ - Returns color assigned with element number ID
Parameters: - ID (int) –
- theColor (Quantity_Color &) –
Return type:
-
GetColor2
()¶ - Returns colors assigned with element number ID
Parameters: - ID (int) –
- theColor (MeshVS_TwoColors &) –
Return type: - 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:
-
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
()¶
-
SetColor1
()¶ - Sets color assigned with element number ID
Parameters: - ID (int) –
- theColor (Quantity_Color &) –
Return type:
-
SetColor2
()¶ - Sets colors assigned with element number ID
Parameters: - ID (int) –
- theTwoColors (MeshVS_TwoColors &) –
Return type: - 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:
-
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: Return type: Return type: -
Array1
()¶ Return type: MeshVS_Array1OfSequenceOfInteger
-
ChangeArray1
()¶ Return type: MeshVS_Array1OfSequenceOfInteger
-
ChangeValue
()¶ Parameters: Index (int) – Return type: TColStd_SequenceOfInteger
-
GetHandle
()¶
-
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 -
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: Return type: -
Assign
()¶ Parameters: Other (MeshVS_MapOfTwoNodes &) – Return type: MeshVS_MapOfTwoNodes
-
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:
-
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
-
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
-
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
-
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
-
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:
OCC.SelectMgr.SelectMgr_EntityOwner
Parameters: Return type: -
GetHandle
()¶
-
Hilight
()¶ - Hilights owner
Return type: void - Hilights owner
Parameters: - PM (Handle_PrsMgr_PresentationManager &) –
- Mode (int) – default value is 0
Return type: void
-
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
-
thisown
¶ The membership flag
-
-
class
MeshVS_MeshOwner
(*args)¶ Bases:
OCC.SelectMgr.SelectMgr_EntityOwner
Parameters: - theSelObj (SelectMgr_SOPtr &) –
- theDS (Handle_MeshVS_DataSource &) –
- thePriority (int) – default value is 0
Return type: -
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
-
SetDetectedEntities
()¶ - Saves ids of hilighted mesh entities
Parameters: - Nodes (Handle_TColStd_HPackedMapOfInteger &) –
- Elems (Handle_TColStd_HPackedMapOfInteger &) –
Return type:
-
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: -
static
AddVolumePrs
()¶ - Add to array polygons or polylines representing volume
Parameters: 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
()¶ - Calculate how many polygons or polylines are necessary to draw passed topology
Parameters: Return type: void
-
thisown
¶ The membership flag
-
MeshVS_MeshPrsBuilder_AddVolumePrs
()¶ - Add to array polygons or polylines representing volume
Parameters: Return type: void
-
MeshVS_MeshPrsBuilder_HowManyPrimitives
()¶ - Calculate how many polygons or polylines are necessary to draw passed topology
Parameters: 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: -
AddVolumePrs
()¶ - Add to array polygons or polylines representing volume
Parameters: Return type:
-
GetColor
()¶ - Returns color assigned to single node
Parameters: - ID (int) –
- theColor (Quantity_Color &) –
Return type:
-
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
-
SetColor
()¶ - Sets color assigned to single node
Parameters: - ID (int) –
- theColor (Quantity_Color &) –
Return type:
-
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:
-
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: 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:
-
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
-
GetHandle
()¶
-
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
-
SetDataSource
()¶ - Change custom data source
Parameters: newDS (Handle_MeshVS_DataSource &) – 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: -
GetHandle
()¶
-
thisown
¶ The membership flag
-
class
MeshVS_SensitiveMesh
(*args)¶ Bases:
object
Parameters: - theOwner (Handle_SelectBasics_EntityOwner &) –
- theMode (int) – default value is 0
Return type: -
BoundingBox
()¶ - Returns bounding box of mesh
Return type: Select3D_BndBox3d
-
GetConnected
()¶ Return type: Handle_Select3D_SensitiveEntity
-
GetHandle
()¶
-
thisown
¶ The membership flag
-
class
MeshVS_SensitivePolyhedron
(*args)¶ Bases:
object
Parameters: - theOwner (Handle_SelectBasics_EntityOwner &) –
- theNodes (TColgp_Array1OfPnt) –
- theTopo (Handle_MeshVS_HArray1OfSequenceOfInteger &) –
Return type: -
BoundingBox
()¶ Return type: Select3D_BndBox3d
-
GetConnected
()¶ Return type: Handle_Select3D_SensitiveEntity
-
GetHandle
()¶
-
Matches
()¶ Parameters: - theMgr (SelectBasics_SelectingVolumeManager &) –
- thePickResult (SelectBasics_PickResult &) –
Return type:
-
thisown
¶ The membership flag
-
class
MeshVS_SensitiveSegment
(*args)¶ Bases:
OCC.Select3D.Select3D_SensitiveSegment
Parameters: Return type: -
GetHandle
()¶
-
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: -
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: Return type:
-
Assign
()¶ Parameters: Other (MeshVS_SequenceOfPrsBuilder &) – Return type: MeshVS_SequenceOfPrsBuilder
-
ChangeValue
()¶ Parameters: Index (int) – Return type: Handle_MeshVS_PrsBuilder
-
First
()¶ Return type: Handle_MeshVS_PrsBuilder
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (Handle_MeshVS_PrsBuilder &) –
- Index –
- S (MeshVS_SequenceOfPrsBuilder &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (Handle_MeshVS_PrsBuilder &) –
- Index –
- S (MeshVS_SequenceOfPrsBuilder &) –
Return type: Return type:
-
Last
()¶ Return type: Handle_MeshVS_PrsBuilder
-
Prepend
()¶ Parameters: - T (Handle_MeshVS_PrsBuilder &) –
- S (MeshVS_SequenceOfPrsBuilder &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (MeshVS_SequenceOfPrsBuilder &) – Return type: MeshVS_SequenceOfPrsBuilder
-
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: -
GetHandle
()¶
-
Key
()¶ Return type: MeshVS_TwoNodes
-
thisown
¶ The membership flag
-
class
MeshVS_SymmetricPairHasher
(*args, **kwargs)¶ Bases:
object
-
static
IsEqual
()¶ Parameters: - thePair1 (MeshVS_NodePair &) –
- thePair2 (MeshVS_NodePair &) –
Return type:
-
thisown
¶ The membership flag
-
static
-
MeshVS_SymmetricPairHasher_HashCode
()¶ Parameters: - thePair (MeshVS_NodePair &) –
- theMaxCode (int) –
Return type:
-
MeshVS_SymmetricPairHasher_IsEqual
()¶ Parameters: - thePair1 (MeshVS_NodePair &) –
- thePair2 (MeshVS_NodePair &) –
Return type:
-
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: -
GetHandle
()¶
-
GetText
()¶ - Returns text assigned with single node or element
Parameters: Return type:
-
GetTexts
()¶ - Returns map of text assigned with nodes ( IsElement = False ) or elements ( IsElement = True )
Parameters: IsElement (bool) – Return type: MeshVS_DataMapOfIntegerAsciiString
-
SetText
()¶ - Sets text assigned with single node or element
Parameters: Return type:
-
SetTexts
()¶ - Sets map of text assigned with nodes or elements
Parameters: - IsElement (bool) –
- Map (MeshVS_DataMapOfIntegerAsciiString &) –
Return type:
-
thisown
¶ The membership flag
-
class
MeshVS_Tool
¶ Bases:
object
-
static
CreateAspectFillArea3d
()¶ - 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: - 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:
-
static
CreateAspectLine3d
()¶ - 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:
-
static
CreateAspectMarker3d
()¶ - 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:
-
static
CreateAspectText3d
()¶ - 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:
-
static
GetAverageNormal
()¶ - 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:
-
static
GetNormal
()¶ - 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:
-
thisown
¶ The membership flag
-
static
-
MeshVS_Tool_CreateAspectFillArea3d
()¶ - 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: - 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:
-
MeshVS_Tool_CreateAspectLine3d
()¶ - 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:
-
MeshVS_Tool_CreateAspectMarker3d
()¶ - 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:
-
MeshVS_Tool_CreateAspectText3d
()¶ - 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:
-
MeshVS_Tool_GetAverageNormal
()¶ - 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:
-
MeshVS_Tool_GetNormal
()¶ - 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:
-
class
MeshVS_TwoColors
(*args, **kwargs)¶ Bases:
object
-
b1
¶
-
b2
¶
-
g1
¶
-
g2
¶
-
r1
¶
-
r2
¶
-
thisown
¶ The membership flag
-
-
MeshVS_TwoColorsHasher_IsEqual
()¶ Parameters: - K1 (MeshVS_TwoColors &) –
- K2 (MeshVS_TwoColors &) –
Return type:
-
class
MeshVS_TwoNodes
(*args)¶ Bases:
object
Parameters: Return type: -
First
¶
-
Second
¶
-
thisown
¶ The membership flag
-
-
MeshVS_TwoNodesHasher_IsEqual
()¶ Parameters: - K1 (MeshVS_TwoNodes &) –
- K2 (MeshVS_TwoNodes &) –
Return type:
-
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: -
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:
-
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:
-
GetVector
()¶ - Returns vector assigned with certain node or element
Parameters: Return type:
-
GetVectors
()¶ - Returns map of vectors assigned with nodes or elements
Parameters: IsElement (bool) – Return type: MeshVS_DataMapOfIntegerVector
-
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: Return type:
-
SetVector
()¶ - Sets vector assigned with certain node or element
Parameters: Return type:
-
SetVectors
()¶ - Sets map of vectors assigned with nodes or elements
Parameters: - IsElement (bool) –
- Map (MeshVS_DataMapOfIntegerVector &) –
Return type:
-
static
calculateArrow
()¶ - Calculates points of arrow presentation
Parameters: - Points (TColgp_Array1OfPnt) –
- Length (float) –
- ArrowPart (float) –
Return type:
-
thisown
¶ The membership flag
-
MeshVS_VectorPrsBuilder_calculateArrow
()¶ - Calculates points of arrow presentation
Parameters: - Points (TColgp_Array1OfPnt) –
- Length (float) –
- ArrowPart (float) –
Return type:
-
class
SwigPyIterator
(*args, **kwargs)¶ Bases:
object
-
advance
()¶
-
copy
()¶
-
decr
()¶
-
distance
()¶
-
equal
()¶
-
incr
()¶
-
next
()¶
-
previous
()¶
-
thisown
¶ The membership flag
-
value
()¶
-
-
new_instancemethod
(func, inst, cls)¶
-
register_handle
(handle, base_object)¶ Inserts the handle into the base object to prevent memory corruption in certain cases