Itasca C++ Interface
irangeelementorientation.h
Go to the documentation of this file.
1 #pragma once
2 // irangeelementorientation.h
3 
10 
11 namespace zone
12 {
13  using namespace itascaxd;
14 
18  public:
20  inline static const TType type_ = 0x4c815be8;
22  virtual Orientation getOrientation() const=0;
24  virtual double getTolerance() const=0;
25 
26  // slots
28  virtual void setOrientation(const Orientation &o)=0;
30  virtual void setTolerance(const double &d)=0;
31 
32  // signals
34  virtual void orientationChanged(const Orientation &o)=0;
36  virtual void toleranceChanged(const double &d)=0;
37  };
38 } // namespace zone
39 // EoF
40 
Class for storing an "orientation", or a direction in 2D or 3D space.
Definition: orientation.h:99
Definition: irangeelementorientation.h:6
static const TType type_
type code
Definition: irangeelementorientation.h:9
virtual void toleranceChanged(const double &d)=0
Signal emitted when a new tolerance is set. See setTolerance().
virtual Orientation getOrientation() const =0
Returns the orientation, see setOrientation()
virtual double getTolerance() const =0
Returns the tolerance (radians) that the face normal will be checked against the orientation normal.
virtual void setOrientation(const Orientation &o)=0
Sets a new orientation, emits the sigmal getOrientation(). See getOrientation()
virtual void orientationChanged(const Orientation &o)=0
Signal emitted when a new orientation is set. See setOrientation().
virtual void setTolerance(const double &d)=0
Sets the tolerance, emits signal toleranceChanged(). See getTolerance().
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