Itasca C++ Interface
|
A filter element described as a sphere in space. More...
#include <irangeelementtype.h>
Public Member Functions | |
virtual DVect | getCenter () const =0 |
Returns the sphere center, see setCenter. | |
virtual double | getRadius1 () const =0 |
Returns the spherical annulus inner radius, see setRadius1() | |
virtual double | getRadius2 () const =0 |
Returns the spherical (outer) radius, , see setRadius2() | |
virtual bool | isAnnulus () const =0 |
Returns true if object represents an spherical annulus, , see setRadius1() | |
virtual void | setCenter (const DVect &)=0 |
Sets the sphere center. | |
virtual void | setRadius1 (const double &d)=0 |
Sets the spherical annulus inner radius. | |
virtual void | setRadius2 (const double &d)=0 |
Sets the spherical (outer) radius. | |
virtual IRangeElement * | getIRangeElement ()=0 |
Returns a pointer to the IRangeElement object. | |
Public Attributes | |
shared::Signal< const DVect & > | centerChanged |
shared::Signal< double > | radius1Changed |
shared::Signal< double > | radius2Changed |
Static Public Attributes | |
static const TType | type_ = 0x4c815bad |
The type identification number for this class, for use in convert_cast() and convert_getcast(). | |
A filter element described as a sphere in space.
It can also represent a spherical annulus between a minimum and maximum radius.
If not an annulus, you should leave Radius1()=0.0 and specify Radius2().