![]() |
Open CASCADE Technology Reference Manual 8.0.2
|
Occurrence mutation operations. More...
#include <BRepGraph_EditorView.hxx>
Public Member Functions | |
| BRepGraph_MutGuard< BRepGraphInc::OccurrenceDef > | Mut (const BRepGraph_OccurrenceId theOccurrence) |
| Return scoped mutable occurrence definition guard. | |
| BRepGraph_MutGuard< BRepGraphInc::OccurrenceRef > | MutRef (const BRepGraph_OccurrenceRefId theOccurrenceRef) |
| Return scoped mutable occurrence reference guard. | |
| void | SetRefLocalLocation (const BRepGraph_OccurrenceRefId theOccurrenceRef, const TopLoc_Location &theLoc) |
| Set the local location of an occurrence reference and fire immediate notification. | |
| void | SetRefLocalLocation (BRepGraph_MutGuard< BRepGraphInc::OccurrenceRef > &theMut, const TopLoc_Location &theLoc) |
| Set the local location of an occurrence reference inside a batched mutation scope. | |
| void | SetChildNodeId (const BRepGraph_OccurrenceId theOccurrence, const BRepGraph_NodeId theChildNodeId) |
| Set the child node referenced by an occurrence definition. Invalid or removed occurrence ids are ignored. The child must be an active topology node or an active Product; invalid, removed, and Occurrence child ids are ignored. | |
| void | SetChildNodeId (BRepGraph_MutGuard< BRepGraphInc::OccurrenceDef > &theMut, const BRepGraph_NodeId theChildNodeId) |
| Set the child node id inside a batched mutation scope. Invalid, removed, and Occurrence child ids are ignored. | |
| void | SetRefChildOccurrenceId (const BRepGraph_OccurrenceRefId theOccurrenceRef, const BRepGraph_OccurrenceId theOccurrence) |
| Rewire an occurrence reference to a different occurrence def (rebinds ProductToOccurrences). | |
| void | SetRefChildOccurrenceId (BRepGraph_MutGuard< BRepGraphInc::OccurrenceRef > &theMut, const BRepGraph_OccurrenceId theOccurrence) |
Occurrence mutation operations.
|
nodiscard |
Return scoped mutable occurrence definition guard.
|
nodiscard |
Return scoped mutable occurrence reference guard.
| void BRepGraph::EditorView::OccurrenceOps::SetChildNodeId | ( | BRepGraph_MutGuard< BRepGraphInc::OccurrenceDef > & | theMut, |
| const BRepGraph_NodeId | theChildNodeId ) |
Set the child node id inside a batched mutation scope. Invalid, removed, and Occurrence child ids are ignored.
| void BRepGraph::EditorView::OccurrenceOps::SetChildNodeId | ( | const BRepGraph_OccurrenceId | theOccurrence, |
| const BRepGraph_NodeId | theChildNodeId ) |
Set the child node referenced by an occurrence definition. Invalid or removed occurrence ids are ignored. The child must be an active topology node or an active Product; invalid, removed, and Occurrence child ids are ignored.
| void BRepGraph::EditorView::OccurrenceOps::SetRefChildOccurrenceId | ( | BRepGraph_MutGuard< BRepGraphInc::OccurrenceRef > & | theMut, |
| const BRepGraph_OccurrenceId | theOccurrence ) |
| void BRepGraph::EditorView::OccurrenceOps::SetRefChildOccurrenceId | ( | const BRepGraph_OccurrenceRefId | theOccurrenceRef, |
| const BRepGraph_OccurrenceId | theOccurrence ) |
Rewire an occurrence reference to a different occurrence def (rebinds ProductToOccurrences).
| void BRepGraph::EditorView::OccurrenceOps::SetRefLocalLocation | ( | BRepGraph_MutGuard< BRepGraphInc::OccurrenceRef > & | theMut, |
| const TopLoc_Location & | theLoc ) |
Set the local location of an occurrence reference inside a batched mutation scope.
| [in] | theMut | active mutable occurrence reference guard |
| [in] | theLoc | new local location |
| void BRepGraph::EditorView::OccurrenceOps::SetRefLocalLocation | ( | const BRepGraph_OccurrenceRefId | theOccurrenceRef, |
| const TopLoc_Location & | theLoc ) |
Set the local location of an occurrence reference and fire immediate notification.
| [in] | theOccurrenceRef | typed occurrence reference identifier |
| [in] | theLoc | new local location |