C++ main module for gpm Package  1.0
MATH_XBoxSet.h
Go to the documentation of this file.
1 #ifndef MATH_XBoxSet_H
2 #define MATH_XBoxSet_H
3 
4 #include "MATH_kBoxSet.h"
5 
17 class MATH_XBoxSet : public MATH_kBoxSet{
18  SP_OBJECT(MATH_XBoxSet);
19 
20  // ATTRIBUTES
21 
22 
23 private:
24 
25 
26 protected:
27  // METHODS
28 
29  // CONSTRUCTORS
30 
33  MATH_XBoxSet(void) {
34  setOrientation(0);
35  }
36 
37 
38  // DESTRUCTORS
39 
40 
43  virtual ~MATH_XBoxSet(void) {
44  }
45 
46 
47 private:
48 
49 public:
52  static inline SP::MATH_XBoxSet New() {
53  SP::MATH_XBoxSet p(new MATH_XBoxSet(),MATH_XBoxSet::Delete());
54  p->setThis(p);
55  p->setSymbol("XBOX");
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
static SP::MATH_XBoxSet New()
create a set leaf
Definition: MATH_XBoxSet.h:52
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
DEFINE_SPTR(MATH_XBoxSet)
void setOrientation(const int &k)
set orientation
Definition: MATH_kBoxSet.h:56
This class describes an X box set where P(x,y,z) is in XBox if x is in [xmin,xmax].
Definition: MATH_XBoxSet.h:17
virtual ~MATH_XBoxSet(void)
destroy
Definition: MATH_XBoxSet.h:43
MATH_XBoxSet(void)
create
Definition: MATH_XBoxSet.h:33
virtual SP::MATH_FunctionNode newInstance() const
create a node expression
Definition: MATH_XBoxSet.h:61
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106