|
virtual const IThing * | getIThing () const =0 |
| Returns a const IThing interface pointer for a filter.
|
|
virtual IThing * | getIThing ()=0 |
| Returns a IThing interface pointer for a filter.
|
|
virtual void | clear ()=0 |
| clear all elements, set to union, and remove name
|
|
virtual const IRange & | operator= (const IRange &ir)=0 |
| Copy a filter - including name.
|
|
virtual IRange * | clone () const =0 |
| Creates a new instance of a filter - must be destroyed by the caller.
|
|
virtual QString | getName () const =0 |
|
virtual void | setName (const QString &s)=0 |
| sets the filter name
|
|
virtual bool | isUnion () const =0 |
| Indicates if filter is a union of filter elements.
|
|
virtual void | setUnion (bool b)=0 |
|
virtual int | getNumberOfElements () const =0 |
| Returns the number of RangeElement making up the filter.
|
|
virtual IRangeElement * | getElement (int index) const =0 |
| Returns the RangeElement at the given index, where index is less than getNumberOfElements().
|
|
virtual void | removeElement (int index)=0 |
| Removes element at index from the filter, assumes index is less than getNumberOfElements().
|
|
virtual QStringList | getCommandSwitches () const =0 |
|
virtual const IRange * | getNext () const =0 |
|
virtual bool | recursionCheck () const =0 |
| Checks to see if an infinitely recursive named filter topology has been created.
|
|
virtual void | addElement (const QString &name)=0 |
|
virtual bool | isIn (const IThing *t) const =0 |
|
virtual bool | isIn (const IThing &t) const =0 |
|
virtual bool | isIn (const DVect &pos) const =0 |
|
virtual bool | isIn (qint64 index, const TType &type) const =0 |
|
virtual QObject * | getQObject ()=0 |
| Returns a pointer to a QObject representing this object.
|
|
virtual void | save (Archive2 &a) const =0 |
|
virtual bool | restore (Archive2 &a, quint64 label)=0 |
|
virtual void | remap (Archive2 &a)=0 |
|
virtual void | saveElement (Archive2 &a, int index) const =0 |
|
virtual bool | restoreElement (Archive2 &a)=0 |
|
virtual bool | getIsFish () const =0 |
| Returns true if a filter element is a FISH filter element.
|
|
virtual bool | isThreadSafe () const =0 |
|
virtual void | setUseHidden (bool b)=0 |
|
virtual bool | getUseHidden () const =0 |
| Returns the current hidden state. See setUseHidden().
|
|
virtual bool | setSelected (bool b)=0 |
|
virtual bool | getSelected () const =0 |
| Return the current selected state. See setSelected.
|
|
virtual bool | setDeselected (bool b)=0 |
|
virtual bool | getDeselected () const =0 |
|
virtual bool | isDefault () const =0 |
|
virtual void | destroy ()=0 |
| Destroys the filter.
|
|
virtual void | elementChanged (IRangeElement *elem, int index)=0 |
| This signal is emitted when a filter has changed. See addElement(), removeElement(), setName(), setUnion().
|
|
virtual void | notChanged (IRangeElement *elem, bool notChanged)=0 |
| This signal is emitted when a filter has NOT changed.
|
|
virtual void | byChanged (IRangeElement *elem, const QString &)=0 |
| This signal is emitted when a filter has BY changed.
|
|
virtual void | listChanged (int length)=0 |
| This signal is emitted when a number of element in the global list filter has changed. See addElement(), removeElement()
|
|
virtual void | nameChanged (const QString &name)=0 |
| This signal is emitted when a filter name has changed. See setName();.
|
|
virtual void | unionChanged (bool b)=0 |
| This signal is emitted when a filter union state has changed. See setUnion();.
|
|
Interface to a filter, used as the main method for filtering objects.
This is an interface to the main command processing class. The idea is that you pass an IThing to a Range [isIn()], which decides whether it falls inside or outside.
A Range is a container of Range Elements, and a given IThing must either fall within all of them (intersection, the default) or any of them (union, with setUnion()).
By default a Range is the logical intersection of all its filter elements. If the union flag is set the filter is considered to be the logical union of its elements.