C++ main module for gpm Package  1.0
MATH_SetTransformer.h
Go to the documentation of this file.
1 #ifndef MATH_SetTransformer_H
2 #define MATH_SetTransformer_H
3 
4 #include "MATH_FunctionNode.h"
5 
16  SP_OBJECT(MATH_SetTransformer);
17 
18  // ATTRIBUTES
19 public:
20 
21 private:
22 
23 
24 
25 protected:
26  // METHODS
27 
28  // CONSTRUCTORS
29 
32  MATH_SetTransformer(void);
33 
34 
35  // DESTRUCTORS
36 
37 
40  virtual ~MATH_SetTransformer(void);
41 
42 
43 private:
44 
45 public:
46 
47 
48 
49 
50  // SET methods
51 
52 public:
53  // OTHERS methods
54 
55 
56 
75  virtual int evaluate(const tFlag& action,MATH_Environment& symbols,MATH_Variable& var) const;
76 
77 
78 
85  virtual tBoolean inverseTransform(const int& nParameters,const double *parameters,double p[3],double* work) const=0;
92  virtual void transform(const int& nParameters,const double *parameters,double p[3],double* work) const=0;
93 
94 protected:
99  virtual void evaluateParameters(MATH_Environment& symbols,MATH_Variable& var,double *& parameters,int& nParameters) const=0;
100 };
101 
102 #endif
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_SVPTR(MATH_SetTransformer)
#define tBoolean
Definition: types.h:35
virtual ~MATH_SetTransformer(void)
destroy
Definition: MATH_SetTransformer.cpp:8
virtual tBoolean inverseTransform(const int &nParameters, const double *parameters, double p[3], double *work) const =0
inverse transformation of point p
DEFINE_SPTR(MATH_SetTransformer)
virtual int evaluate(const tFlag &action, MATH_Environment &symbols, MATH_Variable &var) const
void evaluate the expression
Definition: MATH_SetTransformer.cpp:11
This class decribes an environment class.
Definition: MATH_Environment.h:14
virtual void evaluateParameters(MATH_Environment &symbols, MATH_Variable &var, double *&parameters, int &nParameters) const =0
evaluate the parameters of the set
This class decribes a function.
Definition: MATH_FunctionNode.h:21
virtual void transform(const int &nParameters, const double *parameters, double p[3], double *work) const =0
transformation of point p
MATH_SetTransformer(void)
create
Definition: MATH_SetTransformer.cpp:5
#define tFlag
Definition: types.h:14