Workspace 6.21.5
|
Base class for MeshModelInterface filters. More...
#include <Mesh/DataStructures/MeshModelInterface/meshmodelfilter.h>
Public Member Functions | |
MeshModelFilter ()=default | |
~MeshModelFilter () override=default | |
virtual bool | accept (const MeshElementsInterface &, const ElementHandle &) const |
virtual bool | accept (const MeshNodesInterface &, const NodeHandle &) const |
MeshModelFilter * | clone () const override=0 |
virtual void | criteriaChanged () |
virtual bool | isEnabled () const =0 |
virtual void | setEnabled (bool enable)=0 |
Public Member Functions inherited from ObjectGroup | |
~ObjectGroup () override | |
bool | add (const QString &name, DataObject &obj) |
bool | canSerialize () const override |
ObjectGroup * | clone () const override=0 |
bool | empty () const |
void | ensureGroupHasData () |
void | erase (int index) |
DataObject * | getChild (const QString &name) |
const DataObject * | getChild (const QString &name) const |
DataObject & | getDataObject (int index) |
const DataObject & | getDataObject (int index) const |
int | getIndex (const QString &name) const |
const QString & | getName (int index) const |
virtual QString | getPreferedWidget (const QString &name) const |
bool | hasData () const |
bool | haveName (const QString &name) const |
bool | insert (const QString &name, DataObject &obj, int index=-1) |
bool | load (const QJsonDocument &doc) |
bool | load (const SerializedItem &item) override |
bool | save (QJsonDocument &doc) const |
bool | save (SerializedItem &item) const override |
unsigned | size () const |
Public Member Functions inherited from Clonable | |
virtual | ~Clonable ()=default |
virtual Clonable * | clone () const =0 |
Public Member Functions inherited from Serialize | |
virtual | ~Serialize ()=default |
virtual bool | canSerialize () const =0 |
virtual bool | load (const SerializedItem &item)=0 |
virtual bool | save (SerializedItem &item) const =0 |
Additional Inherited Members | |
Protected Member Functions inherited from ObjectGroup | |
ObjectGroup () | |
void | clear () |
ObjectGroup & | operator= (const ObjectGroup &rhs) |
bool | operator== (const ObjectGroup &rhs) const |
void | swap (ObjectGroup &rhs) |
This filter will pass all checks
|
default |
|
overridedefault |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in GeometricPlaneFilter, and ScalarNodeStateFilter.
|
overridepure virtual |
We redeclare this function only so that the more derived return type is available without casting.
Implements ObjectGroup.
Implemented in GeometricPlaneFilter, NullOperationMeshModelFilter, and ScalarNodeStateFilter.
|
inlinevirtual |
Inform this filter that it's criteria has changed - avoids expensive checks for each accept() call. Code using the filter should typically call this once before iterating over nodes or elements to check acceptance so that the filter can update itself based on any data changes made. As most derived MeshModelFilters are based on ObjectGroups the filter will have no way of knowing that it's data has changed.
Reimplemented in GeometricPlaneFilter, and ScalarNodeStateFilter.
|
pure virtual |
Implemented in GeometricPlaneFilter, NullOperationMeshModelFilter, and ScalarNodeStateFilter.
|
pure virtual |
Implemented in GeometricPlaneFilter, NullOperationMeshModelFilter, and ScalarNodeStateFilter.