Itasca C++ Interface
irangeelementdfngen.h
1 #pragma once
2 
4 
5 namespace dfn {
6  using namespace itascaxd;
7 
11  public:
13  inline static const TType type_ = 0x4fa96f71;
14 
15  shared::Signal<const QSet<QString> &> namesChanged;
16  shared::Signal<const QString &> nameAdded;
17  shared::Signal<const QString &> nameRemoved;
18  shared::Signal<double> distanceChanged;
19  shared::Signal<bool> useApertureChanged;
20  shared::Signal<double> orientationChanged;
21  shared::Signal<bool> useOrientationChanged;
22  shared::Signal<bool> asContactChanged;
23 
26 
28  virtual QSet<QString> getNames() const=0;
30  virtual double getDistance() const=0;
32  virtual double getOrientation() const = 0;
34  virtual bool getUseOrientation() const = 0;
36  virtual bool getAsContact() const = 0;
38  virtual void setNames(const QSet<QString> &ns)=0;
40  virtual void addName(const QString &n)=0;
42  virtual void removeName(const QString &n)=0;
44  virtual void setDistance(const double &distance)=0;
46  virtual void setOrientation(const double& orientation) = 0;
48  virtual void setUseAperture(bool b)=0;
50  virtual bool getUseAperture() const=0;
52  virtual void setUseOrientation(bool b) = 0;
54  virtual void setAsContact(bool) = 0;
55 
56  };
57 
58 } // namespace itascaxd
59 // EoF
Interface to a RangeElement of dfns, where you want objects within a certain distance to fractures in...
Definition: irangeelementdfngen.h:10
virtual void setAsContact(bool)=0
Set as contact flag.
virtual void setNames(const QSet< QString > &ns)=0
Sets the dfn list.
virtual double getOrientation() const =0
Returns the orientation tolerance to the dfns in degrees.
virtual QSet< QString > getNames() const =0
Returns the list of dfns associated with this filter element.
virtual void removeName(const QString &n)=0
Removes a dfn from this filter.
virtual double getDistance() const =0
Returns the distance to the dfns.
virtual void setOrientation(const double &orientation)=0
Sets the orientation tolerance to the dfn in degrees.
virtual IRangeElement * getIRangeElement()=0
Returns a pointer to itself.
virtual void setUseOrientation(bool b)=0
Sets the use orientation boolean.
virtual void setUseAperture(bool b)=0
Sets the use aperture boolean.
virtual void addName(const QString &n)=0
Adds a dfn to the filter.
virtual void setDistance(const double &distance)=0
Sets the distance to the dfn.
virtual bool getAsContact() const =0
Return as contact flag.
virtual bool getUseAperture() const =0
Returns the use aperture boolean.
virtual bool getUseOrientation() const =0
Return use orientation flag.
Interface to a filter element, which is a member of a IRange..
Definition: irangeelement.h:19
uint32 TType
class type indicator
Definition: basedef.h:46
Interface to a filter element, which is a member of a IRange.
Itasca Library standard namespace, specific to 2D or 3D.
Definition: icontactmodule.h:4