Auxiliary class to iterate through vertices. Provides functionality to iterate through the vertices of a shape. It inherits from RWMesh_ShapeIterator and implements methods to access and manipulate vertex data.
More...
#include <RWMesh_VertexIterator.hxx>
|
| | RWMesh_ShapeIterator (const TDF_Label &theLabel, const TopLoc_Location &theLocation, const TopAbs_ShapeEnum theShapeTypeFind, const TopAbs_ShapeEnum theShapeTypeAvoid, const bool theToMapColors=false, const XCAFPrs_Style &theStyle=XCAFPrs_Style()) |
| | Main constructor.
|
| | RWMesh_ShapeIterator (const TopoDS_Shape &theShape, const TopAbs_ShapeEnum theShapeTypeFind, const TopAbs_ShapeEnum theShapeTypeAvoid, const XCAFPrs_Style &theStyle=XCAFPrs_Style()) |
| | Auxiliary constructor.
|
| void | dispatchStyles (const TDF_Label &theLabel, const TopLoc_Location &theLocation, const XCAFPrs_Style &theStyle) |
| | Dispatch shape styles.
|
| void | resetShape () |
| | Reset information for current shape.
|
| void | initShape () |
| | Initialize shape properties.
|
| NCollection_DataMap< TopoDS_Shape, XCAFPrs_Style, TopTools_ShapeMapHasher > | myStyles |
| | Shape -> Style map.
|
| XCAFPrs_Style | myDefStyle |
| | default style for shapes without dedicated style
|
| bool | myToMapColors |
| | flag to dispatch styles
|
| TopExp_Explorer | myIter |
| | shape explorer
|
| TopLoc_Location | myLocation |
| | current shape location
|
| gp_Trsf | myTrsf |
| | current shape transformation
|
| XCAFPrs_Style | myStyle |
| | current shape style
|
| Quantity_ColorRGBA | myColor |
| | current shape color
|
| TopAbs_ShapeEnum | myShapeType |
| | type of shape
|
| bool | myHasColor |
| | flag indicating that current shape has assigned color
|
Auxiliary class to iterate through vertices. Provides functionality to iterate through the vertices of a shape. It inherits from RWMesh_ShapeIterator and implements methods to access and manipulate vertex data.
◆ RWMesh_VertexIterator() [1/2]
Main constructor.
- Parameters
-
| [in] | theLabel | The label of the shape. |
| [in] | theLocation | The location of the shape. |
| [in] | theToMapColors | Flag to indicate if colors should be mapped. |
| [in] | theStyle | The style of the shape. |
◆ RWMesh_VertexIterator() [2/2]
Auxiliary constructor.
- Parameters
-
| [in] | theShape | The shape to iterate. |
| [in] | theStyle | The style of the shape. |
◆ ElemLower()
| int RWMesh_VertexIterator::ElemLower |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ ElemUpper()
| int RWMesh_VertexIterator::ElemUpper |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ IsEmpty()
| bool RWMesh_VertexIterator::IsEmpty |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ More()
| bool RWMesh_VertexIterator::More |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ NbNodes()
| int RWMesh_VertexIterator::NbNodes |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ Next()
| void RWMesh_VertexIterator::Next |
( |
| ) |
|
|
overridevirtual |
◆ node()
| gp_Pnt RWMesh_VertexIterator::node |
( |
const int | | ) |
const |
|
inlineoverridevirtual |
◆ NodeLower()
| int RWMesh_VertexIterator::NodeLower |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ NodeUpper()
| int RWMesh_VertexIterator::NodeUpper |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ Point()
| const gp_Pnt & RWMesh_VertexIterator::Point |
( |
| ) |
const |
|
inline |
Return current vertex data.
◆ Shape()
◆ Vertex()
The documentation for this class was generated from the following file: