#include <SMESH_MeshVSLink.hxx>
Public Member Functions | |
Standard_EXPORT Standard_Boolean | Get3DGeom (const Standard_Integer ID, Standard_Integer &NbNodes, Handle(MeshVS_HArray1OfSequenceOfInteger)&Data) const override |
Standard_EXPORT Standard_Address | GetAddr (const Standard_Integer ID, const Standard_Boolean IsElement) const override |
This method returns by number an address of any entity which represents element or node data structure. More... | |
Standard_EXPORT const TColStd_PackedMapOfInteger & | GetAllElements () const override |
This method returns map of all elements the object consist of. More... | |
Standard_EXPORT void | GetAllGroups (TColStd_PackedMapOfInteger &Ids) const override |
This method returns map of all groups the object contains. More... | |
Standard_EXPORT const TColStd_PackedMapOfInteger & | GetAllNodes () const override |
This method returns map of all nodes the object consist of. More... | |
Standard_EXPORT Standard_Boolean | GetGeom (const Standard_Integer ID, const Standard_Boolean IsElement, TColStd_Array1OfReal &Coords, Standard_Integer &NbNodes, MeshVS_EntityType &Type) const override |
Returns geometry information about node ( if IsElement is False ) or element ( IsElement is True ) by coordinates. More... | |
Standard_EXPORT Standard_Boolean | GetGeomType (const Standard_Integer ID, const Standard_Boolean IsElement, MeshVS_EntityType &Type) const override |
This method is similar to GetGeom, but returns only element or node type. More... | |
Standard_EXPORT Standard_Boolean | GetNodesByElement (const Standard_Integer ID, TColStd_Array1OfInteger &NodeIDs, Standard_Integer &NbNodes) const override |
This method returns information about what node this element consist of. More... | |
Standard_EXPORT Standard_Boolean | GetNormal (const Standard_Integer Id, const Standard_Integer Max, Standard_Real &nx, Standard_Real &ny, Standard_Real &nz) const override |
This method calculates normal of face, which is using for correct reflection presentation. More... | |
Standard_EXPORT const | Handle (Standard_Type) &DynamicType() const |
Standard_EXPORT | SMESH_MeshVSLink (const SMESH_Mesh *aMesh) |
Constructor More... | |
SMESH_MeshVSLink::SMESH_MeshVSLink | ( | const SMESH_Mesh * | aMesh | ) |
|
override |
|
override |
This method returns by number an address of any entity which represents element or node data structure.
|
override |
This method returns map of all elements the object consist of.
|
override |
This method returns map of all groups the object contains.
|
override |
This method returns map of all nodes the object consist of.
|
override |
Returns geometry information about node ( if IsElement is False ) or element ( IsElement is True )
by coordinates.
For element this method must return all its nodes coordinates in the strict order: X, Y, Z and
with nodes order is the same as in wire bounding the face or link. NbNodes is number of nodes of element.
It is recommended to return 1 for node. Type is an element type.
References SMDS_Mesh::FindElement(), SMDS_Mesh::FindNode(), SMESH_Mesh::GetMeshDS(), SMDS_MeshElement::GetNode(), SMDS_MeshNode::GetType(), SMDS_MeshElement::GetType(), SMDS_MeshElement::NbNodes(), SMDS_MeshNode::X(), SMDS_MeshNode::Y(), and SMDS_MeshNode::Z().
|
override |
This method is similar to GetGeom, but returns only element or node type.
This method is provided for
a fine performance.
References SMDS_Mesh::FindElement(), SMDS_Mesh::FindNode(), SMESH_Mesh::GetMeshDS(), SMDS_MeshNode::GetType(), and SMDS_MeshElement::GetType().
|
override |
This method returns information about what node this element consist of.
References SMDS_Mesh::FindElement(), SMDS_MeshElement::GetID(), SMESH_Mesh::GetMeshDS(), SMDS_MeshElement::GetNode(), and SMDS_MeshElement::NbNodes().
|
override |
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.
References SMDS_Mesh::FindElement(), SMESH_Mesh::GetMeshDS(), SMDS_MeshElement::GetNode(), SMDS_MeshElement::NbNodes(), SMDS_MeshNode::X(), SMDS_MeshNode::Y(), and SMDS_MeshNode::Z().
Standard_EXPORT const SMESH_MeshVSLink::Handle | ( | Standard_Type | ) | const & |