Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
irangeelement3dec.h
Go to the documentation of this file.
1 #pragma once
2 // irangeelement3dec.h
3 
11 
12 namespace block
13 {
14  using namespace itascaxd;
15 
18  class IRangeElementOrientation // name = "orientation"
19  {
20  public:
22  inline static const TType type_ = 0x4c8f35be;
24  static const UInt orientationNotice_ = 10;
26  static const UInt tol1Notice_ = 11;
28  static const UInt tol2Notice_ = 12;
29 
31  virtual Orientation3 getOrientation() const=0;
33  virtual Double getNormalTolerance() const=0;
35  virtual Double getDipTolerance() const=0;
37  virtual Double getDipDirectionTolerance() const=0;
39  virtual IRangeElement *getIRangeElement()=0;
41  virtual void setOrientation(const Orientation3 &o)=0;
43  virtual void setNormalTolerance(const Double &d)=0;
45  virtual void setDipTolerance(const Double &d)=0;
47  virtual void setDipDirectionTolerance(const Double &d)=0;
48 
52  virtual void orientationChanged(const Orientation3 &o)=0;
55  virtual void tolerance1Changed(const double &d)=0;
58  virtual void tolerance2Changed(const double &d)=0;
59  };
60 
61  //
62  //IRangeElementTwoInt
63  //
66  class IRangeElementTwoInt // name = "intintersection"
67  {
68  public:
70  inline static const TType type_ = 0x4c8fe5bf;
72  virtual Int getFirst() const=0;
74  virtual Int getSecond() const=0;
76  virtual IRangeElement *getIRangeElement()=0;
79  virtual void setFirst(Int i)=0;
82  virtual void setSecond(Int i)=0;
85  virtual void firstChanged(int i)=0;
88  virtual void secondChanged(int i)=0;
89 
90  };
91 
92 
94  {
95  public:
97  inline static const TType type_ = 0x52cac3ba;
98  };
99 
100 } // namespace block
101 // EoF
Interface to a filter element, which is a member of a IRange.
virtual Double getDipTolerance() const =0
returns dip tolerance
virtual void setNormalTolerance(double d)=0
sets orientation filter normal tolerance
virtual void orientationChanged(const Orientation3 &o)=0
virtual void setDipTolerance(double d)=0
sets orientation filter dip tolerance
Definition: irangeelementorientation.h:6
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition: irangeelementsurface.h:18
virtual void tolerance1Changed(double d)=0
Interface to a filter element, which is a member of a IRange..
Definition: irangeelement.h:18
int Int
signed 32 bit
Definition: basedef.h:30
IRangeElement for RangeElementMaterialIntersection.
Definition: irangeelement3dec.h:66
unsigned int UInt
unsigned 32 bit
Definition: basedef.h:31
virtual Double getNormalTolerance() const =0
returns normal tolerance
virtual Orientation3 getOrientation() const =0
returns orientation object
virtual Double getDipDirectionTolerance() const =0
eturns dip direction tolerance
Class for storing an "orientation", or a direction in 2D or 3D space.
Definition: orientation.h:94
unsigned int TType
class type indicator
Definition: basedef.h:41
virtual void setDipDirectionTolerance(double d)=0
sets orientation filter dip direction tolerance
virtual IRangeElement * getIRangeElement()=0
returns pointer to filter element
Itasca Library standard namespace, specific to 2D or 3D.
Definition: icontactmodule.h:4
virtual void tolerance2Changed(double d)=0
Interface to a filter element that allows user to filter based on connection to a "surface" of the zo...
Definition: irangeelementsurface.h:15
virtual void setOrientation(const Orientation3 &o)=0
sets orientation filter element
double Double
64 bit floating point
Definition: basedef.h:40
static const TType type_
type code
Definition: irangeelementorientation.h:9