Filter that decides which results should be retrieved with a call to getResults() in a styler. Since virtually all calls to getResults() will want results from a specific category, the constructor takes category mask for convenience. Any custom filtering can be done by deriving from this class.
Definition at line 25 of file STY_ResultsFilter.h.
virtual bool STY_ResultsFilter::acceptsFurtherOverrides |
( |
const STY_Style & |
style | ) |
const |
|
virtual |
Returns true if the filter allows the overrides from style sheet entries of lower precedence level than the given style entry. Usually the overrides from all matching entries are allowed, but sometimes an entery may block any further overrides, eg, if an style contains 'material' override, andy lower level overrides for 'materialParameters' need to be disregarded, since they were intended for the old material.
Reimplemented in STY_MaterialResultsFilter.