Inheritance diagram for oaShapeQuery:
Public Methods | |
oaShapeQuery () | |
oaLayerNum | getLayerNum () const |
oaPurposeNum | getPurposeNum () const |
void | query (oaDesign *topDesign, oaLayerNum layerNum, oaPurposeNum purposeNum, const oaBox ®ion, oaDist filterSize=0, oaUInt4 startLevel=0, oaUInt4 stopLevel=100) |
void | query (oaDesign *topDesign, oaLayerNum layerNum, oaPurposeNum purposeNum, const oaBox ®ion, const oaTransform &xform, oaDist filterSize=0, oaUInt4 startLevel=0, oaUInt4 stopLevel=100) |
oaOccShape * | getOccShape (oaShape *shape) const |
virtual void | queryShape (oaShape *shape)=0 |
The sequence of virtual functions that get called during the query is as follows.
The query descends the hierachy of an oaRef, if the maximum dimension of the ref's master is The query descends the hierarchy of an oaRef, if the maximum dimension of the ref's master is The query descends the hierarchy of an oaRef if the maximum dimension of the ref's master is larger than the filter size of the query and if the startRef function call returns true for that ref. If then produces shapes recursively in its hierarchy. endRef function for an oaRef gets called if the query descends into its hierarchy. See documentation on startRef and endRef for additional information.
|
This is the constructor for the oaShapeQuery class. |
|
This function returns the layer number associated with this shape query. |
|
This function returns the occShape associated with the specified shape in a design hierarchy. If the occShape does not exist, one will be generated and returned.
|
|
This function returns the purpose number associated with this shape query. |
|
This function begins the query process to start generating shapes on the specified layer/purpose in the specified region of the specified design hierarchy. A valid layer number and purpose number must be provided to the shape query, and the query produces all shapes in the design hierarchy on that layer and purpose. If there isn't an oaLPPHeader corresponding to the specified layer and purpose numbers, the query does not produces any shapes. The top block of any given design will have an LPPHeader for every LPPHeader that exists in the block of every bound, instantiated design in its hierarchy. In order to produce all layer/purpose shapes of interest in a design, the application can get a collection of oaLPPHeaders in the top block, then for each LPPHeader in the collection the application can use the oaShapeQuery class to query the shapes for the layerNum and purposeNum from that LPPHeader.
|
|
This function begins the query process to start generating shapes on the specified layer/purpose in the specified region of the specified design hierarchy. A valid layer number and purpose number must be provided to the shape query, and the query produces all shapes in the design hierarchy on that layer and purpose. If there isn't an oaLPPHeader corresponding to the specified layer and purpose numbers, the query does not produces any shapes. The top block of any given design will have an LPPHeader for every LPPHeader that exists in the block of every bound, instantiated design in its hierarchy. In order to produce all layer/purpose shapes of interest in a design, the application can get a collection of oaLPPHeaders in the top block, then for each LPPHeader in the collection the application can use the oaShapeQuery class to query the shapes for the layerNum and purposeNum from that LPPHeader.
|
|
This function processes each result of the shape query.
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.