C++ main module for gpm Package  1.0
MATH_kBoxSet.h
Go to the documentation of this file.
1 #ifndef MATH_kBoxSet_H
2 #define MATH_kBoxSet_H
3 
4 #include "MATH_Set.h"
5 
16 class MATH_kBoxSet : public MATH_Set{
17  SP_OBJECT(MATH_kBoxSet);
18 
19  // ATTRIBUTES
20 public:
21 
22 
23 private:
24  int mOrientation;
25 
26 
27 
28 protected:
29  // METHODS
30 
31  // CONSTRUCTORS
32 
35  MATH_kBoxSet(void);
36 
37 
38  // DESTRUCTORS
39 
40 
43  virtual ~MATH_kBoxSet(void);
44 
45 
46 private:
47 
48 public:
49 
50 
51 
52  // SET methods
53 protected:
56  inline void setOrientation(const int& k) {mOrientation=k;};
57 
58  // GET methods
59 
60 
61 
62 public:
63  // OTHERS methods
64 
65 
66 
73  virtual void computeBoundingBox(const int& nParameters,const double* parameters,double minPoint[3],double size[3]) const;
74 
81  virtual tBoolean isInside(const int& nParameters,const double* parameters,const double p[3]) const;
82 
83 
84 protected:
89  virtual void evaluateParameters(MATH_Environment& symbols,MATH_Variable& var,double *& parameters,int& nParameters) const;
90 
91 };
92 
93 #endif
virtual ~MATH_kBoxSet(void)
destroy
Definition: MATH_kBoxSet.cpp:9
This class decribes a variable class for evaluation.
Definition: MATH_Variable.h:16
virtual void evaluateParameters(MATH_Environment &symbols, MATH_Variable &var, double *&parameters, int &nParameters) const
evaluate the arguments
Definition: MATH_kBoxSet.cpp:12
#define tBoolean
Definition: types.h:35
This class describes an k box set where P(x0,x1,x2) is in kBox if xk is in [min,max] k in [0...
Definition: MATH_kBoxSet.h:16
void setOrientation(const int &k)
set orientation
Definition: MATH_kBoxSet.h:56
DEFINE_SPTR(MATH_kBoxSet)
MATH_kBoxSet(void)
create
Definition: MATH_kBoxSet.cpp:5
This class decribes an environment class.
Definition: MATH_Environment.h:14
virtual void computeBoundingBox(const int &nParameters, const double *parameters, double minPoint[3], double size[3]) const
compute the bounding box of the set defined by the parameters
Definition: MATH_kBoxSet.cpp:50
virtual tBoolean isInside(const int &nParameters, const double *parameters, const double p[3]) const
return true if the point at location is inside the set defined buy the parameters ...
Definition: MATH_kBoxSet.cpp:65
This class describes a set.
Definition: MATH_Set.h:15