Conditions on a point of a surface, all of which must hold; an unset one (Any) matches anything.
More...
|
| template<class T > |
| static SurfaceSelector | piece (const SurfaceRef< T > &a_surface) noexcept |
| | The piece a surface point belongs to: its surface between the two regions on its sides, whatever the part (withPart() narrows it to one).
|
| |
| static SurfaceSelector | rest () noexcept |
| | The remaining surfaces: every surface no other selector of the surface groups holds, whatever the order the selectors were added in.
|
| |
| static SurfaceSelector | surface (const uint32_t a_surface) noexcept |
| | Every point of a surface, whatever its part and sides.
|
| |
| static SurfaceSelector | surfaces (const uint32_t a_first, const uint32_t a_count) noexcept |
| | Every point of a range of surfaces, whatever their parts, labels and sides: a node of an expression and all below it (ExprIndex::Node::m_firstSurface and m_numSurfaces), whatever labels the surfaces below it have.
|
| |
| static SurfaceSelector | label (const SurfaceLabelId a_label) noexcept |
| | Every surface with a surface label.
|
| |
| static SurfaceSelector | interface (const uint32_t a_first, const uint32_t a_second) noexcept |
| | Every surface between two regions, either way round: an interface.
|
| |
| static SurfaceSelector | region (const uint32_t a_region) noexcept |
| | Every surface of a region: those with the region on either side.
|
| |
| static SurfaceSelector | materials (const MaterialLabelId a_first, const MaterialLabelId a_second=MaterialLabelId::none()) noexcept |
| | Every surface between two materials, either way round (one material alone: on either side).
|
| |
|
|
uint32_t | m_surface = Any |
| | The surface (SurfaceRef::m_surface), or the first of a range of them (see m_numSurfaces); or Any.
|
| |
|
uint32_t | m_part = Any |
| | The part (SurfaceRef::m_part), or Any.
|
| |
|
uint32_t | m_regionA = Any |
| | A region on one side, or Any.
|
| |
|
uint32_t | m_regionB = Any |
| | The region on the other side, or Any (with m_regionA set: m_regionA on either side, anything across).
|
| |
|
uint32_t | m_label = Any |
| | The surface label (SurfaceRef::m_surfaceLabel), or Any.
|
| |
|
uint32_t | m_materialA = Any |
| | A material on one side, or Any.
|
| |
|
uint32_t | m_materialB = Any |
| | The material on the other side, or Any (as m_regionB).
|
| |
|
bool | m_rest = false |
| | Whether the selector holds the remaining surfaces (rest()): surface groups try it after every other.
|
| |
|
uint32_t | m_numSurfaces = 1 |
| | How many surfaces from m_surface it holds (1: one surface); unused when m_surface is Any.
|
| |
Conditions on a point of a surface, all of which must hold; an unset one (Any) matches anything.
A piece (piece()) is a shape's surface between two regions, what one clicks; a part of it (withPart(), a box's face, a mesh's face) is finer. Broader selectors leave conditions unset: a whole surface (whatever its part and sides), every surface with a label, every surface between two regions (an interface, either order), every surface of a region (either side), or between two materials. Patches with the same attributes are one piece: the conditions say what a surface is, not where. The remaining surfaces (rest()) are what no other selector of a domain's surface groups hold. Matched against a SurfaceRef with its sides set (a tape's region queries set them); a plain value, usable on a device.