Iterator over added graphical elements. More...
#include <cadex/ModelData_BRepRepresentation.hxx>
Public Member Functions | |
PMIDataIterator (const ModelData_Shape &theSubshape, const ModelData_BRepRepresentation &theRep) | |
Constructor. | |
PMIDataIterator (const TopoDS_Shape &theSubshape, const ModelData_BRepRepresentation &theRep) | |
Constructor. | |
bool | HasNext () const |
Returns true if iterator points to valid element. | |
ModelData_PMIData | Next () |
Returns current element and moves iterator to the next one. | |
Iterator over added graphical elements.
Supports a Java style iterator.
cadex::ModelData_BRepRepresentation::PMIDataIterator::PMIDataIterator | ( | const ModelData_Shape & | theSubshape, |
const ModelData_BRepRepresentation & | theRep | ||
) |
Constructor.
Iterator will iterate over graphical elements that have been assigned to this subshape in the order in which they were added with the AddPMIData() method.
theSubshape should belong to theRep.
cadex::ModelData_BRepRepresentation::PMIDataIterator::PMIDataIterator | ( | const TopoDS_Shape & | theSubshape, |
const ModelData_BRepRepresentation & | theRep | ||
) |
Constructor.
theSubshape should belong to theRep.