C++ main module for gpm Package  1.0
MATH_LinearTransform.h
Go to the documentation of this file.
1 #ifndef MATH_LinearTransform_H
2 #define MATH_LinearTransform_H
3 
4 #include "MATH_SetTransformer.h"
5 
6 #include "MATH_Set.h"
7 
19  SP_OBJECT(MATH_LinearTransform);
20 
21  // ATTRIBUTES
22 public:
23 
24 private:
25 
26 
27 
28 protected:
29  // METHODS
30 
31  // CONSTRUCTORS
32 
36 
37 
38  // DESTRUCTORS
39 
40 
43  virtual ~MATH_LinearTransform(void);
44 
45 
46 private:
47 
48 public:
49 
52  static inline SP::MATH_LinearTransform New() {
53  SP::MATH_LinearTransform p(new MATH_LinearTransform(),MATH_LinearTransform::Delete());
54  p->setThis(p);
55  return p;
56  }
57 
60  virtual SP::MATH_FunctionNode newInstance() const {
61  return New();
62  }
63 
64 
65  // SET methods
66 
67 public:
68  // OTHERS methods
69 
70 
71 
72 
73 
74 
75 
76 protected:
79  virtual void evaluateParameters(MATH_Environment& symbols,MATH_Variable& var,double *& parameters,int& nParameters) const;
80 
84  virtual tBoolean inverseTransform(const int& nParameters,const double *parameters,double p[3],double *work) const;
89  virtual void transform(const int& nParameters,const double *parameters,double p[3],double *work) const;
90 };
91 
92 #endif
virtual void transform(const int &nParameters, const double *parameters, double p[3], double *work) const
transformation of point p B+=A.P work is an array of size at least 3
Definition: MATH_LinearTransform.cpp:44
This class decribes a variable class for evaluation.
Definition: MATH_Variable.h:16
This class describes a set transformer application of a set in the form AX+B.
Definition: MATH_SetTransformer.h:15
#define tBoolean
Definition: types.h:35
virtual void evaluateParameters(MATH_Environment &symbols, MATH_Variable &var, double *&parameters, int &nParameters) const
evaluate the arguments
Definition: MATH_LinearTransform.cpp:10
virtual ~MATH_LinearTransform(void)
destroy
Definition: MATH_LinearTransform.cpp:7
virtual SP::MATH_FunctionNode newInstance() const
create a node expression
Definition: MATH_LinearTransform.h:60
This class describes a linear application of a set : AX+B where X in set.
Definition: MATH_LinearTransform.h:18
static SP::MATH_LinearTransform New()
create a node expression
Definition: MATH_LinearTransform.h:52
virtual tBoolean inverseTransform(const int &nParameters, const double *parameters, double p[3], double *work) const
inverse transformation of point p work is an array of size at least 3
Definition: MATH_LinearTransform.cpp:73
This class decribes an environment class.
Definition: MATH_Environment.h:14
DEFINE_SPTR(MATH_LinearTransform)
MATH_LinearTransform(void)
create
Definition: MATH_LinearTransform.cpp:3
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106