C++ main module for gpm Package  1.0
MATH_YBoxSet.h
Go to the documentation of this file.
1 #ifndef MATH_YBoxSet_H
2 #define MATH_YBoxSet_H
3 
4 #include "MATH_kBoxSet.h"
5 
17 class MATH_YBoxSet : public MATH_kBoxSet{
18  SP_OBJECT(MATH_YBoxSet);
19 
20  // ATTRIBUTES
21 
22 
23 private:
24 
25 
26 protected:
27  // METHODS
28 
29  // CONSTRUCTORS
30 
33  MATH_YBoxSet(void) {
34  setOrientation(1);
35  }
36 
37 
38  // DESTRUCTORS
39 
40 
43  virtual ~MATH_YBoxSet(void) {
44  }
45 
46 
47 private:
48 
49 public:
52  static inline SP::MATH_YBoxSet New() {
53  SP::MATH_YBoxSet p(new MATH_YBoxSet(),MATH_YBoxSet::Delete());
54  p->setThis(p);
55  p->setSymbol("YBOX");
56  return p;
57  }
58 
61  virtual SP::MATH_FunctionNode newInstance() const {
62  return New();
63  }
64 
65  // SET methods
66 
67 
68 
69  // GET methods
70 
71 
72 
73 public:
74  // OTHERS methods
75 
76 
77 };
78 
79 #endif
virtual SP::MATH_FunctionNode newInstance() const
create a node expression
Definition: MATH_YBoxSet.h:61
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
This class describes an Y box set where P(x,y,z) is in YBox if y is in [ymin,ymax].
Definition: MATH_YBoxSet.h:17
virtual ~MATH_YBoxSet(void)
destroy
Definition: MATH_YBoxSet.h:43
MATH_YBoxSet(void)
create
Definition: MATH_YBoxSet.h:33
void setOrientation(const int &k)
set orientation
Definition: MATH_kBoxSet.h:56
DEFINE_SPTR(MATH_YBoxSet)
static SP::MATH_YBoxSet New()
create a set leaf
Definition: MATH_YBoxSet.h:52
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106