Uses of Interface
com.solibri.smc.api.filter.ComponentFilter
Package | Description |
---|---|
com.solibri.smc.api.checking | |
com.solibri.smc.api.filter | |
com.solibri.smc.api.model | |
com.solibri.smc.api.model.classification |
-
Uses of ComponentFilter in com.solibri.smc.api.checking
Methods in com.solibri.smc.api.checking that return ComponentFilter Modifier and Type Method Description ComponentFilter
ConcurrentRule. getDefaultFilter()
Returns the default filter for this rule.ComponentFilter
OneByOneRule. getDefaultFilter()
Returns the default filter for this rule.Methods in com.solibri.smc.api.checking with parameters of type ComponentFilter Modifier and Type Method Description Set<Component>
ComponentSelector. select(ComponentFilter filter)
Select for checking the components that satisfy the specified filter. -
Uses of ComponentFilter in com.solibri.smc.api.filter
Subinterfaces of ComponentFilter in com.solibri.smc.api.filter Modifier and Type Interface Description interface
AABBIntersectionFilter
Filter that accepts components whose axis-aligned bounding box (AABB) intersects the AABB defined for the filter.interface
LineIntersectionFilter
Filter that accepts components whose axis-aligned bounding box (AABB) intersects the line defined in this filter.interface
RayIntersectionFilter
Filter that accepts components whose axis-aligned bounding box (AABB) intersects the ray defined in this filter.Fields in com.solibri.smc.api.filter declared as ComponentFilter Modifier and Type Field Description static ComponentFilter
ComponentFilter. ACCEPT_ALL
A filter that accepts all components.static ComponentFilter
ComponentFilter. ACCEPT_NONE
A filter that accepts no component.Methods in com.solibri.smc.api.filter that return ComponentFilter Modifier and Type Method Description static ComponentFilter
ComponentFilter. all(ComponentFilter... filters)
Returns filter that accepts components when they are accepted by all the specified filters.default ComponentFilter
ComponentFilter. and(ComponentFilter other)
Returns a new filter that accepts components that are accepted by both this filter and other filter at the same time.static ComponentFilter
ComponentFilter. any(ComponentFilter... filters)
Returns filter that accepts components when they are accepted by at least one of the specified filters.static <T> ComponentFilter
ComponentFilter. componentClassIs(Class<T> componentClass)
Returns filter that accepts components when they belong to the specified class.static ComponentFilter
ComponentFilter. componentTypeIs(ComponentType componentType)
Returns filter that accepts components when they have the specifiedComponentType
.default ComponentFilter
ComponentFilter. negated()
Returns a new filter that accepts components when they are not accepted by this filter.default ComponentFilter
ComponentFilter. or(ComponentFilter other)
Returns a new filter that accepts components that are accepted by either this filter or the other filter or both.static <T> ComponentFilter
ComponentFilter. propertyValueEquals(PropertyReference propertyReference, T value)
Returns a filter that accepts components when the specified property has a specified target value.static <T> ComponentFilter
ComponentFilter. propertyValueMatches(PropertyReference propertyReference, Predicate<Optional<T>> predicate)
Returns a filter that accepts components when the specified component's property value matches the given predicate.Methods in com.solibri.smc.api.filter with parameters of type ComponentFilter Modifier and Type Method Description static ComponentFilter
ComponentFilter. all(ComponentFilter... filters)
Returns filter that accepts components when they are accepted by all the specified filters.default ComponentFilter
ComponentFilter. and(ComponentFilter other)
Returns a new filter that accepts components that are accepted by both this filter and other filter at the same time.static ComponentFilter
ComponentFilter. any(ComponentFilter... filters)
Returns filter that accepts components when they are accepted by at least one of the specified filters.default ComponentFilter
ComponentFilter. or(ComponentFilter other)
Returns a new filter that accepts components that are accepted by either this filter or the other filter or both. -
Uses of ComponentFilter in com.solibri.smc.api.model
Methods in com.solibri.smc.api.model with parameters of type ComponentFilter Modifier and Type Method Description Set<Component>
Model. getComponents(ComponentFilter filter)
Returns components accepted by givenfilter
.<T extends Component>
Set<T>Model. getComponents(ComponentFilter filter, Class<T> type)
Returns components accepted by givenfilter
that are also of the specified type. -
Uses of ComponentFilter in com.solibri.smc.api.model.classification
Methods in com.solibri.smc.api.model.classification that return ComponentFilter Modifier and Type Method Description ComponentFilter
Classification. getFilter()
Get the total filter that selects which components this classification should classify.