Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
irangeelementgeometrydistance.h
1 #pragma once
2 
4 
5 namespace itascaxd {
9  class IRangeElementGeometryDistance { // name = "geometry"
10  public:
12  inline static const TType type_ = 0x4f201f49;
14  virtual IRangeElement *getIRangeElement()=0;
15 
17  virtual QSet<QString> getNames() const=0;
19  virtual double getDistance() const=0;
21  virtual void setNames(const QSet<QString> &ns)=0;
23  virtual void addName(const QString &n)=0;
25  virtual void removeName(const QString &n)=0;
27  virtual void setDistance(const double &distance)=0;
28 
29  signals:
31  virtual void namesChanged(const QSet<QString> &ns)=0;
33  virtual void nameAdded(const QString &n)=0;
35  virtual void nameRemoved(const QString &n)=0;
37  virtual void distanceChanged(const double &dist)=0;
38  };
39 
40 } // namespace itascaxd
41 // EoF
virtual void setDistance(const double &distance)=0
Sets the distance to the geometry sets.
Interface to a filter element, which is a member of a IRange.
virtual QSet< QString > getNames() const =0
Returns the list of geometry sets associated with this filter element.
virtual void nameRemoved(const QString &n)=0
Signal emitted when the geometry set is removed.
Interface to a filter element, which is a member of a IRange..
Definition: irangeelement.h:18
virtual void namesChanged(const QSet< QString > &ns)=0
Signal emitted when the geometry set list is changed.
virtual void addName(const QString &n)=0
Adds the geometry set list to the filter.
virtual void setNames(const QSet< QString > &ns)=0
Sets the geometry set list to the filter.
virtual void removeName(const QString &n)=0
Removes the geometry set list to the filter.
unsigned int TType
class type indicator
Definition: basedef.h:41
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition: irangeelementgeometrydistance.h:12
virtual IRangeElement * getIRangeElement()=0
Returns a pointer to itself.
Itasca Library standard namespace, specific to 2D or 3D.
Definition: icontactmodule.h:4
virtual void distanceChanged(const double &dist)=0
Signal emitted when the distance has changed.
virtual double getDistance() const =0
Returns the distance to the geometry set.
Interface to a RangeElement of a geometry set, where you want objects within a certain distance to th...
Definition: irangeelementgeometrydistance.h:9
virtual void nameAdded(const QString &n)=0
Signal emitted when the geometry set is added.