C++ main module for gpm Package  1.0
MATH_Full.h
Go to the documentation of this file.
1 #ifndef MATH_FullSet_H
2 #define MATH_FullSet_H
3 
4 #include "MATH_Set.h"
5 
23 class MATH_FullSet : public MATH_Set {
24  SP_OBJECT(MATH_FullSet);
25 
26  // ATTRIBUTES
27 public:
28  static const tFlag ALL;
29 private:
30  tFlag mOrientation;
31 
32 protected:
33  // METHODS
34 
35  // CONSTRUCTORS
36 
39  MATH_FullSet(void);
40 
41 
42 
43  // DESTRUCTORS
44 
45 
48  virtual ~MATH_FullSet(void);
49 
50 
51 private:
52 
53 public:
56  static inline SP::MATH_FullSet New() {
57  SP::MATH_FullSet p(new MATH_FullSet(),MATH_FullSet::Delete());
58  p->setThis(p);
59  p->setSymbol("FULL");
60  return p;
61  }
62 
63 
66  virtual SP::MATH_NodeExpression newInstance() const {
67  return New();
68  }
69  // SET methods
70 
71 
72 
73  // GET methods
74 
75 
76 
77 public:
78  // OTHERS methods
79 
80 
81 
88  virtual void computeBoundingBox(const int& nParameters,const tReal* parameters,tReal location[3],tReal size[3]) const;
89 
90 
97  virtual tBoolean isInside(const int& nParameters,const tReal* parameters,const tReal location[3]) const;
98 
99 protected:
107  virtual void evaluateArguments(const map<tString,double>& symbols,tReal location[3],tReal *& parameters,int& nParameters) const;
108 
109 
110 };
111 
112 #endif
virtual SP::MATH_NodeExpression newInstance() const
create a node expression
Definition: MATH_Full.h:66
static const tFlag ALL
Definition: MATH_Full.h:28
static SP::MATH_FullSet New()
create a set leaf
Definition: MATH_Full.h:56
virtual void evaluateArguments(const map< tString, double > &symbols, tReal location[3], tReal *&parameters, int &nParameters) const
evaluate the arguments
DEFINE_SPTR(MATH_FullSet)
#define tBoolean
Definition: types.h:35
MATH_FullSet(void)
create
Definition: MATH_FullSet.cpp:6
virtual tBoolean isInside(const int &nParameters, const tReal *parameters, const tReal location[3]) const
return true if the point at location is inside the set defined buy the parameters ...
virtual void computeBoundingBox(const int &nParameters, const tReal *parameters, tReal location[3], tReal size[3]) const
compute the bounding box of the set defined by the parameters
virtual ~MATH_FullSet(void)
destroy
Definition: MATH_FullSet.cpp:9
#define tReal
Definition: types.h:18
This class describes a disk set.
Definition: MATH_Full.h:23
This class describes a set.
Definition: MATH_Set.h:15
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106
#define tFlag
Definition: types.h:14