27 shared::Signal<const DVect &> centerChanged;
28 shared::Signal<double> radius1Changed;
29 shared::Signal<double> radius2Changed;
54 class IRangeElementCylinder {
57 inline static const TType type_ = 0x4c815baf;
59 shared::Signal<const DVect &> beginChanged;
60 shared::Signal<const DVect &> endChanged;
61 shared::Signal<double> radius1Changed;
62 shared::Signal<double> radius2Changed;
65 virtual DVect getBegin()
const=0;
67 virtual DVect getEnd()
const=0;
69 virtual double getRadius1()
const=0;
71 virtual double getRadius2()
const=0;
73 virtual void setBegin(
const DVect &v)=0;
75 virtual void setEnd(
const DVect &v)=0;
77 virtual void setRadius(
const double &d1,
const double &d2)=0;
91 shared::Signal<const DVect &> lowerBoundChanged;
92 shared::Signal<const DVect &> upperBoundChanged;
93 shared::Signal<const DVect &> toleranceChanged;
94 shared::Signal<const DVect &> centerChanged;
129 shared::Signal<const DVect &> normalChanged;
130 shared::Signal<const DVect &> originChanged;
131 shared::Signal<Kind> kindChanged;
132 shared::Signal<double> distanceChanged;
162 shared::Signal<const QString &> nameChanged;
All default base headers if Qt is being used.
Class for storing an "orientation", or a direction in 2D or 3D space.
Definition orientation.h:99
Interface to a filter element, which is a member of a IRange..
Definition irangeelement.h:19
Interface to a Range Element that is actually a named filter.
Definition irangeelementtype.h:157
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition irangeelementtype.h:160
virtual void setFilterName(const QString &s)=0
Sets the name of the named filter element.
virtual QString getFilterName() const =0
Returns the name of the named filter element.
Interface to a RangeElement of a plane in space, where you want objects above, below,...
Definition irangeelementtype.h:118
virtual Kind getKind() const =0
Returns if the objects should be above, below, or within a certain distance of the filter,...
virtual Orientation getOrientation() const =0
Returns the plane Orientation, see setOrientation()
Kind
Possible object location.
Definition irangeelementtype.h:123
@ kAbove
Definition irangeelementtype.h:124
@ kDist
Definition irangeelementtype.h:126
@ kBelow
Definition irangeelementtype.h:125
virtual DVect getOrigin() const =0
Returns the plane origin, see setOrigin()
virtual double getDistance() const =0
Returns the object distance from the filter.
virtual void setOrigin(const DVect &o)=0
Sets the plane origin.
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition irangeelementtype.h:121
virtual void setDistance(const double &d)=0
Sets the object distance to the filter.
virtual void setOrientation(const Orientation &o)=0
Sets the plane Orientation.
virtual void setKind(Kind k)=0
Sets where the object will be located related to plane, above, below, within a given distance,...
A filter element specified as a geometric region inside a capped cylinder, defined by a segment [begi...
Definition irangeelementtype.h:86
virtual DVect getCenter() const =0
Returns the center.
virtual DVect getUpperBound() const =0
Returns the upper bound.
virtual IRangeElement * getIRangeElement()=0
Returns a pointer to the IRangeElement object.
virtual void setUpperBound(const DVect &v)=0
Sets the upper bound.
virtual DVect getLowerBound() const =0
Returns the lower bound.
virtual DVect getTolerance() const =0
Returns the tolerance.
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition irangeelementtype.h:89
virtual void setLowerBound(const DVect &v)=0
Sets the lower bound.
virtual void setTolerance(const DVect &v)=0
Sets the tolernace.
virtual void setCenter(const DVect &v)=0
Sets the center.
A filter element described as a sphere in space.
Definition irangeelementtype.h:22
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition irangeelementtype.h:25
virtual double getRadius1() const =0
Returns the spherical annulus inner radius, see setRadius1()
virtual void setRadius1(const double &d)=0
Sets the spherical annulus inner radius.
virtual double getRadius2() const =0
Returns the spherical (outer) radius, , see setRadius2()
virtual void setCenter(const DVect &)=0
Sets the sphere center.
virtual bool isAnnulus() const =0
Returns true if object represents an spherical annulus, , see setRadius1()
virtual DVect getCenter() const =0
Returns the sphere center, see setCenter.
virtual void setRadius2(const double &d)=0
Sets the spherical (outer) radius.
virtual IRangeElement * getIRangeElement()=0
Returns a pointer to the IRangeElement object.
DIM - Provides code portability between 2D and 3D codes.
uint32 TType
class type indicator
Definition basedef.h:46
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition dim.h:154
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