MCPcopy Create free account
hub / github.com/KLayout/klayout / cv_transform_variants

Method cv_transform_variants

src/laybasic/laybasic/layLayoutViewBase.cc:6151–6164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6149}
6150
6151std::vector<db::DCplxTrans>
6152LayoutViewBase::cv_transform_variants (int cv_index) const
6153{
6154 std::set<db::DCplxTrans> trns_variants;
6155 for (lay::LayerPropertiesConstIterator l = begin_layers (); !l.at_end (); ++l) {
6156 if (! l->has_children ()) {
6157 int cvi = l->cellview_index () >= 0 ? l->cellview_index () : 0;
6158 if (cv_index < int (cellviews ()) && cvi == cv_index) {
6159 trns_variants.insert (l->trans ().begin (), l->trans ().end ());
6160 }
6161 }
6162 }
6163 return std::vector<db::DCplxTrans> (trns_variants.begin (), trns_variants.end ());
6164}
6165
6166std::vector<db::DCplxTrans>
6167LayoutViewBase::cv_transform_variants_with_empty (int cv_index) const

Callers 10

double_clickedMethod · 0.80
transient_selectMethod · 0.80
do_update_markersMethod · 0.80
probe_netMethod · 0.80
change_cellMethod · 0.80
adjust_viewMethod · 0.80
update_highlightsMethod · 0.80
do_traceMethod · 0.80
findMethod · 0.80

Calls 10

cellviewsFunction · 0.85
layer_indexMethod · 0.80
begin_layersFunction · 0.70
at_endMethod · 0.45
has_childrenMethod · 0.45
insertMethod · 0.45
beginMethod · 0.45
transMethod · 0.45
endMethod · 0.45
layoutMethod · 0.45

Tested by

no test coverage detected