|
| Rule (const Rule &rh)=delete |
| Rules cannot be copied. More...
|
|
| Rule (QgsAbstract3DSymbol *symbol, const QString &filterExp=QString(), const QString &description=QString(), bool elseRule=false) |
| takes ownership of symbol, symbol may be nullptr More...
|
|
| ~Rule () |
|
bool | active () const |
| Returns if this rule is active. More...
|
|
void | appendChild (QgsRuleBased3DRenderer::Rule *rule) |
| add child rule, take ownership, sets this as parent More...
|
|
QgsRuleBased3DRenderer::RuleList & | children () |
| Returns all children rules of this rule. More...
|
|
const QgsRuleBased3DRenderer::RuleList & | children () const |
| Returns all children rules of this rule. More...
|
|
QgsRuleBased3DRenderer::Rule * | clone () const |
| clone this rule, return new instance More...
|
|
void | createHandlers (QgsVectorLayer *layer, RuleToHandlerMap &handlers) const |
| add handlers More...
|
|
QgsRuleBased3DRenderer::RuleList | descendants () const |
| Returns all children, grand-children, grand-grand-children, grand-gra... you get it. More...
|
|
QString | description () const |
| A human readable description for this rule. More...
|
|
QString | filterExpression () const |
| A filter that will check if this rule applies. More...
|
|
QgsRuleBased3DRenderer::Rule * | findRuleByKey (const QString &key) |
| Find a rule thanks to its key. More...
|
|
const QgsRuleBased3DRenderer::Rule * | findRuleByKey (const QString &key) const |
| Try to find a rule given its unique key. More...
|
|
void | insertChild (int i, QgsRuleBased3DRenderer::Rule *rule) |
| add child rule, take ownership, sets this as parent More...
|
|
bool | isElse () const |
| Check if this rule is an ELSE rule. More...
|
|
Rule & | operator= (const Rule &rh)=delete |
| Rules cannot be copied. More...
|
|
QgsRuleBased3DRenderer::Rule * | parent () |
| The parent rule. More...
|
|
const QgsRuleBased3DRenderer::Rule * | parent () const |
| The parent rule. More...
|
|
void | prepare (const Qgs3DRenderContext &context, QSet< QString > &attributeNames, RuleToHandlerMap &handlers) const |
| call prepare() on handlers and populate attributeNames More...
|
|
RegisterResult | registerFeature (QgsFeature &feature, Qgs3DRenderContext &context, RuleToHandlerMap &handlers) const |
| register individual features More...
|
|
void | removeChildAt (int i) |
| delete child rule More...
|
|
QString | ruleKey () const |
| Unique rule identifier (for identification of rule within labeling, used as provider ID) More...
|
|
QDomElement | save (QDomDocument &doc, const QgsReadWriteContext &context) const |
| store labeling info to XML element More...
|
|
void | setActive (bool state) |
| Sets if this rule is active. More...
|
|
void | setDescription (const QString &description) |
| Set a human readable description for this rule. More...
|
|
void | setFilterExpression (const QString &filterExp) |
| Set the expression used to check if a given feature shall be rendered with this rule. More...
|
|
void | setIsElse (bool iselse) |
| Sets if this rule is an ELSE rule. More...
|
|
void | setRuleKey (const QString &key) |
| Override the assigned rule key (should be used just internally by rule-based renderer) More...
|
|
void | setSymbol (QgsAbstract3DSymbol *symbol) |
| Sets new symbol (or nullptr ). Deletes old symbol if any. More...
|
|
QgsAbstract3DSymbol * | symbol () const |
| Returns the labeling settings. More...
|
|